public class SAML2Config extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SAML2Config.SAML2ConfigBuilder
Builder used to programmatically create SAML2Config objects
|
Modifier and Type | Method and Description |
---|---|
static SAML2Config.SAML2ConfigBuilder |
builder()
Creates a new
SAML2ConfigBuilder . |
boolean |
encryptAssertion()
Gets whether the assertion should be encrypted.
|
boolean |
encryptAttributes()
Gets whether the attributes should be encrypted.
|
boolean |
encryptNameID()
Gets whether the name-id should be encrypted.
|
boolean |
equals(Object other) |
static SAML2Config |
fromJson(JsonValue json)
Creates a SAML2Config object from a
JsonValue representation |
static SAML2Config |
fromSmsJson(JsonValue json)
Creates a SAML2Config object from a SMS
JsonValue representation |
Map<String,String> |
getAttributeMap()
Gets the attribute map.
|
String |
getCustomAttributeMapperClassName()
Gets the classname of the CustomAttributeMapper.
|
String |
getCustomAttributeStatementsProviderClassName()
Gets the classname of the CustomAttributeStatementsProvider.
|
String |
getCustomAuthenticationStatementsProviderClassName()
Gets the classname of the CustomAuthenticationStatementsProvider.
|
String |
getCustomAuthNContextMapperClassName()
Gets the classname of the CustomAuthNContextMapper.
|
String |
getCustomAuthzDecisionStatementsProviderClassName()
Gets the classname of the CustomAuthzDecisionStatementsProvider.
|
String |
getCustomConditionsProviderClassName()
Gets the classname of the CustomConditionsProvider.
|
String |
getCustomSubjectProviderClassName()
Gets the classname of the CustomSubjectProvider.
|
static Map<String,Set<String>> |
getEmptySMSAttributeState()
Returns an empty attribute map.
|
String |
getEncryptionAlgorithm()
Gets the encryption algorithm.
|
int |
getEncryptionAlgorithmStrength()
Gets the encryption algorithm strength.
|
String |
getEncryptionKeyAlias()
Gets the encryption key alias.
|
String |
getIdpId()
Gets the Identity Provider id.
|
String |
getKeystoreFileName()
Gets the keystore filename.
|
byte[] |
getKeystorePassword()
Gets the keystore password.
|
String |
getKeyTransportAlgorithm()
Gets the key transport algorithm.
|
String |
getNameIdFormat()
Gets the name-id format.
|
String |
getSignatureKeyAlias()
Gets the signature key alias.
|
byte[] |
getSignatureKeyPassword()
Gets the signature key password.
|
String |
getSpAcsUrl()
Gets the SP ACS url.
|
String |
getSpEntityId()
Gets the SP entity id.
|
long |
getTokenLifetimeInSeconds()
Gets the token lifetime (in seconds).
|
int |
hashCode() |
static SAML2Config |
marshalFromAttributeMap(Map<String,Set<String>> smsAttributeMap)
Marshals an attribute map into a SAML2Config
|
Map<String,Set<String>> |
marshalToAttributeMap()
Marshals the SAML2Config into an attribute map
|
boolean |
signAssertion()
Gets whether the assertion should be signed.
|
JsonValue |
toJson()
Gets the
JsonValue representation of the SAML2Config. |
JsonValue |
toSmsJson()
Gets the SMS
JsonValue representation of the SAML2Config. |
String |
toString() |
public static SAML2Config.SAML2ConfigBuilder builder()
SAML2ConfigBuilder
.SAML2ConfigBuilder
.public String getNameIdFormat()
public long getTokenLifetimeInSeconds()
public Map<String,String> getAttributeMap()
public String getCustomConditionsProviderClassName()
public String getCustomSubjectProviderClassName()
public String getCustomAuthenticationStatementsProviderClassName()
public String getCustomAttributeMapperClassName()
public String getCustomAuthNContextMapperClassName()
public String getCustomAttributeStatementsProviderClassName()
public String getCustomAuthzDecisionStatementsProviderClassName()
public boolean signAssertion()
public boolean encryptNameID()
public boolean encryptAttributes()
public boolean encryptAssertion()
public String getEncryptionAlgorithm()
public int getEncryptionAlgorithmStrength()
public String getKeyTransportAlgorithm()
public String getKeystoreFileName()
public byte[] getKeystorePassword()
public String getSpEntityId()
public String getSpAcsUrl()
public String getEncryptionKeyAlias()
public String getSignatureKeyAlias()
public byte[] getSignatureKeyPassword()
public String getIdpId()
public JsonValue toJson()
JsonValue
representation of the SAML2Config.JsonValue
representation of the SAML2Config.public JsonValue toSmsJson()
JsonValue
representation of the SAML2Config.JsonValue
representation of the SAML2Config.public static SAML2Config fromJson(JsonValue json) throws IllegalStateException
JsonValue
representationjson
- the JsonValue
representation.IllegalStateException
- If there is an error parsing the JSON.public static SAML2Config fromSmsJson(JsonValue json) throws IllegalStateException
JsonValue
representationjson
- the SMS JsonValue
representation.IllegalStateException
- If there is an error parsing the JSON.public Map<String,Set<String>> marshalToAttributeMap()
public static SAML2Config marshalFromAttributeMap(Map<String,Set<String>> smsAttributeMap)
smsAttributeMap
- the attribute map.Copyright © 2010-2018, ForgeRock All Rights Reserved.