|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.extras.jaas.loginmodule.DefaultLoginModule
| Constructor Summary | |
DefaultLoginModule()
|
|
| Method Summary | |
boolean |
abort()
Abort if authentication fails |
boolean |
commit()
Commit if authentication succeeds, otherwise return false |
List |
getCredentialList(String credentials)
This method parses the credentials string and populates the credentials list against which the username and password submitted with the request will be checked |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
Initialises the callbackHandler, the credentials and the credentials list |
boolean |
login()
This method attempts to login the user by checking his credentials against those of the authorised users. |
boolean |
logout()
Returns true when authentication succeeds or false when it fails |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultLoginModule()
| Method Detail |
public final boolean abort()
throws LoginException
abort in interface LoginModuleLoginException
public final boolean commit()
throws LoginException
commit in interface LoginModuleLoginException
public final void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
initialize in interface LoginModulesubject - callbackHandler - sharedState - options -
public final boolean login()
throws LoginException
login in interface LoginModuleLoginException - This is thrown either when there is no callback Handler
or else when the user fails to be authenticatedpublic final boolean logout()
logout in interface LoginModulepublic final List getCredentialList(String credentials)
credentials -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||