Class UmaPendingRequestDataLayerConfiguration
- java.lang.Object
-
- org.forgerock.openam.cts.impl.LDAPConfig
-
- org.forgerock.openam.sm.datalayer.impl.ldap.LdapDataLayerConfiguration
-
- org.forgerock.openam.sm.datalayer.impl.UmaPendingRequestDataLayerConfiguration
-
public class UmaPendingRequestDataLayerConfiguration extends LdapDataLayerConfiguration
A data layer configuration for use with UMA pending requests.- See Also:
ConnectionType.UMA_PENDING_REQUESTS
-
-
Constructor Summary
Constructors Constructor Description UmaPendingRequestDataLayerConfiguration(String rootSuffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetCustomTokenRootSuffixProperty()The system property that will contain a custom token store root, if one has been set.StoreModegetStoreMode()protected org.forgerock.opendj.ldap.DNsetDefaultTokenDNPrefix(org.forgerock.opendj.ldap.DN root)This method should return a DN that is the default root for the token store, based on the provided OpenAM root.voidupdateExternalLdapConfiguration(ModifiedProperty<String> hosts, ModifiedProperty<String> username, ModifiedProperty<String> password, ModifiedProperty<String> maxConnections, ModifiedProperty<Boolean> sslMode, ModifiedProperty<Integer> heartbeat, ModifiedProperty<Boolean> affinityEnabled)Update the configuration of the LDAP connection details.-
Methods inherited from class org.forgerock.openam.cts.impl.LDAPConfig
getDefaultRootSuffix, getTokenStoreRootSuffix, hasChanged, update
-
-
-
-
Constructor Detail
-
UmaPendingRequestDataLayerConfiguration
@Inject public UmaPendingRequestDataLayerConfiguration(@Named("root-dn-suffix") String rootSuffix)
-
-
Method Detail
-
getStoreMode
public StoreMode getStoreMode()
- Specified by:
getStoreModein classLdapDataLayerConfiguration
-
updateExternalLdapConfiguration
public void updateExternalLdapConfiguration(ModifiedProperty<String> hosts, ModifiedProperty<String> username, ModifiedProperty<String> password, ModifiedProperty<String> maxConnections, ModifiedProperty<Boolean> sslMode, ModifiedProperty<Integer> heartbeat, ModifiedProperty<Boolean> affinityEnabled)
Description copied from class:LdapDataLayerConfigurationUpdate the configuration of the LDAP connection details.- Specified by:
updateExternalLdapConfigurationin classLdapDataLayerConfiguration- Parameters:
hosts- The LDAP hosts.username- The LDAP username.password- The LDAP password.maxConnections- The maximum number of connections.sslMode- The SSL mode.heartbeat- The heartbeat interval.affinityEnabled- Whether affinity based load balancing is enabled.
-
setDefaultTokenDNPrefix
protected org.forgerock.opendj.ldap.DN setDefaultTokenDNPrefix(org.forgerock.opendj.ldap.DN root)
Description copied from class:LDAPConfigThis method should return a DN that is the default root for the token store, based on the provided OpenAM root.- Specified by:
setDefaultTokenDNPrefixin classLDAPConfig- Parameters:
root- The OpenAM root.- Returns:
- The token store default root DN.
-
getCustomTokenRootSuffixProperty
protected String getCustomTokenRootSuffixProperty()
Description copied from class:LDAPConfigThe system property that will contain a custom token store root, if one has been set.- Specified by:
getCustomTokenRootSuffixPropertyin classLDAPConfig
-
-