public interface UserManager<S extends ServerContext> extends UserAuthenticator, PermissionControlled
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ADMIN_USERNAME |
static java.lang.String |
DEFAULT_PASSWORD_ADMIN |
static java.lang.String |
DEFAULT_PASSWORD_ESPRIT |
Modifier and Type | Method and Description |
---|---|
void |
deleteUser(SessionId caller,
User user) |
User |
findUserById(int uid) |
User |
findUserByName(java.lang.String userName) |
int |
getUserCount() |
UserId[] |
getUserIds() |
User[] |
getUsers(SessionId sessionId) |
void |
init()
Loads all users from the underlying persistent store
|
User |
insertUser(SessionId caller,
User user)
Note that the underlying
UserManager implementation will return a
server specific user subclass. |
boolean |
isEmptyPasswordAllowed()
Tells whether a user is allowed to have no password
|
void |
updateUser(SessionId caller,
User user) |
changePassword, findUserForLogin, resetPassword, setDefaultUserPassword
getPermissionDefinition
static final java.lang.String DEFAULT_ADMIN_USERNAME
static final java.lang.String DEFAULT_PASSWORD_ADMIN
static final java.lang.String DEFAULT_PASSWORD_ESPRIT
void init() throws java.lang.Exception
java.lang.Exception
int getUserCount()
User[] getUsers(SessionId sessionId) throws PermissionException
PermissionException
UserId[] getUserIds()
User findUserByName(java.lang.String userName)
User findUserById(int uid)
User insertUser(SessionId caller, User user) throws java.lang.Exception
UserManager
implementation will return a
server specific user subclass.java.lang.Exception
void updateUser(SessionId caller, User user) throws java.lang.Exception
java.lang.Exception
void deleteUser(SessionId caller, User user) throws java.lang.Exception
java.lang.Exception
boolean isEmptyPasswordAllowed()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.