|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthenticationComponent
| Nested Class Summary | |
|---|---|
static class |
AuthenticationComponent.UserNameValidationMode
|
| Method Summary | |
|---|---|
net.sf.acegisecurity.Authentication |
authenticate(net.sf.acegisecurity.Authentication token)
Authenticate using a token |
void |
authenticate(java.lang.String userName,
char[] password)
Authenticate |
void |
clearCurrentSecurityContext()
Remove the current security information |
net.sf.acegisecurity.Authentication |
getCurrentAuthentication()
|
java.lang.String |
getCurrentUserName()
Get the current user name. |
java.lang.String |
getGuestUserName()
Get the name of the guest user |
java.lang.String |
getMD4HashedPassword(java.lang.String userName)
Get the MD4 password hash, as required by NTLM based authentication methods. |
NTLMMode |
getNTLMMode()
Get the enum that describes NTLM integration |
java.lang.String |
getSystemUserName()
Get the name of the system user |
boolean |
guestUserAuthenticationAllowed()
True if Guest user authentication is allowed, false otherwise |
boolean |
isSystemUserName(java.lang.String userName)
True if this is the System user ? |
net.sf.acegisecurity.Authentication |
setCurrentAuthentication(net.sf.acegisecurity.Authentication authentication)
Explicitly set the current suthentication. |
net.sf.acegisecurity.Authentication |
setCurrentUser(java.lang.String userName)
Explicitly set the current user to be authenticated. |
net.sf.acegisecurity.Authentication |
setCurrentUser(java.lang.String userName,
AuthenticationComponent.UserNameValidationMode validationMode)
Explicitly set the current user to be authenticated. |
net.sf.acegisecurity.Authentication |
setGuestUserAsCurrentUser()
Set the guest user as the current user. |
net.sf.acegisecurity.Authentication |
setSystemUserAsCurrentUser()
Set the system user as the current user. |
| Method Detail |
|---|
void authenticate(java.lang.String userName,
char[] password)
throws AuthenticationException
AuthenticationException
net.sf.acegisecurity.Authentication authenticate(net.sf.acegisecurity.Authentication token)
throws AuthenticationException
token - Authentication
AuthenticationExceptionnet.sf.acegisecurity.Authentication setCurrentUser(java.lang.String userName)
net.sf.acegisecurity.Authentication setCurrentUser(java.lang.String userName,
AuthenticationComponent.UserNameValidationMode validationMode)
void clearCurrentSecurityContext()
net.sf.acegisecurity.Authentication setCurrentAuthentication(net.sf.acegisecurity.Authentication authentication)
cleared.
authentication - the current authentication (may be null).
net.sf.acegisecurity.Authentication getCurrentAuthentication()
throws AuthenticationException
AuthenticationExceptionnet.sf.acegisecurity.Authentication setSystemUserAsCurrentUser()
net.sf.acegisecurity.Authentication setGuestUserAsCurrentUser()
boolean guestUserAuthenticationAllowed()
java.lang.String getSystemUserName()
boolean isSystemUserName(java.lang.String userName)
java.lang.String getGuestUserName()
java.lang.String getCurrentUserName()
throws AuthenticationException
AuthenticationExceptionNTLMMode getNTLMMode()
java.lang.String getMD4HashedPassword(java.lang.String userName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||