public interface IdentityManager
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
assumeIdentityById(java.lang.String pId)
Loads the indicated user identity into the session. 
 | 
boolean | 
assumeIdentityByLogin(java.lang.String pLogin)
Loads the indicated user identity into the session. 
 | 
boolean | 
authenticateByPassword(java.lang.String pLogin,
                      java.lang.String pPassword)
Authenticates a user with the identity and password that are provided. 
 | 
boolean | 
checkAuthenticationByPassword(java.lang.String pLogin,
                             java.lang.String pPassword)
Performs an authentication test on a login name and password, but
 does not cause the assumption of the identity that is being
 authenticated if successful. 
 | 
boolean | 
checkAuthenticationByPassword(java.lang.String pLogin,
                             java.lang.String pPassword,
                             java.lang.Object pHashkey)
Performs an authentication test on a login name and password, but
 does not cause the assumption of the identity that is being
 authenticated if successful. 
 | 
User | 
getUser()
Returns the current User. 
 | 
UserAuthority | 
getUserAuthority()
Returns the user authority that is used for authenticating a user
 and/or determining their identity. 
 | 
void | 
invalidate()
Causes invalidation of any cached identity information (eg roles)
 of the current user, if appropriate. 
 | 
boolean | 
isLoggedIn()
Returns true of the user is properly logged in, false otherwise. 
 | 
void | 
logout()
Clears the user identity, effectively logging them out. 
 | 
static final java.lang.String CLASS_VERSION
User getUser()
UserAuthority getUserAuthority()
boolean assumeIdentityById(java.lang.String pId)
boolean assumeIdentityByLogin(java.lang.String pLogin)
boolean authenticateByPassword(java.lang.String pLogin,
                               java.lang.String pPassword)
                        throws SecurityException
boolean checkAuthenticationByPassword(java.lang.String pLogin,
                                      java.lang.String pPassword)
                               throws SecurityException
SecurityExceptionauthenticateByPassword(java.lang.String, java.lang.String)boolean checkAuthenticationByPassword(java.lang.String pLogin,
                                      java.lang.String pPassword,
                                      java.lang.Object pHashkey)
                               throws SecurityException
SecurityExceptionauthenticateByPassword(java.lang.String, java.lang.String)void logout()
boolean isLoggedIn()
void invalidate()