|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.wssecurity.auth.module.IDAssertionUsernameLoginModule
public class IDAssertionUsernameLoginModule
A LoginModule
implementation for identity assertion (IDAssertion) using a username.
LoginModule
Constructor Summary | |
---|---|
IDAssertionUsernameLoginModule()
|
Method Summary | |
---|---|
boolean |
abort()
Aborts the login process by removing credentials from the Subect. |
boolean |
commit()
Commits the login process by adding the credentials to the Subject. |
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler handler,
java.util.Map sharedState,
java.util.Map options)
Intializes this LoginModule. |
boolean |
login()
Logs in to the login process. |
boolean |
logout()
Logs out the login process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDAssertionUsernameLoginModule()
Method Detail |
---|
public void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler, java.util.Map sharedState, java.util.Map options)
initialize
in interface javax.security.auth.spi.LoginModule
subject
- The Subject
to be authenticated.handler
- The CallbackHandler
used to gather login data from the user.sharedState
- State data shared between login modules.options
- A Map
of key-value pairs specifying configuration options for this login module.LoginModule.initialize(javax.security.auth.Subject,
javax.security.auth.callback.CallbackHandler, java.util.Map, java.util.Map)
public boolean login() throws javax.security.auth.login.LoginException
login
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
- if the login failsLoginModule.login()
public boolean commit() throws javax.security.auth.login.LoginException
commit
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
- if the commit failsLoginModule.commit()
public boolean abort() throws javax.security.auth.login.LoginException
abort
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
- if the abort failsLoginModule.abort()
public boolean logout() throws javax.security.auth.login.LoginException
logout
in interface javax.security.auth.spi.LoginModule
javax.security.auth.login.LoginException
- if the abort failsLoginModule.logout()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |