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
Since:
5.0.0
See Also:
  • Constructor Details

    • SamlMetadataUIProperties

      public SamlMetadataUIProperties()
  • Method Details

    • getParameter

      public String 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

      public List<String> 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

      public SchedulingProperties getSchedule()
      Scheduler settings to indicate how often is metadata reloaded.
    • setParameter

      public SamlMetadataUIProperties setParameter(String parameter)
      The parameter name that indicates the entity id of the service provider submitted to CAS.
      Returns:
      this.
    • setMaxValidity

      public SamlMetadataUIProperties setMaxValidity(long maxValidity)
      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

      public SamlMetadataUIProperties setRequireSignedRoot(boolean requireSignedRoot)
      When parsing metadata, whether the root element is required to be signed.
      Returns:
      this.
    • setRequireValidMetadata

      public SamlMetadataUIProperties setRequireValidMetadata(boolean requireValidMetadata)
      Whether valid metadata is required when parsing metadata.
      Returns:
      this.
    • setResources

      public SamlMetadataUIProperties setResources(List<String> resources)
      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

      public SamlMetadataUIProperties setSchedule(SchedulingProperties schedule)
      Scheduler settings to indicate how often is metadata reloaded.
      Returns:
      this.