|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.user.UserManager
@Deprecated public class UserManager
The UserManager is the OLD entry point to user-management in JIRA.
UserManager is a singleton and retrieved with getInstance();
All OSUser classes are deprecated since v4.3 and will be removed in v4.5. Developers should use one of the following User Management components for new work and convert existing code ASAP:
UserService
GroupService
UserManager
GroupManager
UserUtil
CrowdService
User
and Group
classes are deprecated and should be replaced with Crowd Embedded
User
and Group
interfaces.
Nested Class Summary | |
---|---|
class |
UserManager.Accessor
Deprecated. UserManager.Accessor is a gateway that can be passed from the UserManager to any other object that allows priveleged callbacks. |
Constructor Summary | |
---|---|
UserManager()
Deprecated. Don't use this constructor most of the time. |
Method Summary | |
---|---|
Group |
createGroup(String name)
Deprecated. Create a new Group with given name. |
User |
createUser(String name)
Deprecated. Create a new User with given name. |
void |
flushCaches()
Deprecated. This method will flush all of the provider caches (if they are caching). |
UserManager.Accessor |
getAccessor()
Deprecated. |
Collection<AccessProvider> |
getAccessProviders()
Deprecated. Get the current AccessProviders |
Collection<CredentialsProvider> |
getCredentialsProviders()
Deprecated. Get the current CredentialsProviders |
Group |
getGroup(String name)
Deprecated. Return Group with given name. |
List<Group> |
getGroups()
Deprecated. Return all known Groups from all AccessProviders that allow listing. |
static UserManager |
getInstance()
Deprecated. Entry-point to Singleton instance |
Collection<ProfileProvider> |
getProfileProviders()
Deprecated. Get the current ProfileProviders |
User |
getUser(String name)
Deprecated. Return user with given name. |
List<User> |
getUsers()
Deprecated. Return all known Users from all CredentialProviders that allow listing. |
static void |
reset()
Deprecated. For testing only |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserManager()
getInstance()
.
Method Detail |
---|
public static void reset()
public static UserManager getInstance()
public UserManager.Accessor getAccessor()
public Collection<AccessProvider> getAccessProviders()
public Collection<CredentialsProvider> getCredentialsProviders()
public Collection<ProfileProvider> getProfileProviders()
public List<Group> getGroups()
public List<User> getUsers()
public Group getGroup(String name) throws EntityNotFoundException
EntityNotFoundException
public User getUser(String name) throws EntityNotFoundException
EntityNotFoundException
public Group createGroup(String name) throws DuplicateEntityException, ImmutableException
DuplicateEntityException
ImmutableException
public User createUser(String name) throws DuplicateEntityException, ImmutableException
DuplicateEntityException
ImmutableException
public void flushCaches()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |