|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.security.jaas.UPCredentialLoginModule
@Deprecated public class UPCredentialLoginModule
Inserts Username/Password credential into private credentials of Subject.
If either the username or password is not passed in the callback handler, then the credential is not placed into the Subject. This login module does not check credentials so it should never be able to cause a login to succeed. Therefore the lifecycle methods must return false to indicate success or throw a LoginException to indicate failure.
GeronimoPasswordCredentialLoginModule| Constructor Summary | |
|---|---|
UPCredentialLoginModule()
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
abort()
Deprecated. |
boolean |
commit()
Deprecated. |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
Deprecated. |
boolean |
login()
Deprecated. |
boolean |
logout()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UPCredentialLoginModule()
| Method Detail |
|---|
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
initialize in interface LoginModule
public boolean login()
throws LoginException
login in interface LoginModuleLoginException
public boolean commit()
throws LoginException
commit in interface LoginModuleLoginException
public boolean abort()
throws LoginException
abort in interface LoginModuleLoginException
public boolean logout()
throws LoginException
logout in interface LoginModuleLoginException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||