com.ibm.wsspi.wssecurity.auth.module
Class IDAssertionLoginModule
- java.lang.Object
com.ibm.wsspi.wssecurity.auth.module.WSSecurityMappingModule
com.ibm.wsspi.wssecurity.auth.module.IDAssertionLoginModule
All implemented interfaces:
Constants, javax.security.auth.spi.LoginModule
Deprecated.
- public class IDAssertionLoginModule
- extends WSSecurityMappingModule
- implements javax.security.auth.spi.LoginModule
LoginModule implementation for identity assertion (IDAssertion).
See Also:
LoginModuleField Summary
| Fields inherited from class com.ibm.wsspi.wssecurity.auth.module.WSSecurityMappingModule |
|---|
wscred, wsprin |
Constructor Summary
| Constructor and Description |
|---|
IDAssertionLoginModule()
Deprecated.
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abort()
Deprecated. Aborts the login process by removing credentials from the Subect.
|
|
commit()
Deprecated. Commits the login process by adding the credentials to the Subject.
|
|
initialize(javax.security.auth.Subject subject,javax.security.auth.callback.CallbackHandler callbackHandler,java.util.Map sharedState,java.util.Map options)
Deprecated. Intializes this LoginModule.
|
|
login()
Deprecated. Logs in to the login process.
|
|
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
- public IDAssertionLoginModule()
Deprecated.
Method Detail
initialize
- public 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.
Specified by:
initialize in interface javax.security.auth.spi.LoginModule
Overrides:
initialize in class WSSecurityMappingModule
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
- public boolean login()
- throws javax.security.auth.login.LoginException
Deprecated.
Logs in to the login process.
Specified by:
login in interface javax.security.auth.spi.LoginModule
Overrides:
login in class WSSecurityMappingModule
Returns:
true if the login is successful, false otherwise
Throws:
javax.security.auth.login.LoginException - if the login fails See Also:
LoginModule.login()commit
- public boolean commit()
- 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:
commit in class WSSecurityMappingModule
Returns:
true if the commit is successful, false otherwise
Throws:
javax.security.auth.login.LoginException - if the commit fails See Also:
LoginModule.commit()abort
- public boolean abort()
- 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:
abort in class WSSecurityMappingModule
Returns:
true if the abort was successful, false otherwise
Throws:
javax.security.auth.login.LoginException - if the abort fails See Also:
LoginModule.abort()logout
- public boolean logout()
- throws javax.security.auth.login.LoginException
Deprecated.
Logs out the login process.
Specified by:
logout in interface javax.security.auth.spi.LoginModule
Overrides:
logout in class WSSecurityMappingModule
Returns:
true if the logout is successful, false otherwise
Throws:
javax.security.auth.login.LoginException - if the abort fails See Also:
LoginModule.logout()