com.ibm.wsspi.wssecurity.auth.module
Class X509LoginModule
- java.lang.Object
com.ibm.wsspi.wssecurity.auth.module.BSTokenLoginModule
com.ibm.wsspi.wssecurity.auth.module.X509LoginModule
All implemented interfaces:
javax.security.auth.spi.LoginModule
- public class X509LoginModule
- extends BSTokenLoginModule
X509Certificate
data. This login module
extends com.ibm.wsspi.wssecurity.auth.module.BSTokenLoginModule
.
See Also:
BSTokenLoginModule
,
LoginModule
Field Summary
Modifier and Type | Field and Description |
---|---|
|
tc
|
Fields inherited from class com.ibm.wsspi.wssecurity.auth.module.BSTokenLoginModule |
---|
_binary, _cert, _handler, _messageContext, _options, _properties, _sharedState, _subject |
Constructor Summary
Constructor and Description |
---|
X509LoginModule()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
login()
Creates X509Certificate object and check its validity.
|
Methods inherited from class com.ibm.wsspi.wssecurity.auth.module.BSTokenLoginModule |
---|
abort, commit, initialize, logout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
tc
- protected static final com.ibm.xml.soapsec.util.TraceComponent tc
Constructor Detail
X509LoginModule
- public X509LoginModule()
Method Detail
login
- public boolean login()
- throws javax.security.auth.login.LoginException
Creates X509Certificate object and check its validity.
Specified by:
login
in interface javax.security.auth.spi.LoginModule
Overrides:
login
in class BSTokenLoginModule
Returns:
true if the login is successful, false otherwise
Throws:
javax.security.auth.login.LoginException
- if the login fails See Also:
LoginModule.login()