|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.integration.atlassianuser.CrowdUserManager
public class CrowdUserManager
| Constructor Summary | |
|---|---|
CrowdUserManager()
|
|
| Method Summary | |
|---|---|
void |
alterPassword(User user,
String password)
Alters the password on the Crowd security server. |
User |
createUser(String name)
Creates a user through the Crowd security server. |
protected List |
findAllPrincipalNames()
|
Repository |
getRepository()
Returns information about the respository implementation. |
Repository |
getRepository(Entity entity)
Returns information about the respository for a specific entity. |
User |
getUser(String name)
Gets a user from the Crowd security server. |
Pager |
getUserNames()
Gets the username for the integrated application. |
Pager |
getUsers()
Gets the users for the integrated application. |
void |
init(HashMap args)
Used for configuration by a config. |
boolean |
isCreative()
|
boolean |
isReadOnly(User user)
Determins if the user is read only. |
void |
removeUser(User user)
Removes a user from the Crowd security server. |
void |
saveUser(User user)
Updates the Principal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CrowdUserManager()
| Method Detail |
|---|
public Pager getUsers()
throws EntityException
Pager holding all users being managed.
EntityException
public Pager getUserNames()
throws EntityException
Pager holding the names of all users being managed.
EntityException
public User getUser(String name)
throws EntityException
name - The username to lookup.
null or a User if one could be found.
EntityException - - representing a system error.
public User createUser(String name)
throws EntityException
name - The username.
User object.
EntityException - - representing a system error
UnsupportedOperationException - - if UserManager#isCreative() returns false.
public void alterPassword(User user,
String password)
throws EntityException
user - The user.password - The new password.
EntityException - - representing a system error.
UnsupportedOperationException - - if UserManager#isCreative() returns false.
public void saveUser(User user)
throws EntityException
user - The user to update.
EntityException - - representing a system error.
UnsupportedOperationException - - if UserManager#isCreative() returns false.
public void removeUser(User user)
throws EntityException
user - The user to remove.
EntityException - - representing a system error.
UnsupportedOperationException - - if UserManager#isReadOnly(User) returns true.
public boolean isReadOnly(User user)
throws EntityException
user - The user to check.
com.atlassian.user.repository.Repository),
false indicates that the storage system will save changes or that this UserManager does not
know about the User.
EntityExceptionpublic Repository getRepository()
public Repository getRepository(Entity entity)
throws EntityException
entity - The entity.
EntityExceptionpublic boolean isCreative()
public void init(HashMap args)
throws ConfigurationException
args -
ConfigurationException
protected List findAllPrincipalNames()
throws InvalidAuthorizationTokenException,
RemoteException
InvalidAuthorizationTokenException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||