public final class AmbientDataConfig extends Object
Note: This class is to be used by the framework internally only. Clients should not use this class directly.
Modifier and Type | Field and Description |
---|---|
static String |
AMBIENT_CONFIG_FILE
Reference to the main Ambient Config file.
|
Constructor and Description |
---|
AmbientDataConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getADFCookiePrefix()
Gets the adf cookie prefix.
|
static AmbientDataConfig |
getAmbientDataConfig() |
List<com.tridion.configuration.Configuration> |
getCartridgeConfigurations() |
String |
getClaimStoreProvider() |
ClaimValueScope |
getConfiguredClaimScope(URI claimUri) |
Set<URI> |
getConfiguredSessionScopeClaims() |
URI |
getCookieClaimName() |
String |
getCookieClaimNameString() |
CookieConfig |
getCookieConfiguration(CookieConfig.CookieType cookieType)
This returns the cookie configuration for the specified cookie type.
|
Boolean |
getDefaultCookieClaimValue() |
String |
getDigestKey()
DigestKey returns from the configuration.
|
List<String> |
getExcludedPaths() |
Map<String,List<String>> |
getForwardedClaims()
Returns a singleton map where the key is the cookie name that should be used for claims forwarding and
the value is the list of claims that should be forwarded.
|
List<String> |
getGloballyAcceptedClaims()
Returns a list of all claims that are allowed to be forwarded by incoming requests.
|
Date |
getGracePeriodEndDate() |
String |
getInstanceID() |
Set<String> |
getIPAddresses() |
String |
getRequestValidator() |
com.tridion.configuration.Configuration |
getRulesConfiguration() |
String |
getSharedSecret() |
com.tridion.configuration.Configuration |
getWhiteListFilterConfiguration() |
String |
getWhiteListFilterCustomClassName() |
boolean |
isAcceptingForwardedClaims()
Tells if Ambient Data Framework is enabled to receive forwarded claims.
|
boolean |
isCookieTypePresent(CookieConfig.CookieType cookieType)
This returns true if the cookie configuration is present for a specific cookie type.
|
boolean |
isOAuthEnabled() |
boolean |
isWhiteListFilterConfigured() |
public static final String AMBIENT_CONFIG_FILE
public AmbientDataConfig() throws com.tridion.configuration.ConfigurationException
com.tridion.configuration.ConfigurationException
public static AmbientDataConfig getAmbientDataConfig() throws com.tridion.configuration.ConfigurationException
com.tridion.configuration.ConfigurationException
public ClaimValueScope getConfiguredClaimScope(URI claimUri)
public Date getGracePeriodEndDate()
public URI getCookieClaimName()
public String getCookieClaimNameString()
public Boolean getDefaultCookieClaimValue()
public String getRequestValidator()
public boolean isOAuthEnabled()
public String getSharedSecret()
public String getClaimStoreProvider()
public String getInstanceID()
public List<String> getGloballyAcceptedClaims()
public Map<String,List<String>> getForwardedClaims()
public boolean isAcceptingForwardedClaims()
getGloballyAcceptedClaims()
public String getADFCookiePrefix()
public CookieConfig getCookieConfiguration(CookieConfig.CookieType cookieType)
cookieType
- The cookie type to retrieve the configuration forpublic boolean isCookieTypePresent(CookieConfig.CookieType cookieType)
cookieType
- The cookie type to retrieve the configuration forpublic String getDigestKey()
public com.tridion.configuration.Configuration getWhiteListFilterConfiguration()
public boolean isWhiteListFilterConfigured()
public String getWhiteListFilterCustomClassName()
public List<com.tridion.configuration.Configuration> getCartridgeConfigurations()
public com.tridion.configuration.Configuration getRulesConfiguration()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries