Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

com.bea.security.saml2.providers
Interface SAML2IdentityAsserterAttributeMapper


public interface SAML2IdentityAsserterAttributeMapper

This interface defines an API to map attributes from SAML 2.0 Assertion AttributeStatement in any application specific way.

To specify an instance of this interface to be used by the SAML2 Identity Asserter, set the NameMapperClassName attribute.

Classes that implement this interface must have a public no-arg constructor and must be in the system classpath.


Method Summary
 Collection<?> mapAttributeInfo(Collection<SAML2AttributeStatementInfo> attrs, ContextHandler contextHandler)
          This method takes a Collection of SAMLAttributeStatementInfo instances that represent the attributes of Attribute Statements in a SAML 2.0 Assertion, and maps the desired attributes in any application specific way.
 

Method Detail

mapAttributeInfo

Collection<?> mapAttributeInfo(Collection<SAML2AttributeStatementInfo> attrs,
                               ContextHandler contextHandler)
This method takes a Collection of SAMLAttributeStatementInfo instances that represent the attributes of Attribute Statements in a SAML 2.0 Assertion, and maps the desired attributes in any application specific way.

Parameters:
attrs - represents the attributes of Attribute Statements in a SAML 2.0 Assertion to be mapped
contextHandler - the context handler that can hold additional information for attribute mapping
Returns:
the collection of objects that represents the mapped attributes, null if no attribute to be made available to applications

Copyright 1996, 2010, 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.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04