Package org.pac4j.saml.config
Class SAML2Configuration
java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.client.config.BaseClientConfiguration
org.pac4j.saml.config.SAML2Configuration
public class SAML2Configuration
extends org.pac4j.core.client.config.BaseClientConfiguration
The class is responsible for capturing client settings and passing them around.
- Since:
- 1.7
- Author:
- Misagh Moayyed, Jerome Leleu
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionSAML2Configuration
(String keystorePath, String keystorePassword, String privateKeyPassword, String identityProviderMetadataPath) protected
SAML2Configuration
(String keyStoreAlias, String keyStoreType, org.springframework.core.io.Resource keystoreResource, String keystorePassword, String privateKeyPassword, org.springframework.core.io.Resource identityProviderMetadataResource, String identityProviderEntityId, String serviceProviderEntityId, String providerName, Supplier<List<org.opensaml.core.xml.schema.XSAny>> authnRequestExtensions, String attributeAsId) SAML2Configuration
(org.springframework.core.io.Resource keystoreResource, String keyStoreAlias, String keyStoreType, String keystorePassword, String privateKeyPassword, org.springframework.core.io.Resource identityProviderMetadataResource) SAML2Configuration
(org.springframework.core.io.Resource keystoreResource, String keystorePassword, String privateKeyPassword, org.springframework.core.io.Resource identityProviderMetadataResource) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
org.pac4j.core.logout.handler.SessionLogoutHandler
org.apache.http.client.HttpClient
protected void
internalInit
(boolean forceReinit) void
setCallbackUrl
(String callbackUrl) void
setCertificateNameToAppend
(String certificateNameToAppend) void
void
void
void
void
setKeystorePath
(String path) void
void
void
void
setPrivateKeyPassword
(String privateKeyPassword) void
void
Methods inherited from class org.pac4j.core.util.InitializableObject
afterInternalInit, beforeInternalInit, getInitialized, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds, shouldInitialize, toString
-
Field Details
-
DEFAULT_PROVIDER_NAME
- See Also:
-
-
Constructor Details
-
SAML2Configuration
-
SAML2Configuration
-
SAML2Configuration
-
SAML2Configuration
protected SAML2Configuration(String keyStoreAlias, String keyStoreType, org.springframework.core.io.Resource keystoreResource, String keystorePassword, String privateKeyPassword, org.springframework.core.io.Resource identityProviderMetadataResource, String identityProviderEntityId, String serviceProviderEntityId, String providerName, Supplier<List<org.opensaml.core.xml.schema.XSAny>> authnRequestExtensions, String attributeAsId)
-
-
Method Details
-
setCallbackUrl
-
internalInit
protected void internalInit(boolean forceReinit) - Specified by:
internalInit
in classorg.pac4j.core.util.InitializableObject
-
getKeystoreGenerator
-
setIdentityProviderMetadataResourceFilepath
-
setIdentityProviderMetadataResourceClasspath
-
setIdentityProviderMetadataResourceUrl
-
setIdentityProviderMetadataPath
-
setKeystoreResourceFilepath
-
setKeystoreResourceClasspath
-
setKeystoreResourceUrl
-
setKeystorePath
-
setPrivateKeyPassword
-
getCertificateNameToAppend
-
setCertificateNameToAppend
-
setServiceProviderMetadataResourceFilepath
-
setServiceProviderMetadataPath
-
findSessionLogoutHandler
public org.pac4j.core.logout.handler.SessionLogoutHandler findSessionLogoutHandler() -
getHttpClient
public org.apache.http.client.HttpClient getHttpClient() -
getCredentialProvider
-
toMetadataGenerator
-
determineSingleSignOutServiceUrl
-
getMetadataGenerator
-
getIdentityProviderMetadataResolver
-