Class FSAttributeStatementHelper
- java.lang.Object
-
- com.sun.identity.federation.services.util.FSAttributeStatementHelper
-
public class FSAttributeStatementHelper extends Object
This class helps in creatingAttributeStatements to add auto federation attributes as part of an assertion that is generated through Single Sign-On.
-
-
Constructor Summary
Constructors Constructor Description FSAttributeStatementHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeStatementgetAutoFedAttributeStatement(String realm, String entityID, FSSubject sub, Object ssoToken)Gets a SAMLAttributeStatementby using anAutoFederateattribute that is configured in Local Provider.
-
-
-
Method Detail
-
getAutoFedAttributeStatement
public static AttributeStatement getAutoFedAttributeStatement(String realm, String entityID, FSSubject sub, Object ssoToken) throws FSException
Gets a SAMLAttributeStatementby using anAutoFederateattribute 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
-
-