com.ibm.wsspi.wssecurity.auth.module

Class X509LoginModule

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.auth.module.BSTokenLoginModule
  3. extended bycom.ibm.wsspi.wssecurity.auth.module.X509LoginModule
All implemented interfaces:
javax.security.auth.spi.LoginModule

  1. public class X509LoginModule
  2. extends BSTokenLoginModule
Processes and validates the simple type 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
  1. protected static
  2. com.ibm.xml.soapsec.util.TraceComponent
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
  1. boolean
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

  1. protected static final com.ibm.xml.soapsec.util.TraceComponent tc

Constructor Detail

X509LoginModule

  1. public X509LoginModule()

Method Detail

login

  1. public boolean login()
  2. throws javax.security.auth.login.LoginException
Creates X509Certificate object and check its validity.
Specified by:
login in interface javax.security.auth.spi.LoginModule
Overrides:
Returns:
true if the login is successful, false otherwise
Throws:
javax.security.auth.login.LoginException - if the login fails
See Also:
LoginModule.login()