@Service(value="userManager#archiva") public class ArchivaConfigurableUsersManager extends org.apache.archiva.redback.users.AbstractUserManager
Constructor and Description |
---|
ArchivaConfigurableUsersManager() |
Modifier and Type | Method and Description |
---|---|
org.apache.archiva.redback.users.User |
addUser(org.apache.archiva.redback.users.User user) |
void |
addUserUnchecked(org.apache.archiva.redback.users.User user) |
org.apache.archiva.redback.users.User |
createGuestUser() |
org.apache.archiva.redback.users.User |
createUser(String username,
String fullName,
String emailAddress) |
org.apache.archiva.redback.users.UserQuery |
createUserQuery() |
void |
deleteUser(String username) |
void |
eraseDatabase() |
org.apache.archiva.redback.users.User |
findUser(String username) |
org.apache.archiva.redback.users.User |
findUser(String username,
boolean useCache) |
List<org.apache.archiva.redback.users.User> |
findUsersByEmailKey(String emailKey,
boolean orderAscending) |
List<org.apache.archiva.redback.users.User> |
findUsersByFullNameKey(String fullNameKey,
boolean orderAscending) |
List<org.apache.archiva.redback.users.User> |
findUsersByQuery(org.apache.archiva.redback.users.UserQuery query) |
List<org.apache.archiva.redback.users.User> |
findUsersByUsernameKey(String usernameKey,
boolean orderAscending) |
String |
getDescriptionKey() |
org.apache.archiva.redback.users.User |
getGuestUser() |
String |
getId() |
List<org.apache.archiva.redback.users.User> |
getUsers() |
List<org.apache.archiva.redback.users.User> |
getUsers(boolean orderAscending) |
void |
initialize() |
boolean |
isFinalImplementation() |
boolean |
isReadOnly() |
void |
setUserManagerImpl(org.apache.archiva.redback.users.UserManager userManagerImpl) |
org.apache.archiva.redback.users.User |
updateUser(org.apache.archiva.redback.users.User user) |
org.apache.archiva.redback.users.User |
updateUser(org.apache.archiva.redback.users.User user,
boolean passwordChangeRequired) |
boolean |
userExists(String userName) |
protected boolean |
useUsersCache() |
public ArchivaConfigurableUsersManager()
@PostConstruct public void initialize()
initialize
in interface org.apache.archiva.redback.users.UserManager
initialize
in class org.apache.archiva.redback.users.AbstractUserManager
protected boolean useUsersCache()
public org.apache.archiva.redback.users.User addUser(org.apache.archiva.redback.users.User user) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public void addUserUnchecked(org.apache.archiva.redback.users.User user) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public org.apache.archiva.redback.users.User createUser(String username, String fullName, String emailAddress) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public org.apache.archiva.redback.users.UserQuery createUserQuery()
public void deleteUser(String username) throws org.apache.archiva.redback.users.UserNotFoundException, org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserNotFoundException
org.apache.archiva.redback.users.UserManagerException
public void eraseDatabase()
public org.apache.archiva.redback.users.User findUser(String username, boolean useCache) throws org.apache.archiva.redback.users.UserNotFoundException, org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserNotFoundException
org.apache.archiva.redback.users.UserManagerException
public org.apache.archiva.redback.users.User findUser(String username) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public org.apache.archiva.redback.users.User getGuestUser() throws org.apache.archiva.redback.users.UserNotFoundException, org.apache.archiva.redback.users.UserManagerException
getGuestUser
in interface org.apache.archiva.redback.users.UserManager
getGuestUser
in class org.apache.archiva.redback.users.AbstractUserManager
org.apache.archiva.redback.users.UserNotFoundException
org.apache.archiva.redback.users.UserManagerException
public List<org.apache.archiva.redback.users.User> findUsersByEmailKey(String emailKey, boolean orderAscending) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public List<org.apache.archiva.redback.users.User> findUsersByFullNameKey(String fullNameKey, boolean orderAscending) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public List<org.apache.archiva.redback.users.User> findUsersByQuery(org.apache.archiva.redback.users.UserQuery query) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public List<org.apache.archiva.redback.users.User> findUsersByUsernameKey(String usernameKey, boolean orderAscending) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public List<org.apache.archiva.redback.users.User> getUsers() throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public List<org.apache.archiva.redback.users.User> getUsers(boolean orderAscending) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public boolean isReadOnly()
public org.apache.archiva.redback.users.User updateUser(org.apache.archiva.redback.users.User user) throws org.apache.archiva.redback.users.UserNotFoundException, org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserNotFoundException
org.apache.archiva.redback.users.UserManagerException
public org.apache.archiva.redback.users.User updateUser(org.apache.archiva.redback.users.User user, boolean passwordChangeRequired) throws org.apache.archiva.redback.users.UserNotFoundException, org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserNotFoundException
org.apache.archiva.redback.users.UserManagerException
public void setUserManagerImpl(org.apache.archiva.redback.users.UserManager userManagerImpl)
public org.apache.archiva.redback.users.User createGuestUser() throws org.apache.archiva.redback.users.UserManagerException
createGuestUser
in interface org.apache.archiva.redback.users.UserManager
createGuestUser
in class org.apache.archiva.redback.users.AbstractUserManager
org.apache.archiva.redback.users.UserManagerException
public boolean userExists(String userName) throws org.apache.archiva.redback.users.UserManagerException
org.apache.archiva.redback.users.UserManagerException
public boolean isFinalImplementation()
isFinalImplementation
in interface org.apache.archiva.redback.users.UserManager
isFinalImplementation
in class org.apache.archiva.redback.users.AbstractUserManager
public String getDescriptionKey()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.