Class SamlIdPResponseProperties

java.lang.Object
org.apereo.cas.configuration.model.support.saml.idp.SamlIdPResponseProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-saml-idp") public class SamlIdPResponseProperties extends Object implements Serializable
Since:
5.3.0
See Also:
  • Constructor Details

    • SamlIdPResponseProperties

      public SamlIdPResponseProperties()
  • Method Details

    • configureAttributeNameFormats

      public Map<String,String> configureAttributeNameFormats()
      Configure attribute name formats and build a map.
      Returns:
      the map
    • getCredentialType

      Indicate the encoding type of the credential used when rendering the saml response.
    • getSkewAllowance

      public String getSkewAllowance()
      Time unit in seconds used to skew authentication dates such as valid-from and valid-until elements.
    • isSignError

      public boolean isSignError()
      Whether error responses should be signed.
    • getDefaultAttributeNameFormat

      public String getDefaultAttributeNameFormat()
      Indicates the default name-format for all attributes in case the individual attribute is not individually mapped.
    • getAttributeNameFormats

      public List<String> getAttributeNameFormats()
      Each individual attribute can be mapped to a particular name-format. Example: attributeName->basic|uri|unspecified|custom-format-etc,....
    • setCredentialType

      Indicate the encoding type of the credential used when rendering the saml response.
      Returns:
      this.
    • setSkewAllowance

      public SamlIdPResponseProperties setSkewAllowance(String skewAllowance)
      Time unit in seconds used to skew authentication dates such as valid-from and valid-until elements.
      Returns:
      this.
    • setSignError

      public SamlIdPResponseProperties setSignError(boolean signError)
      Whether error responses should be signed.
      Returns:
      this.
    • setDefaultAttributeNameFormat

      public SamlIdPResponseProperties setDefaultAttributeNameFormat(String defaultAttributeNameFormat)
      Indicates the default name-format for all attributes in case the individual attribute is not individually mapped.
      Returns:
      this.
    • setAttributeNameFormats

      public SamlIdPResponseProperties setAttributeNameFormats(List<String> attributeNameFormats)
      Each individual attribute can be mapped to a particular name-format. Example: attributeName->basic|uri|unspecified|custom-format-etc,....
      Returns:
      this.