IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.security.web.saml
Interface UserMapping


public interface UserMapping

Implementing this interface enables WebSphere Security to use customized mapping for SAML Assertion. Implementation of this interface must provide implementations for:


Method Summary
 java.lang.String mapSAMLAssertionToName(com.ibm.websphere.wssecurity.wssapi.token.SAMLToken token)
          Maps a SAMLToken to a valid user in the Registry.
 

Method Detail

mapSAMLAssertionToName

java.lang.String mapSAMLAssertionToName(com.ibm.websphere.wssecurity.wssapi.token.SAMLToken token)
                                        throws UserMappingException,
                                               NotImplementedException
Maps a SAMLToken to a valid user in the Registry. This is used to map the name in the SAML Assertion supplied by Identity Provider to a valid user in the registry

Parameters:
samlToken - the SAMLToken
Returns:
the mapped name of the user which should be valid in the registry
Throws:
UserMappingException - if the mapping of the SAMLToken fails.
NotImplementedException - if this implementation is not supported. In this case the default implementation is used.

IBM WebSphere Application ServerTM
Release 7