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

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


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.

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

Documentation is available at
Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.