Package org.nuxeo.ecm.platform.auth.saml
Class SAMLConfiguration
java.lang.Object
org.nuxeo.ecm.platform.auth.saml.SAMLConfiguration
Configuration class that retrieves the SAML configuration from plugin
parameters
.
SP
refers to Service Provider (here Nuxeo) and IdP
refers to Identity Provider.
- Since:
- 7.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final int
protected static final Class
<? extends UserResolver> static final String
static final String
static final Collection
<String> protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
static final String
protected static final Class
<? extends UserResolver> static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.metadata.EntityDescriptor
createSPEntityDescriptor
(String baseURL) protected org.opensaml.saml.saml2.metadata.SPSSODescriptor
createSPSSODescriptor
(String baseURL) static boolean
Deprecated, for removal: This API element is subject to removal in a future version.static org.opensaml.saml.saml2.metadata.EntityDescriptor
getEntityDescriptor
(String baseURL) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usecreateSPEntityDescriptor(java.lang.String)
insteadstatic String
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usegetSPEntityId()
insteadDeprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usegetSPLoginBindings()
insteadstatic int
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usegetSPSkewTime()
insteadprotected String
static org.opensaml.saml.saml2.metadata.SPSSODescriptor
getSPSSODescriptor
(String baseURL) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usecreateSPSSODescriptor(java.lang.String)
insteadstatic boolean
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, useisSPWantAssertionsSigned()
insteadboolean
boolean
boolean
boolean
boolean
static SAMLConfiguration
Retrieves theSAMLConfiguration
for the default contributed SAML plugin.toString()
-
Field Details
-
ENTITY_ID
- See Also:
-
LOGIN_BINDINGS
- See Also:
-
AUTHN_REQUESTS_SIGNED
- See Also:
-
WANT_ASSERTIONS_SIGNED
- See Also:
-
SKEW_TIME_MS
- See Also:
-
DEFAULT_SKEW_TIME_MS
public static final int DEFAULT_SKEW_TIME_MS- See Also:
-
BINDING_PREFIX
- See Also:
-
DEFAULT_LOGIN_BINDINGS
- See Also:
-
nameID
-
PARAMETER_ENTITY_ID
- See Also:
-
PARAMETER_AUTHN_REQUESTS_SIGNED
- See Also:
-
PARAMETER_WANT_ASSERTIONS_SIGNED
- See Also:
-
PARAMETER_LOGIN_BINDINGS
- See Also:
-
PARAMETER_DIGEST_ALGORITHM
- See Also:
-
PARAMETER_SIGNATURE_ALGORITHM
- See Also:
-
PARAMETER_SIGNATURE_MANDATORY
- See Also:
-
PARAMETER_SKEW_TIME
- See Also:
-
PARAMETER_LOGIN_SCREEN_NAME
- See Also:
-
PARAMETER_LOGIN_SCREEN_DESCRIPTION
- See Also:
-
PARAMETER_LOGIN_SCREEN_ICON
- See Also:
-
PARAMETER_LOGIN_SCREEN_LABEL
- See Also:
-
PARAMETER_KEY_HOLDER_NAME
- See Also:
-
PARAMETER_USER_RESOLVER_CLASS
- See Also:
-
DEFAULT_USER_RESOLVER_CLASS
-
USERMAPPER_USER_RESOLVER_CLASS
-
parameters
-
-
Constructor Details
-
SAMLConfiguration
-
-
Method Details
-
isDefault
public boolean isDefault()The plugin defines as the default is:- Returns:
- whether this plugin is the default one
-
getSPEntityId
- Returns:
- the SAML entityId to use for this plugin
- Since:
- 2025.7
-
getSPEntityIdFromNuxeoConf
- Since:
- 2025.7
-
isSPAuthnRequestsSigned
public boolean isSPAuthnRequestsSigned()- Returns:
- whether the SP signed the authn requests.
- Since:
- 2025.7
-
isSPWantAssertionsSigned
public boolean isSPWantAssertionsSigned()- Returns:
- whether the SP requires the assertions to be signed
- Since:
- 2025.7
-
getSPDigestAlgorithm
- Since:
- 2025.7
-
getSPSignatureAlgorithms
- Since:
- 2025.7
-
getSPSkewTime
- Since:
- 2025.7
-
getSPKeyHolder
- Since:
- 2025.7
-
createSPEntityDescriptor
@Nonnull public org.opensaml.saml.saml2.metadata.EntityDescriptor createSPEntityDescriptor(String baseURL) - Since:
- 2025.7
-
createSPSSODescriptor
- Since:
- 2025.7
-
getSPLoginBindings
-
getIdPMetadataUri
- Returns:
- the Idp metadata URI, it could either be an HTTP URL or a filesystem location
- Since:
- 2025.7
-
getIdPMetadataTimeout
- Returns:
- the timeout to use when fetching the IdP metadata
- Since:
- 2025.7
-
isIdPSignatureMandatory
public boolean isIdPSignatureMandatory() -
instantiateUserResolver
- Since:
- 2025.7
-
isLoginScreenButtonEnabled
public boolean isLoginScreenButtonEnabled()- Since:
- 2025.7
-
getLoginScreenName
- Since:
- 2025.7
-
getLoginScreenDescription
- Since:
- 2025.7
-
getLoginScreenIcon
- Since:
- 2025.7
-
getLoginScreenLabel
- Since:
- 2025.7
-
toString
-
getEntityId
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usegetSPEntityId()
instead -
getLoginBindings
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usegetSPLoginBindings()
instead -
getAuthnRequestsSigned
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, useisSPAuthnRequestsSigned()
instead -
getWantAssertionsSigned
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, useisSPWantAssertionsSigned()
instead -
getSkewTimeMillis
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usegetSPSkewTime()
instead -
getEntityDescriptor
@Deprecated(since="2025.7", forRemoval=true) public static org.opensaml.saml.saml2.metadata.EntityDescriptor getEntityDescriptor(String baseURL) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usecreateSPEntityDescriptor(java.lang.String)
insteadReturns theEntityDescriptor
for the Nuxeo Service Provider -
getSPSSODescriptor
@Deprecated(since="2025.7", forRemoval=true) public static org.opensaml.saml.saml2.metadata.SPSSODescriptor getSPSSODescriptor(String baseURL) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.7, usecreateSPSSODescriptor(java.lang.String)
insteadReturns theSPSSODescriptor
for the Nuxeo Service Provider -
retrieveDefaultPluginConfiguration
Retrieves theSAMLConfiguration
for the default contributed SAML plugin.The plugin defines as the default is:
- Returns:
- the
SAMLConfiguration
for the default contributed SAML plugin - Since:
- 2025.7
-
isSPAuthnRequestsSigned()
instead