Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.security.providers.saml
Interface SAMLIdentityAssertionNameMapper


public interface SAMLIdentityAssertionNameMapper

Interface used to perform mapping of user and group information from SAML assertions.

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

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


Method Summary
abstract  String getGroupAttrName()
          Returns the SAML AttributeName that should be used to extract group information from assertions.
abstract  String getGroupAttrNamespace()
          Returns the SAML AttributeNamespace that should be used to extract group information from assertions.
abstract  Collection mapGroupInfo(SAMLNameMapperInfo info, ContextHandler handler)
          Maps a SAMLNameMapperInfo to a Collection of group names.
abstract  String mapNameInfo(SAMLNameMapperInfo info, ContextHandler handler)
          Maps a SAMLNameMapperInfo to a user name.

 

Method Detail

mapNameInfo

String mapNameInfo(SAMLNameMapperInfo info,
                   ContextHandler handler)
Maps a SAMLNameMapperInfo to a user name.
Parameters:
info - The SAMLNameMapperInfo containing user and group information from a SAML assertion.
handler - The ContextHandler passed to the SAML Identity Asserter.
Returns:
A String contained the mapped username

mapGroupInfo

Collection mapGroupInfo(SAMLNameMapperInfo info,
                        ContextHandler handler)
Maps a SAMLNameMapperInfo to a Collection of group names.
Parameters:
info - The SAMLNameMapperInfo containing user and group information from a SAML assertion.
handler - The ContextHandler passed to the SAML Identity Asserter.
Returns:
A Collection containing the mapped group names, or null if groups were not mapped.

getGroupAttrName

String getGroupAttrName()
Returns the SAML AttributeName that should be used to extract group information from assertions. The SAML Identity Asserter will use this value to identify the Attribute containing group information and populate a SAMLNameMapperInfo with its values.
Returns:
The AttributeName.

getGroupAttrNamespace

String getGroupAttrNamespace()
Returns the SAML AttributeNamespace that should be used to extract group information from assertions. The SAML Identity Asserter will use this value to identify the Attribute containing group information and populate a SAMLNameMapperInfo with its values.
Returns:
The AttributeNamespace.

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09