public interface OpenAMSettings
Modifier and Type | Method and Description |
---|---|
Boolean |
getBooleanSetting(String realm,
String attributeName)
Gets the raw
Set of the values of the specified attribute name in the given realm and gets the first
value and parses it to a Boolean. |
Long |
getLongSetting(String realm,
String attributeName)
Gets the raw
Set of the values of the specified attribute name in the given realm and gets the first
value and decodes it to a Long. |
Map<String,String> |
getMapSetting(String realm,
String attributeName)
Gets a setting from the given realm and parses it as into a Map from string keys to string values, according
to the
MapValueParser format. |
KeyPair |
getServerKeyPair(String realm,
String attributeName)
Gets the key pair that OpenAM is configured to use for the specified realm.
|
Set<String> |
getSetting(String realm,
String attributeName)
Gets the raw
Set of the values of the specified attribute name in the given realm. |
KeyPair |
getSigningKeyPair(String realm,
org.forgerock.json.jose.jws.JwsAlgorithm algorithm)
Gets the key pair that OpenAM is configured to use for the specified realm.
|
String |
getSSOCookieName()
Gets the name of the SSO Cookie.
|
String |
getStringSetting(String realm,
String attributeName)
Gets the raw
Set of the values of the specified attribute name in the given realm and gets the first
value. |
boolean |
hasConfig(String realm)
Whether there is realm config for the service
|
Set<String> getSetting(String realm, String attributeName) throws SSOException, SMSException
Set
of the values of the specified attribute name in the given realm.realm
- The realm.attributeName
- The attribute name,.Set
of values.SSOException
- If there is a problem getting the setting value.SMSException
- If there is a problem getting the setting value.String getStringSetting(String realm, String attributeName) throws SSOException, SMSException
Set
of the values of the specified attribute name in the given realm and gets the first
value.realm
- The realm.attributeName
- The attribute name,.Set
of values.SSOException
- If there is a problem getting the setting value.SMSException
- If there is a problem getting the setting value.Long getLongSetting(String realm, String attributeName) throws SSOException, SMSException
Set
of the values of the specified attribute name in the given realm and gets the first
value and decodes it to a Long.realm
- The realm.attributeName
- The attribute name,.Set
of values.SSOException
- If there is a problem getting the setting value.SMSException
- If there is a problem getting the setting value.Boolean getBooleanSetting(String realm, String attributeName) throws SSOException, SMSException
Set
of the values of the specified attribute name in the given realm and gets the first
value and parses it to a Boolean.realm
- The realm.attributeName
- The attribute name,.Set
of values.SSOException
- If there is a problem getting the setting value.SMSException
- If there is a problem getting the setting value.Map<String,String> getMapSetting(String realm, String attributeName) throws SSOException, SMSException
MapValueParser
format.realm
- the realm.attributeName
- the attribute name.Map
of values parsed from the attribute.SSOException
- If there is a problem getting the setting value.SMSException
- If there is a problem getting the setting value.KeyPair getSigningKeyPair(String realm, org.forgerock.json.jose.jws.JwsAlgorithm algorithm) throws SMSException, SSOException
realm
- The realm.algorithm
- The signing algorithm.SSOException
- If there is a problem getting the setting value.SMSException
- If there is a problem getting the setting value.KeyPair getServerKeyPair(String realm, String attributeName) throws SMSException, SSOException
realm
- The realm.attributeName
- The attribute name the alias for the key pair is stored.SSOException
- If there is a problem getting the setting value.SMSException
- If there is a problem getting the setting value.String getSSOCookieName()
boolean hasConfig(String realm) throws SSOException, SMSException
SSOException
SMSException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.