com.ibm.wsspi.wssecurity.auth.module

Class IDAssertionLoginModule

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.auth.module.WSSecurityMappingModule
  3. extended bycom.ibm.wsspi.wssecurity.auth.module.IDAssertionLoginModule
All implemented interfaces:
Constants, javax.security.auth.spi.LoginModule

Deprecated.
  1. public class IDAssertionLoginModule
  2. extends WSSecurityMappingModule
  3. implements javax.security.auth.spi.LoginModule
A LoginModule implementation for identity assertion (IDAssertion).
See Also:
LoginModule

Field Summary

Fields inherited from class com.ibm.wsspi.wssecurity.auth.module.WSSecurityMappingModule
wscred, wsprin
Fields inherited from interface com.ibm.wsspi.wssecurity.Constants
WSSECURITY_ADD_NONCE, WSSECURITY_ADD_TIMESTAMP, WSSECURITY_BASIC_AUTH_TOKEN, WSSECURITY_CALLER_TOKEN_LN, WSSECURITY_CALLER_TOKEN_NS, WSSECURITY_CBIND, WSSECURITY_CDD, WSSECURITY_CHECK_HMAC_OUTPUT_LENGTH, WSSECURITY_CRED, WSSECURITY_DATA_ENCRYPTION_ALGORITHM, WSSECURITY_DAYS_BEFORE_EXPIRE_WARNING_KEYS, WSSECURITY_DECOUPLE_TOKEN, WSSECURITY_DIGEST_ALGORITHM, WSSECURITY_DN, WSSECURITY_GET_MUSTUNDERSTAND, WSSECURITY_INCLUSIVE_NAMESPACES, WSSECURITY_INITIAL_SENDER_CERT, WSSECURITY_INITIAL_SENDER_ID, WSSECURITY_ISSUER_NAME, WSSECURITY_ISSUER_SERIAL, WSSECURITY_KEY_EMBID, WSSECURITY_KEY_EMIT_ENCODING_TYPE, WSSECURITY_KEY_ENCODING, WSSECURITY_KEY_ENCODING_LN, WSSECURITY_KEY_ENCODING_NS, WSSECURITY_KEY_ENCRYPTION_ALGORITHM, WSSECURITY_KEY_ID, WSSECURITY_KEY_IDTYPE, WSSECURITY_KEY_IDTYPE_LN, WSSECURITY_KEY_IDTYPE_NS, WSSECURITY_KEY_ISSUERNAME, WSSECURITY_KEY_ISSUERSERIAL, WSSECURITY_KEY_NAME, WSSECURITY_KEY_NAMEREF, WSSECURITY_KEY_REFERENCE, WSSECURITY_KEY_TYPE, WSSECURITY_KEY_VALUETYPE, WSSECURITY_KEY_VALUETYPE_LN, WSSECURITY_KEY_VALUETYPE_NS, WSSECURITY_KEYINFO_TOKEN_REFERENCE, WSSECURITY_KEYINFO_TYPE, WSSECURITY_MESSAGE_CONTEXT, WSSECURITY_NONCE_CACHE_TIMEOUT, WSSECURITY_NONCE_CLOCK_SKEW, WSSECURITY_NONCE_MAX_AGE, WSSECURITY_RSAOAEP_DIGEST_METHOD, WSSECURITY_RSAOAEP_PARAMS, WSSECURITY_SET_MUSTUNDERSTAND, WSSECURITY_SIGNATURE_ALGORITHM, WSSECURITY_SUBJECT, WSSECURITY_TIMESTAMP_CLOCK_SKEW, WSSECURITY_TIMESTAMP_DIALECT, WSSECURITY_TIMESTAMP_KEYWORD, WSSECURITY_TIMESTAMP_MAX_AGE, WSSECURITY_TIMESTAMP_SOAPHEADER, WSSECURITY_TIMESTAMP_TIMEOUT, WSSECURITY_TOKEN_LOGININFO, WSSECURITY_TOKEN_PROPERGATION, WSSECURITY_TOKEN_WSSSUBJECT, WSSECURITY_USE_IDASSERTION, WSSECURITY_USE_RUNASIDENTITY, WSSECURITY_VERIFY_NONCE, WSSECURITY_VERIFY_TIMESTAMP, WSSECURITY_WSSCONSUMER_CONFIG_KEY, WSSECURITY_WSSGENERATOR_CONFIG_KEY, WSSECURITY_XPATH_EXPRESSION, WSSECURITY_XPATH2_EXPRESSION, WSSECURITY_XPATH2_FILTER, WSSECURITY_XPATH2_ORDER

Constructor Summary

Constructor and Description
IDAssertionLoginModule()
Deprecated.

Method Summary

Modifier and Type Method and Description
  1. boolean
abort()
Deprecated. Aborts the login process by removing credentials from the Subect.
  1. boolean
commit()
Deprecated. Commits the login process by adding the credentials to the Subject.
  1. void
initialize(javax.security.auth.Subject subject,javax.security.auth.callback.CallbackHandler callbackHandler,java.util.Map sharedState,java.util.Map options)
Deprecated. Intializes this LoginModule.
  1. boolean
login()
Deprecated. Logs in to the login process.
  1. boolean
logout()
Deprecated. 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

IDAssertionLoginModule

  1. public IDAssertionLoginModule()
Deprecated.

Method Detail

initialize

  1. public void initialize(javax.security.auth.Subject subject,
  2. javax.security.auth.callback.CallbackHandler callbackHandler,
  3. java.util.Map sharedState,
  4. java.util.Map options)
Deprecated.
Intializes this LoginModule.
Specified by:
initialize in interface javax.security.auth.spi.LoginModule
Overrides:
Parameters:
subject - The Subject to be authenticated.
callbackHandler - 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.
See Also:
LoginModule.initialize(Subject, CallbackHandler, Map, Map)

login

  1. public boolean login()
  2. throws javax.security.auth.login.LoginException
Deprecated.
Logs in to the login process.
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()

commit

  1. public boolean commit()
  2. throws javax.security.auth.login.LoginException
Deprecated.
Commits the login process by adding the credentials to the Subject.
Specified by:
commit in interface javax.security.auth.spi.LoginModule
Overrides:
Returns:
true if the commit is successful, false otherwise
Throws:
javax.security.auth.login.LoginException - if the commit fails
See Also:
LoginModule.commit()

abort

  1. public boolean abort()
  2. throws javax.security.auth.login.LoginException
Deprecated.
Aborts the login process by removing credentials from the Subect.
Specified by:
abort in interface javax.security.auth.spi.LoginModule
Overrides:
Returns:
true if the abort was successful, false otherwise
Throws:
javax.security.auth.login.LoginException - if the abort fails
See Also:
LoginModule.abort()

logout

  1. public boolean logout()
  2. throws javax.security.auth.login.LoginException
Deprecated.
Logs out the login process.
Specified by:
logout in interface javax.security.auth.spi.LoginModule
Overrides:
Returns:
true if the logout is successful, false otherwise
Throws:
javax.security.auth.login.LoginException - if the abort fails
See Also:
LoginModule.logout()