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
This is
SamlIdPResponseProperties
.- Since:
- 5.3.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Indicate the type of encoding used when rendering the saml response and its signature blog. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConfigure attribute name formats and build a map.Each individual attribute can be mapped to a particular name-format.Indicate the encoding type of the credential used when rendering the saml response.Indicates the default name-format for all attributes in case the individual attribute is not individually mapped.Time unit in seconds used to skew authentication dates such as valid-from and valid-until elements.boolean
Whether error responses should be signed.setAttributeNameFormats
(List<String> attributeNameFormats) Each individual attribute can be mapped to a particular name-format.setCredentialType
(SamlIdPResponseProperties.SignatureCredentialTypes credentialType) Indicate the encoding type of the credential used when rendering the saml response.setDefaultAttributeNameFormat
(String defaultAttributeNameFormat) Indicates the default name-format for all attributes in case the individual attribute is not individually mapped.setSignError
(boolean signError) Whether error responses should be signed.setSkewAllowance
(String skewAllowance) Time unit in seconds used to skew authentication dates such as valid-from and valid-until elements.
-
Constructor Details
-
SamlIdPResponseProperties
public SamlIdPResponseProperties()
-
-
Method Details
-
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
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
Indicates the default name-format for all attributes in case the individual attribute is not individually mapped. -
getAttributeNameFormats
Each individual attribute can be mapped to a particular name-format. Example:attributeName->basic|uri|unspecified|custom-format-etc,...
. -
setCredentialType
public SamlIdPResponseProperties setCredentialType(SamlIdPResponseProperties.SignatureCredentialTypes credentialType) Indicate the encoding type of the credential used when rendering the saml response.- Returns:
this
.
-
setSkewAllowance
Time unit in seconds used to skew authentication dates such as valid-from and valid-until elements.- Returns:
this
.
-
setSignError
Whether error responses should be signed.- Returns:
this
.
-
setDefaultAttributeNameFormat
Indicates the default name-format for all attributes in case the individual attribute is not individually mapped.- Returns:
this
.
-
setAttributeNameFormats
Each individual attribute can be mapped to a particular name-format. Example:attributeName->basic|uri|unspecified|custom-format-etc,...
.- Returns:
this
.
-