Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.security.providers.saml
Interface SAMLCredentialAttributeMapper

    public interface SAMLCredentialAttributeMapper

Interface used to perform mapping from Subject to SAMLAssertion attributes.

To specify an instance of this interface to be used by the SAML Credential Mapper, set the `NameMapperClassName` attribute.

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

Method Summary
`Collection<SAMLAttributeStatementInfo>` | `mapAttributes(Subject subject, ContextHandler handler)` Maps a `Subject` to a set of values used to construct a `SAMLAttributeStatementInfo` element for a SAML assertion.

Method Detail

### mapAttributes

    Collection<SAMLAttributeStatementInfo> mapAttributes(Subject subject,
                                                         ContextHandler handler)

  Maps a `Subject` to a set of values used to construct a `SAMLAttributeStatementInfo` element for a SAML assertion. The returned `Collection` contains `SAMLAttributeStatementInfo` elements, which will be used to construct a SAML `AttributeStatement` for the SAML assertion.

  Parameters:
    `subject` - The `Subject` that should be mapped.
    `handler` - The `ContextHandler` passed to the SAML Credential Mapper.
  Returns:
    A `Collection` containing `SAMLAttributeStatementInfo` instances, or `null` if no mapping is made.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD