Class SAMLIdentityProviderConfig

java.lang.Object
org.keycloak.models.IdentityProviderModel
org.keycloak.broker.saml.SAMLIdentityProviderConfig
All Implemented Interfaces:
Serializable

public class SAMLIdentityProviderConfig extends IdentityProviderModel
Author:
Pedro Igor
See Also:
  • Field Details

  • Constructor Details

    • SAMLIdentityProviderConfig

      public SAMLIdentityProviderConfig()
    • SAMLIdentityProviderConfig

      public SAMLIdentityProviderConfig(IdentityProviderModel identityProviderModel)
  • Method Details

    • getEntityId

      public String getEntityId()
    • setEntityId

      public void setEntityId(String entityId)
    • getIdpEntityId

      public String getIdpEntityId()
    • setIdpEntityId

      public void setIdpEntityId(String idpEntityId)
    • getSingleSignOnServiceUrl

      public String getSingleSignOnServiceUrl()
    • setSingleSignOnServiceUrl

      public void setSingleSignOnServiceUrl(String singleSignOnServiceUrl)
    • getArtifactResolutionServiceUrl

      public String getArtifactResolutionServiceUrl()
    • setArtifactResolutionServiceUrl

      public void setArtifactResolutionServiceUrl(String artifactResolutionServiceUrl)
    • getSingleLogoutServiceUrl

      public String getSingleLogoutServiceUrl()
    • setSingleLogoutServiceUrl

      public void setSingleLogoutServiceUrl(String singleLogoutServiceUrl)
    • isValidateSignature

      public boolean isValidateSignature()
    • setValidateSignature

      public void setValidateSignature(boolean validateSignature)
    • isForceAuthn

      public boolean isForceAuthn()
    • setForceAuthn

      public void setForceAuthn(boolean forceAuthn)
    • getSigningCertificate

      public String getSigningCertificate()
      Deprecated.
      Parameters:
      signingCertificate -
    • setSigningCertificate

      public void setSigningCertificate(String signingCertificate)
      Deprecated.
      Parameters:
      signingCertificate -
    • addSigningCertificate

      public void addSigningCertificate(String signingCertificate)
    • getSigningCertificates

      public String[] getSigningCertificates()
    • getNameIDPolicyFormat

      public String getNameIDPolicyFormat()
    • setNameIDPolicyFormat

      public void setNameIDPolicyFormat(String nameIDPolicyFormat)
    • isWantAuthnRequestsSigned

      public boolean isWantAuthnRequestsSigned()
    • setWantAuthnRequestsSigned

      public void setWantAuthnRequestsSigned(boolean wantAuthnRequestsSigned)
    • isWantAssertionsSigned

      public boolean isWantAssertionsSigned()
    • setWantAssertionsSigned

      public void setWantAssertionsSigned(boolean wantAssertionsSigned)
    • isWantAssertionsEncrypted

      public boolean isWantAssertionsEncrypted()
    • setWantAssertionsEncrypted

      public void setWantAssertionsEncrypted(boolean wantAssertionsEncrypted)
    • isAddExtensionsElementWithKeyInfo

      public boolean isAddExtensionsElementWithKeyInfo()
    • setAddExtensionsElementWithKeyInfo

      public void setAddExtensionsElementWithKeyInfo(boolean addExtensionsElementWithKeyInfo)
    • getSignatureAlgorithm

      public String getSignatureAlgorithm()
    • setSignatureAlgorithm

      public void setSignatureAlgorithm(String signatureAlgorithm)
    • getEncryptionAlgorithm

      public String getEncryptionAlgorithm()
    • setEncryptionAlgorithm

      public void setEncryptionAlgorithm(String encryptionAlgorithm)
    • getEncryptionPublicKey

      public String getEncryptionPublicKey()
    • setEncryptionPublicKey

      public void setEncryptionPublicKey(String encryptionPublicKey)
    • isPostBindingAuthnRequest

      public boolean isPostBindingAuthnRequest()
    • setPostBindingAuthnRequest

      public void setPostBindingAuthnRequest(boolean postBindingAuthnRequest)
    • isPostBindingResponse

      public boolean isPostBindingResponse()
    • setPostBindingResponse

      public void setPostBindingResponse(boolean postBindingResponse)
    • isPostBindingLogout

      public boolean isPostBindingLogout()
    • setPostBindingLogout

      public void setPostBindingLogout(boolean postBindingLogout)
    • isBackchannelSupported

      public boolean isBackchannelSupported()
    • setBackchannelSupported

      public void setBackchannelSupported(boolean backchannel)
    • isArtifactBindingResponse

      public boolean isArtifactBindingResponse()
    • setArtifactBindingResponse

      public void setArtifactBindingResponse(boolean backchannel)
    • getXmlSigKeyInfoKeyNameTransformer

      public XmlKeyInfoKeyNameTransformer 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)
    • getAllowedClockSkew

      public int getAllowedClockSkew()
    • setAllowedClockSkew

      public void setAllowedClockSkew(int allowedClockSkew)
    • getPrincipalType

      public SamlPrincipalType getPrincipalType()
    • setPrincipalType

      public void setPrincipalType(SamlPrincipalType principalType)
    • getPrincipalAttribute

      public String getPrincipalAttribute()
    • setPrincipalAttribute

      public void setPrincipalAttribute(String principalAttribute)
    • isEnabledFromMetadata

      public boolean isEnabledFromMetadata()
    • setEnabledFromMetadata

      public void setEnabledFromMetadata(boolean enabled)
    • getAuthnContextComparisonType

      public AuthnContextComparisonType getAuthnContextComparisonType()
    • setAuthnContextComparisonType

      public void setAuthnContextComparisonType(AuthnContextComparisonType authnContextComparisonType)
    • getAuthnContextClassRefs

      public String getAuthnContextClassRefs()
    • setAuthnContextClassRefs

      public void setAuthnContextClassRefs(String authnContextClassRefs)
    • getAuthnContextDeclRefs

      public String getAuthnContextDeclRefs()
    • setAuthnContextDeclRefs

      public void setAuthnContextDeclRefs(String authnContextDeclRefs)
    • isSignSpMetadata

      public boolean isSignSpMetadata()
    • setSignSpMetadata

      public void setSignSpMetadata(boolean signSpMetadata)
    • isAllowCreate

      public boolean isAllowCreate()
    • setAllowCreated

      public void setAllowCreated(boolean allowCreate)
    • getAttributeConsumingServiceIndex

      public Integer getAttributeConsumingServiceIndex()
    • setAttributeConsumingServiceIndex

      public void setAttributeConsumingServiceIndex(Integer attributeConsumingServiceIndex)
    • setAttributeConsumingServiceName

      public void setAttributeConsumingServiceName(String attributeConsumingServiceName)
    • getAttributeConsumingServiceName

      public String getAttributeConsumingServiceName()
    • setUseMetadataDescriptorUrl

      public void setUseMetadataDescriptorUrl(Boolean useDescriptorUrl)
    • isUseMetadataDescriptorUrl

      public boolean isUseMetadataDescriptorUrl()
    • validate

      public void validate(RealmModel realm)
      Description copied from class: IdentityProviderModel

      Validates this configuration.

      Sub-classes can override this method in order to enforce provider specific validations.

      Overrides:
      validate in class IdentityProviderModel
      Parameters:
      realm - the realm