| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IdentityManager
An interface for providing identity management features.
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
| Method Summary | |
|---|---|
 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.  | 
| Field Detail | 
|---|
static final java.lang.String CLASS_VERSION
| Method Detail | 
|---|
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
SecurityExceptioncheckAuthenticationByPassword(java.lang.String, java.lang.String)
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()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||