|
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.BSTokenLoginModule
public abstract class BSTokenLoginModule
Base class for processing and validating the X509Certificate
data.
LoginModule
Field Summary | |
---|---|
protected byte[] |
_binary
|
protected java.security.cert.X509Certificate |
_cert
|
protected javax.security.auth.callback.CallbackHandler |
_handler
|
protected SOAPMessageContext |
_messageContext
|
protected java.util.Map |
_options
|
protected java.util.Map |
_properties
|
protected java.util.Map |
_sharedState
|
protected javax.security.auth.Subject |
_subject
|
Constructor Summary | |
---|---|
BSTokenLoginModule()
|
Method Summary | |
---|---|
boolean |
abort()
Aborts the login process by removing the certificate data from the Subect. |
boolean |
commit()
Commits the login process by adding the certificate data into 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 |
Field Detail |
---|
protected javax.security.auth.Subject _subject
protected javax.security.auth.callback.CallbackHandler _handler
protected java.util.Map _sharedState
protected java.util.Map _options
protected byte[] _binary
protected java.util.Map _properties
protected SOAPMessageContext _messageContext
protected java.security.cert.X509Certificate _cert
Constructor Detail |
---|
public BSTokenLoginModule()
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(Subject, CallbackHandler, Map, 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 |