Class SamlMetadataUIProperties
java.lang.Object
org.apereo.cas.configuration.model.support.saml.mdui.SamlMetadataUIProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-saml-mdui")
public class SamlMetadataUIProperties
extends Object
implements Serializable
This is
SamlMetadataUIProperties
.- Since:
- 5.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
If specified, creates a validity filter on the metadata to check for metadata freshness based on the max validity.The parameter name that indicates the entity id of the service provider submitted to CAS.Metadata resources to load and parse through based on the incoming entity id in order to locate MDUI.Scheduler settings to indicate how often is metadata reloaded.boolean
When parsing metadata, whether the root element is required to be signed.boolean
Whether valid metadata is required when parsing metadata.setMaxValidity
(long maxValidity) If specified, creates a validity filter on the metadata to check for metadata freshness based on the max validity.setParameter
(String parameter) The parameter name that indicates the entity id of the service provider submitted to CAS.setRequireSignedRoot
(boolean requireSignedRoot) When parsing metadata, whether the root element is required to be signed.setRequireValidMetadata
(boolean requireValidMetadata) Whether valid metadata is required when parsing metadata.setResources
(List<String> resources) Metadata resources to load and parse through based on the incoming entity id in order to locate MDUI.setSchedule
(SchedulingProperties schedule) Scheduler settings to indicate how often is metadata reloaded.
-
Constructor Details
-
SamlMetadataUIProperties
public SamlMetadataUIProperties()
-
-
Method Details
-
getParameter
The parameter name that indicates the entity id of the service provider submitted to CAS. -
getMaxValidity
public long getMaxValidity()If specified, creates a validity filter on the metadata to check for metadata freshness based on the max validity. Value is specified in seconds. -
isRequireSignedRoot
public boolean isRequireSignedRoot()When parsing metadata, whether the root element is required to be signed. -
isRequireValidMetadata
public boolean isRequireValidMetadata()Whether valid metadata is required when parsing metadata. -
getResources
Metadata resources to load and parse through based on the incoming entity id in order to locate MDUI. Resources can be classpath/file/http resources. If each metadata resource has a signing certificate, they can be added onto the resource with a::
separator. Example:classpath:/sp-metadata.xml::classpath:/pub.key
. -
getSchedule
Scheduler settings to indicate how often is metadata reloaded. -
setParameter
The parameter name that indicates the entity id of the service provider submitted to CAS.- Returns:
this
.
-
setMaxValidity
If specified, creates a validity filter on the metadata to check for metadata freshness based on the max validity. Value is specified in seconds.- Returns:
this
.
-
setRequireSignedRoot
When parsing metadata, whether the root element is required to be signed.- Returns:
this
.
-
setRequireValidMetadata
Whether valid metadata is required when parsing metadata.- Returns:
this
.
-
setResources
Metadata resources to load and parse through based on the incoming entity id in order to locate MDUI. Resources can be classpath/file/http resources. If each metadata resource has a signing certificate, they can be added onto the resource with a::
separator. Example:classpath:/sp-metadata.xml::classpath:/pub.key
.- Returns:
this
.
-
setSchedule
Scheduler settings to indicate how often is metadata reloaded.- Returns:
this
.
-