Class FSDefaultRealmAttributePlugin

  • All Implemented Interfaces:
    FSRealmAttributePlugin

    public class FSDefaultRealmAttributePlugin
    extends Object
    implements FSRealmAttributePlugin
    This class FSDefaultRealmAttributePlugin is the default attribute plugin implementation of FSRealmAttributePlugin of Identity provider. The default implementation will read the attribute map configuration defined in hosted IDP local configuration and create SAML AttributeStatements so that they can be inserted into SAML SSO Assertion.
    • Constructor Detail

      • FSDefaultRealmAttributePlugin

        public FSDefaultRealmAttributePlugin()
    • Method Detail

      • getAttributeStatements

        public List getAttributeStatements​(String realm,
                                           String hostEntityId,
                                           String remoteEntityID,
                                           FSSubject subject,
                                           Object token)
        Returns list of AttributeStatements by using attribute map defined in the configuration.
        Specified by:
        getAttributeStatements in interface FSRealmAttributePlugin
        Parameters:
        realm - The realm under which the entity resides.
        hostEntityId - Hosted identity provider entity id.
        remoteEntityID - Remote provider's entity id
        subject - Subject subject of the authenticated principal.
        token - user's session.
        Returns:
        list of SAML AttributeStatements.