Class FSAttributeStatementHelper


  • public class FSAttributeStatementHelper
    extends Object
    This class helps in creating AttributeStatements to add auto federation attributes as part of an assertion that is generated through Single Sign-On.
    • Constructor Detail

      • FSAttributeStatementHelper

        public FSAttributeStatementHelper()
    • Method Detail

      • getAutoFedAttributeStatement

        public static AttributeStatement getAutoFedAttributeStatement​(String realm,
                                                                      String entityID,
                                                                      FSSubject sub,
                                                                      Object ssoToken)
                                                               throws FSException
        Gets a SAML AttributeStatement by using an AutoFederate attribute that is configured in Local Provider.
        Parameters:
        realm - The realm under which the entity resides.
        entityID - Host Provider's entity ID.
        sub - Liberty Subject.
        ssoToken - session of the user
        Returns:
        Generated Auto Federate Attribute Statement.
        Throws:
        FSException - if an error occurred