Package org.keycloak.broker.saml
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:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.keycloak.models.IdentityProviderModeladdReadTokenRoleOnCreate, ALLOWED_CLOCK_SKEW, HIDE_ON_LOGIN, linkOnly, LOGIN_HINT, PASS_MAX_AGE, SYNC_MODE
 
- 
 - 
Constructor SummaryConstructors Constructor Description SAMLIdentityProviderConfig()SAMLIdentityProviderConfig(IdentityProviderModel identityProviderModel)
 - 
Method Summary- 
Methods inherited from class org.keycloak.models.IdentityProviderModelgetAlias, getConfig, getDisplayIconClasses, getDisplayName, getFirstBrokerLoginFlowId, getInternalId, getPostBrokerLoginFlowId, getProviderId, getSyncMode, isAddReadTokenRoleOnCreate, isAuthenticateByDefault, isEnabled, isHideOnLogin, isLinkOnly, isLoginHint, isPassMaxAge, isStoreToken, isTrustEmail, setAddReadTokenRoleOnCreate, setAlias, setAuthenticateByDefault, setConfig, setDisplayName, setEnabled, setFirstBrokerLoginFlowId, setHideOnLogin, setInternalId, setLinkOnly, setLoginHint, setPassMaxAge, setPostBrokerLoginFlowId, setProviderId, setStoreToken, setSyncMode, setTrustEmail
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_XML_KEY_INFO_KEY_NAME_TRANSFORMERpublic static final XmlKeyInfoKeyNameTransformer DEFAULT_XML_KEY_INFO_KEY_NAME_TRANSFORMER 
 - 
ENTITY_IDpublic static final String ENTITY_ID - See Also:
- Constant Field Values
 
 - 
IDP_ENTITY_IDpublic static final String IDP_ENTITY_ID - See Also:
- Constant Field Values
 
 - 
ADD_EXTENSIONS_ELEMENT_WITH_KEY_INFOpublic static final String ADD_EXTENSIONS_ELEMENT_WITH_KEY_INFO - See Also:
- Constant Field Values
 
 - 
BACKCHANNEL_SUPPORTEDpublic static final String BACKCHANNEL_SUPPORTED - See Also:
- Constant Field Values
 
 - 
ENCRYPTION_PUBLIC_KEYpublic static final String ENCRYPTION_PUBLIC_KEY - See Also:
- Constant Field Values
 
 - 
FORCE_AUTHNpublic static final String FORCE_AUTHN - See Also:
- Constant Field Values
 
 - 
NAME_ID_POLICY_FORMATpublic static final String NAME_ID_POLICY_FORMAT - See Also:
- Constant Field Values
 
 - 
POST_BINDING_AUTHN_REQUESTpublic static final String POST_BINDING_AUTHN_REQUEST - See Also:
- Constant Field Values
 
 - 
POST_BINDING_LOGOUTpublic static final String POST_BINDING_LOGOUT - See Also:
- Constant Field Values
 
 - 
POST_BINDING_RESPONSEpublic static final String POST_BINDING_RESPONSE - See Also:
- Constant Field Values
 
 - 
SIGNATURE_ALGORITHMpublic static final String SIGNATURE_ALGORITHM - See Also:
- Constant Field Values
 
 - 
ENCRYPTION_ALGORITHMpublic static final String ENCRYPTION_ALGORITHM - See Also:
- Constant Field Values
 
 - 
SIGNING_CERTIFICATE_KEYpublic static final String SIGNING_CERTIFICATE_KEY - See Also:
- Constant Field Values
 
 - 
SINGLE_LOGOUT_SERVICE_URLpublic static final String SINGLE_LOGOUT_SERVICE_URL - See Also:
- Constant Field Values
 
 - 
SINGLE_SIGN_ON_SERVICE_URLpublic static final String SINGLE_SIGN_ON_SERVICE_URL - See Also:
- Constant Field Values
 
 - 
VALIDATE_SIGNATUREpublic static final String VALIDATE_SIGNATURE - See Also:
- Constant Field Values
 
 - 
PRINCIPAL_TYPEpublic static final String PRINCIPAL_TYPE - See Also:
- Constant Field Values
 
 - 
PRINCIPAL_ATTRIBUTEpublic static final String PRINCIPAL_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
WANT_ASSERTIONS_ENCRYPTEDpublic static final String WANT_ASSERTIONS_ENCRYPTED - See Also:
- Constant Field Values
 
 - 
WANT_ASSERTIONS_SIGNEDpublic static final String WANT_ASSERTIONS_SIGNED - See Also:
- Constant Field Values
 
 - 
WANT_AUTHN_REQUESTS_SIGNEDpublic static final String WANT_AUTHN_REQUESTS_SIGNED - See Also:
- Constant Field Values
 
 - 
XML_SIG_KEY_INFO_KEY_NAME_TRANSFORMERpublic static final String XML_SIG_KEY_INFO_KEY_NAME_TRANSFORMER - See Also:
- Constant Field Values
 
 - 
ENABLED_FROM_METADATApublic static final String ENABLED_FROM_METADATA - See Also:
- Constant Field Values
 
 - 
AUTHN_CONTEXT_COMPARISON_TYPEpublic static final String AUTHN_CONTEXT_COMPARISON_TYPE - See Also:
- Constant Field Values
 
 - 
AUTHN_CONTEXT_CLASS_REFSpublic static final String AUTHN_CONTEXT_CLASS_REFS - See Also:
- Constant Field Values
 
 - 
AUTHN_CONTEXT_DECL_REFSpublic static final String AUTHN_CONTEXT_DECL_REFS - See Also:
- Constant Field Values
 
 - 
SIGN_SP_METADATApublic static final String SIGN_SP_METADATA - See Also:
- Constant Field Values
 
 - 
ALLOW_CREATEpublic static final String ALLOW_CREATE - See Also:
- Constant Field Values
 
 - 
ATTRIBUTE_CONSUMING_SERVICE_INDEXpublic static final String ATTRIBUTE_CONSUMING_SERVICE_INDEX - See Also:
- Constant Field Values
 
 - 
ATTRIBUTE_CONSUMING_SERVICE_NAMEpublic static final String ATTRIBUTE_CONSUMING_SERVICE_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
SAMLIdentityProviderConfigpublic SAMLIdentityProviderConfig() 
 - 
SAMLIdentityProviderConfigpublic SAMLIdentityProviderConfig(IdentityProviderModel identityProviderModel) 
 
- 
 - 
Method Detail- 
getEntityIdpublic String getEntityId() 
 - 
setEntityIdpublic void setEntityId(String entityId) 
 - 
getIdpEntityIdpublic String getIdpEntityId() 
 - 
setIdpEntityIdpublic void setIdpEntityId(String idpEntityId) 
 - 
getSingleSignOnServiceUrlpublic String getSingleSignOnServiceUrl() 
 - 
setSingleSignOnServiceUrlpublic void setSingleSignOnServiceUrl(String singleSignOnServiceUrl) 
 - 
getSingleLogoutServiceUrlpublic String getSingleLogoutServiceUrl() 
 - 
setSingleLogoutServiceUrlpublic void setSingleLogoutServiceUrl(String singleLogoutServiceUrl) 
 - 
isValidateSignaturepublic boolean isValidateSignature() 
 - 
setValidateSignaturepublic void setValidateSignature(boolean validateSignature) 
 - 
isForceAuthnpublic boolean isForceAuthn() 
 - 
setForceAuthnpublic void setForceAuthn(boolean forceAuthn) 
 - 
getSigningCertificatepublic String getSigningCertificate() Deprecated.PrefergetSigningCertificates()}- Parameters:
- signingCertificate-
 
 - 
setSigningCertificatepublic void setSigningCertificate(String signingCertificate) Deprecated.PreferaddSigningCertificate(String)}- Parameters:
- signingCertificate-
 
 - 
addSigningCertificatepublic void addSigningCertificate(String signingCertificate) 
 - 
getSigningCertificatespublic String[] getSigningCertificates() 
 - 
getNameIDPolicyFormatpublic String getNameIDPolicyFormat() 
 - 
setNameIDPolicyFormatpublic void setNameIDPolicyFormat(String nameIDPolicyFormat) 
 - 
isWantAuthnRequestsSignedpublic boolean isWantAuthnRequestsSigned() 
 - 
setWantAuthnRequestsSignedpublic void setWantAuthnRequestsSigned(boolean wantAuthnRequestsSigned) 
 - 
isWantAssertionsSignedpublic boolean isWantAssertionsSigned() 
 - 
setWantAssertionsSignedpublic void setWantAssertionsSigned(boolean wantAssertionsSigned) 
 - 
isWantAssertionsEncryptedpublic boolean isWantAssertionsEncrypted() 
 - 
setWantAssertionsEncryptedpublic void setWantAssertionsEncrypted(boolean wantAssertionsEncrypted) 
 - 
isAddExtensionsElementWithKeyInfopublic boolean isAddExtensionsElementWithKeyInfo() 
 - 
setAddExtensionsElementWithKeyInfopublic void setAddExtensionsElementWithKeyInfo(boolean addExtensionsElementWithKeyInfo) 
 - 
getSignatureAlgorithmpublic String getSignatureAlgorithm() 
 - 
setSignatureAlgorithmpublic void setSignatureAlgorithm(String signatureAlgorithm) 
 - 
getEncryptionAlgorithmpublic String getEncryptionAlgorithm() 
 - 
setEncryptionAlgorithmpublic void setEncryptionAlgorithm(String encryptionAlgorithm) 
 - 
getEncryptionPublicKeypublic String getEncryptionPublicKey() 
 - 
setEncryptionPublicKeypublic void setEncryptionPublicKey(String encryptionPublicKey) 
 - 
isPostBindingAuthnRequestpublic boolean isPostBindingAuthnRequest() 
 - 
setPostBindingAuthnRequestpublic void setPostBindingAuthnRequest(boolean postBindingAuthnRequest) 
 - 
isPostBindingResponsepublic boolean isPostBindingResponse() 
 - 
setPostBindingResponsepublic void setPostBindingResponse(boolean postBindingResponse) 
 - 
isPostBindingLogoutpublic boolean isPostBindingLogout() 
 - 
setPostBindingLogoutpublic void setPostBindingLogout(boolean postBindingLogout) 
 - 
isBackchannelSupportedpublic boolean isBackchannelSupported() 
 - 
setBackchannelSupportedpublic void setBackchannelSupported(boolean backchannel) 
 - 
getXmlSigKeyInfoKeyNameTransformerpublic XmlKeyInfoKeyNameTransformer getXmlSigKeyInfoKeyNameTransformer() Always returns non-nullresult.- Returns:
- Configured ransformer of DEFAULT_XML_KEY_INFO_KEY_NAME_TRANSFORMERif not set.
 
 - 
setXmlSigKeyInfoKeyNameTransformerpublic void setXmlSigKeyInfoKeyNameTransformer(XmlKeyInfoKeyNameTransformer xmlSigKeyInfoKeyNameTransformer) 
 - 
getAllowedClockSkewpublic int getAllowedClockSkew() 
 - 
setAllowedClockSkewpublic void setAllowedClockSkew(int allowedClockSkew) 
 - 
getPrincipalTypepublic SamlPrincipalType getPrincipalType() 
 - 
setPrincipalTypepublic void setPrincipalType(SamlPrincipalType principalType) 
 - 
getPrincipalAttributepublic String getPrincipalAttribute() 
 - 
setPrincipalAttributepublic void setPrincipalAttribute(String principalAttribute) 
 - 
isEnabledFromMetadatapublic boolean isEnabledFromMetadata() 
 - 
setEnabledFromMetadatapublic void setEnabledFromMetadata(boolean enabled) 
 - 
getAuthnContextComparisonTypepublic AuthnContextComparisonType getAuthnContextComparisonType() 
 - 
setAuthnContextComparisonTypepublic void setAuthnContextComparisonType(AuthnContextComparisonType authnContextComparisonType) 
 - 
getAuthnContextClassRefspublic String getAuthnContextClassRefs() 
 - 
setAuthnContextClassRefspublic void setAuthnContextClassRefs(String authnContextClassRefs) 
 - 
getAuthnContextDeclRefspublic String getAuthnContextDeclRefs() 
 - 
setAuthnContextDeclRefspublic void setAuthnContextDeclRefs(String authnContextDeclRefs) 
 - 
isSignSpMetadatapublic boolean isSignSpMetadata() 
 - 
setSignSpMetadatapublic void setSignSpMetadata(boolean signSpMetadata) 
 - 
isAllowCreatepublic boolean isAllowCreate() 
 - 
setAllowCreatedpublic void setAllowCreated(boolean allowCreate) 
 - 
getAttributeConsumingServiceIndexpublic Integer getAttributeConsumingServiceIndex() 
 - 
setAttributeConsumingServiceIndexpublic void setAttributeConsumingServiceIndex(Integer attributeConsumingServiceIndex) 
 - 
setAttributeConsumingServiceNamepublic void setAttributeConsumingServiceName(String attributeConsumingServiceName) 
 - 
getAttributeConsumingServiceNamepublic String getAttributeConsumingServiceName() 
 - 
validatepublic void validate(RealmModel realm) Description copied from class:IdentityProviderModelValidates this configuration. Sub-classes can override this method in order to enforce provider specific validations. - Overrides:
- validatein class- IdentityProviderModel
- Parameters:
- realm- the realm
 
 
- 
 
-