@Deprecated public final class EmbeddedCrowdUserManager extends Object implements com.atlassian.user.UserManager
Constructor and Description |
---|
EmbeddedCrowdUserManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
alterPassword(com.atlassian.user.User user,
String password)
Deprecated.
|
com.atlassian.user.User |
createUser(String username)
Deprecated.
|
com.atlassian.user.User |
createUser(com.atlassian.user.User userTemplate,
com.atlassian.user.security.password.Credential credential)
Deprecated.
|
com.atlassian.user.repository.RepositoryIdentifier |
getIdentifier()
Deprecated.
|
com.atlassian.user.repository.RepositoryIdentifier |
getRepository(com.atlassian.user.Entity entity)
Deprecated.
|
com.atlassian.user.User |
getUser(String username)
Deprecated.
|
com.atlassian.user.search.page.Pager<String> |
getUserNames()
Deprecated.
|
com.atlassian.user.search.page.Pager<com.atlassian.user.User> |
getUsers()
Deprecated.
|
boolean |
isCreative()
Deprecated.
|
boolean |
isReadOnly(com.atlassian.user.User user)
Deprecated.
|
void |
removeUser(com.atlassian.user.User user)
Deprecated.
|
void |
saveUser(com.atlassian.user.User user)
Deprecated.
|
public EmbeddedCrowdUserManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier, com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
getIdentifier
in interface com.atlassian.user.EntityManager
public com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity)
getRepository
in interface com.atlassian.user.EntityManager
public boolean isCreative()
isCreative
in interface com.atlassian.user.EntityManager
public com.atlassian.user.search.page.Pager<com.atlassian.user.User> getUsers()
getUsers
in interface com.atlassian.user.UserManager
public com.atlassian.user.search.page.Pager<String> getUserNames()
getUserNames
in interface com.atlassian.user.UserManager
public com.atlassian.user.User getUser(String username)
getUser
in interface com.atlassian.user.UserManager
public com.atlassian.user.User createUser(String username) throws com.atlassian.user.EntityException
createUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
public com.atlassian.user.User createUser(com.atlassian.user.User userTemplate, com.atlassian.user.security.password.Credential credential) throws com.atlassian.user.EntityException, IllegalArgumentException
createUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
IllegalArgumentException
public void alterPassword(com.atlassian.user.User user, String password) throws com.atlassian.user.EntityException
alterPassword
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
public void saveUser(com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException
saveUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
IllegalArgumentException
public void removeUser(com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException
removeUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
IllegalArgumentException
public boolean isReadOnly(com.atlassian.user.User user)
isReadOnly
in interface com.atlassian.user.UserManager
Copyright © 2003–2021 Atlassian. All rights reserved.