Class CoreSamlMetadataProperties

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

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

    • CoreSamlMetadataProperties

      public CoreSamlMetadataProperties()
  • Method Details

    • isFailFast

      public boolean isFailFast()
      Whether invalid metadata should eagerly fail quickly on startup once the resource is parsed.
    • getCacheMaximumSize

      public long getCacheMaximumSize()
      Specifies the maximum number of entries the cache may contain. Note that the cache may evict an entry before this limit is exceeded or temporarily exceed the threshold while evicting. As the cache size grows close to the maximum, the cache evicts entries that are less likely to be used again. For example, the cache may evict an entry because it hasn't been used recently or very often.
    • getCacheExpiration

      public String getCacheExpiration()
      How long should metadata be cached.
    • isRequireValidMetadata

      public boolean isRequireValidMetadata()
      Whether valid metadata is required.
    • isSsoServicePostBindingEnabled

      public boolean isSsoServicePostBindingEnabled()
      Whether metadata generation process should support SSO service POST binding.
    • isSsoServicePostSimpleSignBindingEnabled

      public boolean isSsoServicePostSimpleSignBindingEnabled()
      Whether metadata generation process should support SSO service POST SimpleSign binding.
    • isSsoServiceRedirectBindingEnabled

      public boolean isSsoServiceRedirectBindingEnabled()
      Whether metadata generation process should support SSO service REDIRECT binding.
    • isSsoServiceSoapBindingEnabled

      public boolean isSsoServiceSoapBindingEnabled()
      Whether metadata generation process should support SSO service SOAP binding.
    • isSloServicePostBindingEnabled

      public boolean isSloServicePostBindingEnabled()
      Whether metadata generation process should support SLO service POST binding.
    • isSloServiceRedirectBindingEnabled

      public boolean isSloServiceRedirectBindingEnabled()
      Whether metadata generation process should support SLO service REDIRECT binding.
    • getKeySize

      public int getKeySize()
      This is the key size that is used when generating the initial keypair that would hold the private/public key for the SAML2 metadata. This setting is only relevant when artifacts needs to be generated.
    • getCertificateAlgorithm

      public String getCertificateAlgorithm()
      The algorithm type/name that is used when generating certificates for the SAML2 identity provider. This setting is only relevant when artifacts needs to be generated.
    • setFailFast

      public CoreSamlMetadataProperties setFailFast(boolean failFast)
      Whether invalid metadata should eagerly fail quickly on startup once the resource is parsed.
      Returns:
      this.
    • setCacheMaximumSize

      public CoreSamlMetadataProperties setCacheMaximumSize(long cacheMaximumSize)
      Specifies the maximum number of entries the cache may contain. Note that the cache may evict an entry before this limit is exceeded or temporarily exceed the threshold while evicting. As the cache size grows close to the maximum, the cache evicts entries that are less likely to be used again. For example, the cache may evict an entry because it hasn't been used recently or very often.
      Returns:
      this.
    • setCacheExpiration

      public CoreSamlMetadataProperties setCacheExpiration(String cacheExpiration)
      How long should metadata be cached.
      Returns:
      this.
    • setRequireValidMetadata

      public CoreSamlMetadataProperties setRequireValidMetadata(boolean requireValidMetadata)
      Whether valid metadata is required.
      Returns:
      this.
    • setSsoServicePostBindingEnabled

      public CoreSamlMetadataProperties setSsoServicePostBindingEnabled(boolean ssoServicePostBindingEnabled)
      Whether metadata generation process should support SSO service POST binding.
      Returns:
      this.
    • setSsoServicePostSimpleSignBindingEnabled

      public CoreSamlMetadataProperties setSsoServicePostSimpleSignBindingEnabled(boolean ssoServicePostSimpleSignBindingEnabled)
      Whether metadata generation process should support SSO service POST SimpleSign binding.
      Returns:
      this.
    • setSsoServiceRedirectBindingEnabled

      public CoreSamlMetadataProperties setSsoServiceRedirectBindingEnabled(boolean ssoServiceRedirectBindingEnabled)
      Whether metadata generation process should support SSO service REDIRECT binding.
      Returns:
      this.
    • setSsoServiceSoapBindingEnabled

      public CoreSamlMetadataProperties setSsoServiceSoapBindingEnabled(boolean ssoServiceSoapBindingEnabled)
      Whether metadata generation process should support SSO service SOAP binding.
      Returns:
      this.
    • setSloServicePostBindingEnabled

      public CoreSamlMetadataProperties setSloServicePostBindingEnabled(boolean sloServicePostBindingEnabled)
      Whether metadata generation process should support SLO service POST binding.
      Returns:
      this.
    • setSloServiceRedirectBindingEnabled

      public CoreSamlMetadataProperties setSloServiceRedirectBindingEnabled(boolean sloServiceRedirectBindingEnabled)
      Whether metadata generation process should support SLO service REDIRECT binding.
      Returns:
      this.
    • setKeySize

      public CoreSamlMetadataProperties setKeySize(int keySize)
      This is the key size that is used when generating the initial keypair that would hold the private/public key for the SAML2 metadata. This setting is only relevant when artifacts needs to be generated.
      Returns:
      this.
    • setCertificateAlgorithm

      public CoreSamlMetadataProperties setCertificateAlgorithm(String certificateAlgorithm)
      The algorithm type/name that is used when generating certificates for the SAML2 identity provider. This setting is only relevant when artifacts needs to be generated.
      Returns:
      this.