Package org.keycloak.protocol.saml
Class SamlClient
java.lang.Object
org.keycloak.models.ClientConfigResolver
org.keycloak.protocol.saml.SamlClient
Configuration of a SAML-enabled client.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionstatic final XmlKeyInfoKeyNameTransformer
protected static final org.jboss.logging.Logger
Fields inherited from class org.keycloak.models.ClientConfigResolver
client
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
int
Always returns non-null
result.boolean
boolean
boolean
boolean
boolean
boolean
static String
samlNameIDFormatToClientAttribute
(String nameIdFormat) void
setAddExtensionsElementWithKeyInfo
(boolean val) void
setAllowECPFlow
(boolean val) void
setArtifactBindingIdentifierFrom
(String identifierFrom) void
setAssertionLifespan
(int assertionLifespan) void
setCanonicalizationMethod
(String value) void
void
void
void
void
setForceArtifactBinding
(boolean val) void
setForceNameIDFormat
(boolean val) void
setForcePostBinding
(boolean val) void
setIncludeAuthnStatement
(boolean val) void
setIncludeOneTimeUseCondition
(boolean val) void
setNameIDFormat
(String format) void
setRequiresAssertionSignature
(boolean val) void
setRequiresClientSignature
(boolean val) void
setRequiresEncryption
(boolean val) void
setRequiresRealmSignature
(boolean val) void
setSignatureAlgorithm
(SignatureAlgorithm algorithm) void
setXmlSigKeyInfoKeyNameTransformer
(XmlKeyInfoKeyNameTransformer xmlSigKeyInfoKeyNameTransformer) Methods inherited from class org.keycloak.models.ClientConfigResolver
isFrontchannelLogout, resolveAttribute
-
Field Details
-
logger
protected static final org.jboss.logging.Logger logger -
DEFAULT_XML_KEY_INFO_KEY_NAME_TRANSFORMER
-
-
Constructor Details
-
SamlClient
-
-
Method Details
-
getCanonicalizationMethod
-
setCanonicalizationMethod
-
getSignatureAlgorithm
-
setSignatureAlgorithm
-
getNameIDFormat
-
samlNameIDFormatToClientAttribute
-
setNameIDFormat
-
includeAuthnStatement
public boolean includeAuthnStatement() -
setIncludeAuthnStatement
public void setIncludeAuthnStatement(boolean val) -
forceNameIDFormat
public boolean forceNameIDFormat() -
setForceNameIDFormat
public void setForceNameIDFormat(boolean val) -
allowECPFlow
public boolean allowECPFlow() -
setAllowECPFlow
public void setAllowECPFlow(boolean val) -
forceArtifactBinding
public boolean forceArtifactBinding() -
setForceArtifactBinding
public void setForceArtifactBinding(boolean val) -
requiresRealmSignature
public boolean requiresRealmSignature() -
setRequiresRealmSignature
public void setRequiresRealmSignature(boolean val) -
addExtensionsElementWithKeyInfo
public boolean addExtensionsElementWithKeyInfo() -
setAddExtensionsElementWithKeyInfo
public void setAddExtensionsElementWithKeyInfo(boolean val) -
forcePostBinding
public boolean forcePostBinding() -
setForcePostBinding
public void setForcePostBinding(boolean val) -
requiresAssertionSignature
public boolean requiresAssertionSignature() -
setRequiresAssertionSignature
public void setRequiresAssertionSignature(boolean val) -
requiresEncryption
public boolean requiresEncryption() -
setRequiresEncryption
public void setRequiresEncryption(boolean val) -
requiresClientSignature
public boolean requiresClientSignature() -
setRequiresClientSignature
public void setRequiresClientSignature(boolean val) -
getClientSigningCertificate
-
setClientSigningCertificate
-
getClientSigningPrivateKey
-
setClientSigningPrivateKey
-
getClientEncryptingCertificate
-
setClientEncryptingCertificate
-
getClientEncryptingPrivateKey
-
setClientEncryptingPrivateKey
-
getXmlSigKeyInfoKeyNameTransformer
Always returns non-null
result.- Returns:
- Configured ransformer of
DEFAULT_XML_KEY_INFO_KEY_NAME_TRANSFORMER
if not set.
-
setXmlSigKeyInfoKeyNameTransformer
public void setXmlSigKeyInfoKeyNameTransformer(XmlKeyInfoKeyNameTransformer xmlSigKeyInfoKeyNameTransformer) -
includeOneTimeUseCondition
public boolean includeOneTimeUseCondition() -
setIncludeOneTimeUseCondition
public void setIncludeOneTimeUseCondition(boolean val) -
setAssertionLifespan
public void setAssertionLifespan(int assertionLifespan) -
getAssertionLifespan
public int getAssertionLifespan() -
setArtifactBindingIdentifierFrom
-
getArtifactBindingIdentifier
-