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
This is
CoreSamlMetadataProperties
.- Since:
- 6.4.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionHow long should metadata be cached.long
Specifies the maximum number of entries the cache may contain.The algorithm type/name that is used when generating certificates for the SAML2 identity provider.int
This is the key size that is used when generating the initial keypair that would hold the private/public key for the SAML2 metadata.boolean
Whether invalid metadata should eagerly fail quickly on startup once the resource is parsed.boolean
Whether valid metadata is required.boolean
Whether metadata generation process should support SLO service POST binding.boolean
Whether metadata generation process should support SLO service REDIRECT binding.boolean
Whether metadata generation process should support SSO service POST binding.boolean
Whether metadata generation process should support SSO service POST SimpleSign binding.boolean
Whether metadata generation process should support SSO service REDIRECT binding.boolean
Whether metadata generation process should support SSO service SOAP binding.setCacheExpiration
(String cacheExpiration) How long should metadata be cached.setCacheMaximumSize
(long cacheMaximumSize) Specifies the maximum number of entries the cache may contain.setCertificateAlgorithm
(String certificateAlgorithm) The algorithm type/name that is used when generating certificates for the SAML2 identity provider.setFailFast
(boolean failFast) Whether invalid metadata should eagerly fail quickly on startup once the resource is parsed.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.setRequireValidMetadata
(boolean requireValidMetadata) Whether valid metadata is required.setSloServicePostBindingEnabled
(boolean sloServicePostBindingEnabled) Whether metadata generation process should support SLO service POST binding.setSloServiceRedirectBindingEnabled
(boolean sloServiceRedirectBindingEnabled) Whether metadata generation process should support SLO service REDIRECT binding.setSsoServicePostBindingEnabled
(boolean ssoServicePostBindingEnabled) Whether metadata generation process should support SSO service POST binding.setSsoServicePostSimpleSignBindingEnabled
(boolean ssoServicePostSimpleSignBindingEnabled) Whether metadata generation process should support SSO service POST SimpleSign binding.setSsoServiceRedirectBindingEnabled
(boolean ssoServiceRedirectBindingEnabled) Whether metadata generation process should support SSO service REDIRECT binding.setSsoServiceSoapBindingEnabled
(boolean ssoServiceSoapBindingEnabled) Whether metadata generation process should support SSO service SOAP binding.
-
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
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
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
Whether invalid metadata should eagerly fail quickly on startup once the resource is parsed.- Returns:
this
.
-
setCacheMaximumSize
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
How long should metadata be cached.- Returns:
this
.
-
setRequireValidMetadata
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
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
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
.
-