Class FSDefaultAttributePlugin

  • All Implemented Interfaces:
    FSAttributePlugin

    public class FSDefaultAttributePlugin
    extends Object
    implements FSAttributePlugin
    This class FSDefaultAttributePlugin is the default attribute plugin implementation of FSAttributePlugin 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

      • FSDefaultAttributePlugin

        public FSDefaultAttributePlugin()
    • 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.
        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.