Package org.keycloak.adapters.saml
Class DefaultSamlDeployment
java.lang.Object
org.keycloak.adapters.saml.DefaultSamlDeployment
- All Implemented Interfaces:
SamlDeployment
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
Nested classes/interfaces inherited from interface org.keycloak.adapters.saml.SamlDeployment
SamlDeployment.Binding, SamlDeployment.IDP, SamlDeployment.PrincipalNamePolicy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns entity identifier of this SP.getIDP()
Returns Identity Provider configuration for this SAML deployment.Obtains theRoleMappingsProvider
that was configured for the SP.boolean
boolean
boolean
boolean
boolean
void
setAutodetectBearerOnly
(boolean autodetectBearerOnly) void
setConfigured
(boolean configured) void
setDecryptionKey
(PrivateKey decryptionKey) void
setEntityID
(String entityID) void
setForceAuthentication
(boolean forceAuthentication) void
setIdp
(SamlDeployment.IDP idp) void
setIsPassive
(boolean isPassive) void
setKeepDOMAssertion
(Boolean keepDOMAssertion) void
setLogoutPage
(String logoutPage) void
setNameIDPolicyFormat
(String nameIDPolicyFormat) void
setPrincipalAttributeName
(String principalAttributeName) void
setPrincipalNamePolicy
(SamlDeployment.PrincipalNamePolicy principalNamePolicy) void
setRoleAttributeNames
(Set<String> roleAttributeNames) void
setRoleMappingsProvider
(RoleMappingsProvider provider) void
setSignatureAlgorithm
(SignatureAlgorithm signatureAlgorithm) void
setSignatureCanonicalizationMethod
(String signatureCanonicalizationMethod) void
setSigningKeyPair
(KeyPair signingKeyPair) void
setSslRequired
(SslRequired sslRequired) void
setTurnOffChangeSessionIdOnLogin
(boolean turnOffChangeSessionIdOnLogin) boolean
-
Constructor Details
-
DefaultSamlDeployment
public DefaultSamlDeployment()
-
-
Method Details
-
turnOffChangeSessionIdOnLogin
public boolean turnOffChangeSessionIdOnLogin()- Specified by:
turnOffChangeSessionIdOnLogin
in interfaceSamlDeployment
-
setTurnOffChangeSessionIdOnLogin
public void setTurnOffChangeSessionIdOnLogin(boolean turnOffChangeSessionIdOnLogin) -
getIDP
Description copied from interface:SamlDeployment
Returns Identity Provider configuration for this SAML deployment.- Specified by:
getIDP
in interfaceSamlDeployment
- Returns:
- see description.
-
isConfigured
public boolean isConfigured()- Specified by:
isConfigured
in interfaceSamlDeployment
-
getSslRequired
- Specified by:
getSslRequired
in interfaceSamlDeployment
-
getEntityID
Description copied from interface:SamlDeployment
Returns entity identifier of this SP.- Specified by:
getEntityID
in interfaceSamlDeployment
- Returns:
- see description.
-
getNameIDPolicyFormat
- Specified by:
getNameIDPolicyFormat
in interfaceSamlDeployment
-
isForceAuthentication
public boolean isForceAuthentication()- Specified by:
isForceAuthentication
in interfaceSamlDeployment
-
isIsPassive
public boolean isIsPassive()- Specified by:
isIsPassive
in interfaceSamlDeployment
-
getDecryptionKey
- Specified by:
getDecryptionKey
in interfaceSamlDeployment
-
getSigningKeyPair
- Specified by:
getSigningKeyPair
in interfaceSamlDeployment
-
getRoleAttributeNames
- Specified by:
getRoleAttributeNames
in interfaceSamlDeployment
-
getRoleMappingsProvider
Description copied from interface:SamlDeployment
Obtains theRoleMappingsProvider
that was configured for the SP.- Specified by:
getRoleMappingsProvider
in interfaceSamlDeployment
- Returns:
- a reference to the configured
RoleMappingsProvider
.
-
getPrincipalNamePolicy
- Specified by:
getPrincipalNamePolicy
in interfaceSamlDeployment
-
getPrincipalAttributeName
- Specified by:
getPrincipalAttributeName
in interfaceSamlDeployment
-
setIdp
-
setConfigured
public void setConfigured(boolean configured) -
setSslRequired
-
setEntityID
-
setNameIDPolicyFormat
-
setForceAuthentication
public void setForceAuthentication(boolean forceAuthentication) -
setIsPassive
public void setIsPassive(boolean isPassive) -
setDecryptionKey
-
setSigningKeyPair
-
setRoleAttributeNames
-
setRoleMappingsProvider
-
setPrincipalNamePolicy
-
setPrincipalAttributeName
-
getLogoutPage
- Specified by:
getLogoutPage
in interfaceSamlDeployment
-
setLogoutPage
-
getSignatureCanonicalizationMethod
- Specified by:
getSignatureCanonicalizationMethod
in interfaceSamlDeployment
-
setSignatureCanonicalizationMethod
-
getSignatureAlgorithm
- Specified by:
getSignatureAlgorithm
in interfaceSamlDeployment
-
setSignatureAlgorithm
-
isAutodetectBearerOnly
public boolean isAutodetectBearerOnly()- Specified by:
isAutodetectBearerOnly
in interfaceSamlDeployment
-
setAutodetectBearerOnly
public void setAutodetectBearerOnly(boolean autodetectBearerOnly) -
isKeepDOMAssertion
public boolean isKeepDOMAssertion()- Specified by:
isKeepDOMAssertion
in interfaceSamlDeployment
-
setKeepDOMAssertion
-