public static class SAML2Config.SAML2ConfigBuilder extends Object
Modifier and Type | Method and Description |
---|---|
SAML2Config.SAML2ConfigBuilder |
attributeMap(Map<String,String> attributeMap)
Sets the attribute map on the SAML2ConfigBuilder.
|
SAML2Config |
build()
Builds a SAML2Config object.
|
SAML2Config.SAML2ConfigBuilder |
customAttributeMapperClassName(String customAttributeMapperClassName)
Sets the CustomAttributeMapper classname on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
customAttributeStatementsProviderClassName(String customAttributeStatementsProviderClassName)
Sets the CustomAttributeStatementsProvider classname on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
customAuthenticationStatementsProviderClassName(String customAuthenticationStatementsProviderClassName)
Sets the CustomAuthenticationStatementsProvider classname on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
customAuthNContextMapperClassName(String customAuthNContextMapperClassName)
Sets the CustomAuthNContextMapper classname on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
customAuthzDecisionStatementsProviderClassName(String customAuthzDecisionStatementsProviderClassName)
Sets the CustomAuthzDecisionStatementsProvider classname on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
customConditionsProviderClassName(String customConditionsProviderClassName)
Sets the CustomConditionsProvider classname on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
customSubjectProviderClassName(String customSubjectProviderClassName)
Sets the CustomSubjectProvider classname on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
encryptAssertion(boolean encryptAssertion)
Sets whether SAML2Config assertion should be encrypted.
|
SAML2Config.SAML2ConfigBuilder |
encryptAttributes(boolean encryptAttributes)
Sets whether SAML2Config attributes should be encrypted.
|
SAML2Config.SAML2ConfigBuilder |
encryptionAlgorithm(String encryptionAlgorithm)
Sets the SAML2Config encryption algorithm.
|
SAML2Config.SAML2ConfigBuilder |
encryptionAlgorithmStrength(int encryptionAlgorithmStrength)
Sets the SAML2Config encryption strength.
|
SAML2Config.SAML2ConfigBuilder |
encryptionKeyAlias(String encryptionKeyAlias)
Sets the encryption key alias on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
encryptNameID(boolean encryptNameID)
Sets whether the SAML2Config name-id should be encrypted.
|
SAML2Config.SAML2ConfigBuilder |
idpId(String idpId)
Sets the Idenity Provider id on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
keystoreFile(String keystoreFileName)
Sets the keystore filename on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
keystorePassword(byte[] keystorePassword)
Sets the keystore password on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
keyTransportAlgorithm(String keyTransportAlgorithm)
Sets the SAML2Config key transport algorithm.
|
SAML2Config.SAML2ConfigBuilder |
nameIdFormat(String nameIdFormat)
Sets the name-id format on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
signAssertion(boolean signAssertion)
Sets whether the SAML2Config assertion should be signed.
|
SAML2Config.SAML2ConfigBuilder |
signatureKeyAlias(String signatureKeyAlias)
Sets the signature key alias on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
signatureKeyPassword(byte[] signatureKeyPassword)
Sets the signature key password on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
spAcsUrl(String spAcsUrl)
Sets the SP ACS url on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
spEntityId(String spEntityId)
Sets the SP entity id on the SAML2ConfigBuilder.
|
SAML2Config.SAML2ConfigBuilder |
tokenLifetimeInSeconds(long lifetimeInSeconds)
Sets the token lifetime (in seconds) on the SAML2ConfigBuilder.
|
public SAML2Config.SAML2ConfigBuilder nameIdFormat(String nameIdFormat)
nameIdFormat
- the name-id format.public SAML2Config.SAML2ConfigBuilder idpId(String idpId)
idpId
- the Identity Provider id.public SAML2Config.SAML2ConfigBuilder attributeMap(Map<String,String> attributeMap)
attributeMap
- the attribute map.public SAML2Config.SAML2ConfigBuilder tokenLifetimeInSeconds(long lifetimeInSeconds)
lifetimeInSeconds
- the token lifetime.public SAML2Config.SAML2ConfigBuilder customConditionsProviderClassName(String customConditionsProviderClassName)
customConditionsProviderClassName
- the CustomConditionsProvider classname.public SAML2Config.SAML2ConfigBuilder customSubjectProviderClassName(String customSubjectProviderClassName)
customSubjectProviderClassName
- the CustomSubjectProvider classname.public SAML2Config.SAML2ConfigBuilder customAuthenticationStatementsProviderClassName(String customAuthenticationStatementsProviderClassName)
customAuthenticationStatementsProviderClassName
- the CustomAuthenticationStatementsProvider classname.public SAML2Config.SAML2ConfigBuilder customAttributeStatementsProviderClassName(String customAttributeStatementsProviderClassName)
customAttributeStatementsProviderClassName
- the CustomAuthenticationStatementsProvider classname.public SAML2Config.SAML2ConfigBuilder customAuthzDecisionStatementsProviderClassName(String customAuthzDecisionStatementsProviderClassName)
customAuthzDecisionStatementsProviderClassName
- the CustomAuthzDecisionStatementsProvider classname.public SAML2Config.SAML2ConfigBuilder customAttributeMapperClassName(String customAttributeMapperClassName)
customAttributeMapperClassName
- the CustomAttributeMapper classname.public SAML2Config.SAML2ConfigBuilder customAuthNContextMapperClassName(String customAuthNContextMapperClassName)
customAuthNContextMapperClassName
- the CustomAuthNContextMapper classname.public SAML2Config.SAML2ConfigBuilder spEntityId(String spEntityId)
spEntityId
- the SP entity id.public SAML2Config.SAML2ConfigBuilder spAcsUrl(String spAcsUrl)
spAcsUrl
- the SP ACS url.public SAML2Config.SAML2ConfigBuilder signatureKeyAlias(String signatureKeyAlias)
signatureKeyAlias
- the signature key alias.public SAML2Config.SAML2ConfigBuilder signatureKeyPassword(byte[] signatureKeyPassword)
signatureKeyPassword
- the signature key password.public SAML2Config.SAML2ConfigBuilder encryptionKeyAlias(String encryptionKeyAlias)
encryptionKeyAlias
- the encryption key alias.public SAML2Config.SAML2ConfigBuilder signAssertion(boolean signAssertion)
signAssertion
- whether the assertion should be signed.public SAML2Config.SAML2ConfigBuilder encryptNameID(boolean encryptNameID)
encryptNameID
- whether the name-id should be encrypted.public SAML2Config.SAML2ConfigBuilder encryptAttributes(boolean encryptAttributes)
encryptAttributes
- whether the attributes should be encrypted.public SAML2Config.SAML2ConfigBuilder encryptAssertion(boolean encryptAssertion)
encryptAssertion
- whether the assertion should be encrypted.public SAML2Config.SAML2ConfigBuilder encryptionAlgorithm(String encryptionAlgorithm)
encryptionAlgorithm
- the encryption algorithm.public SAML2Config.SAML2ConfigBuilder encryptionAlgorithmStrength(int encryptionAlgorithmStrength)
encryptionAlgorithmStrength
- the encryption strength.public SAML2Config.SAML2ConfigBuilder keyTransportAlgorithm(String keyTransportAlgorithm)
keyTransportAlgorithm
- The key transport algorithm.public SAML2Config.SAML2ConfigBuilder keystoreFile(String keystoreFileName)
keystoreFileName
- the keystore filename.public SAML2Config.SAML2ConfigBuilder keystorePassword(byte[] keystorePassword)
keystorePassword
- the keystore password.public SAML2Config build()
Copyright © 2010-2018, ForgeRock All Rights Reserved.