|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.security.jaas.NamedUPCredentialLoginModule
@Deprecated public class NamedUPCredentialLoginModule
Inserts named 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.
NamedUsernamePasswordCredentialLoginModule
Field Summary | |
---|---|
static String |
CREDENTIAL_NAME
Deprecated. |
static List<String> |
supportedOptions
Deprecated. |
Constructor Summary | |
---|---|
NamedUPCredentialLoginModule()
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 |
Field Detail |
---|
public static final String CREDENTIAL_NAME
public static final List<String> supportedOptions
Constructor Detail |
---|
public NamedUPCredentialLoginModule()
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 LoginModule
LoginException
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |