|
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.WSSecurityMappingModule
public class WSSecurityMappingModule
This Login Module will take a DN and check if it is present in the user registry in order to validate it.
This is not a standalone Login Module, it must be configured after the pluggable JAAS Login
Module. The pluggable token JAAS Login Module must save the validated DN in the shared state
hash map passed in the initialize method and the key used is
com.ibm.wsspi.wssecurity.Constants.WSSECURITY_DN
.
LoginModule
,
Constants
,
WSCredential
Field Summary | |
---|---|
protected com.ibm.websphere.security.cred.WSCredential |
wscred
Deprecated. wscred is no longer used. |
protected com.ibm.websphere.security.auth.WSPrincipal |
wsprin
Deprecated. wsprin is no longer used. |
Constructor Summary | |
---|---|
WSSecurityMappingModule()
Deprecated. |
Method Summary | |
---|---|
boolean |
abort()
Deprecated. Aborts the login process by removing the WSPrincipal and WSCredential from the Subect. |
boolean |
commit()
Deprecated. Commits the login process by adding the WSPrincipal and WSCredential into the Subject. |
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. |
boolean |
login()
Deprecated. Logs in to the login process. |
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 |
Field Detail |
---|
protected com.ibm.websphere.security.cred.WSCredential wscred
protected com.ibm.websphere.security.auth.WSPrincipal wsprin
Constructor Detail |
---|
public WSSecurityMappingModule()
Method Detail |
---|
public void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map sharedState, java.util.Map options)
initialize
in interface javax.security.auth.spi.LoginModule
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.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 |