Oracle

com.bea.security.saml2.providers
Interface SAML2IdentityAsserterNameMapper


public interface SAML2IdentityAsserterNameMapper

Interface used to perform the mapping of user information contained in a SAML 2.0 assertion to a local user name.

To specify an instance of this interface to be used by the SAML 2.0 Identity Assertion provider, set the NameMapperClassName attribute when configuring that provider.

Classes implementing this interface must have a public no-arg constructor, or must have a public one-arg constructor in which the argment type is weblogic.security.spi.SecurityServices.

The implemented class must be in the system classpath.


Method Summary
 String mapNameInfo(SAML2NameMapperInfo info, ContextHandler handler)
          Maps a SAML2NameMapperInfo object to a local user name.
 

Method Detail

mapNameInfo

String mapNameInfo(SAML2NameMapperInfo info,
                   ContextHandler handler)
Maps a SAML2NameMapperInfo object to a local user name. If the user can be mapped successfully, this method returns the user name, otherwise it returns null.

Parameters:
info - The SAML2NameMapperInfo containing user information from a SAML 2.0 assertion.
handler - The ContextHandler passed to the SAML 2.0 Identity Assertion provider.
Returns:
A String containing the mapped user name.

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle