Interface UserManager
public interface UserManager
Implementations of this interface supply the function of User Manager to an Ebase
 system.
- 
Method SummaryModifier and Type Method Description booleanauthenticate(java.lang.String userId, java.lang.String password)Answers whether the userid/password combination is validvoidchangePassword(java.lang.String userId, java.lang.String newPassword)Change a password to the specified new valuevoidcompleteSubject(javax.security.auth.Subject subject, java.lang.String userId)Returns a Subject object containing a number of Principal objects as follows:
 - UserPrincipal representing the userid
 - RolePrincipal for each role associated with the uservoidinitialise(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)Called at system start up to initialise any required resourcesvoidlogout(java.lang.String userId)Called to indicate that the user is no longer connected to the system and any resources can therefore be released.booleansupportsChangePassword()Answers the question whether the implementation supports changing of passwords
- 
Method Details- 
authenticateboolean authenticate(java.lang.String userId, java.lang.String password) throws com.ebasetech.ufs.security.authentication.AuthenticationExceptionAnswers whether the userid/password combination is valid- Throws:
- com.ebasetech.ufs.security.authentication.AuthenticationException- if an error occurs calling the backend user registry system
 
- 
completeSubjectvoid completeSubject(javax.security.auth.Subject subject, java.lang.String userId) throws com.ebasetech.ufs.security.authentication.AuthenticationExceptionReturns a Subject object containing a number of Principal objects as follows:
 - UserPrincipal representing the userid
 - RolePrincipal for each role associated with the user- Throws:
- com.ebasetech.ufs.security.authentication.AuthenticationException- if an error occurs calling the backend user registry system
 
- 
logoutvoid logout(java.lang.String userId)Called to indicate that the user is no longer connected to the system and any resources can therefore be released.
- 
initialisevoid initialise(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)Called at system start up to initialise any required resources
- 
supportsChangePasswordboolean supportsChangePassword()Answers the question whether the implementation supports changing of passwords
- 
changePasswordvoid changePassword(java.lang.String userId, java.lang.String newPassword) throws com.ebasetech.ufs.security.authentication.AuthenticationExceptionChange a password to the specified new value- Throws:
- com.ebasetech.ufs.security.authentication.AuthenticationException- if an error occurs calling the backend user registry system
 
 
-