Uses of Class
org.forgerock.openam.secrets.Secrets
Package
Description
This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.
A package containing a set of script-friendly classes and functionality that are intended to simplify
use of the Secrets API from within a scripting context.
-
Uses of Secrets in org.forgerock.openam.ldap
Modifier and TypeMethodDescriptionstatic ConnectionFactory
LDAPUtils.createFailoverConnectionFactory
(String host, int defaultPort, boolean ssl, String authDN, String authPasswd, boolean mtlsEnabled, String mtlsSecretId, Realm realm, Secrets secrets, Options options) Creates a ConnectionFactory from the host string and associated details.static ConnectionFactory
LDAPUtils.newFailoverConnectionFactory
(Set<org.forgerock.openam.ldap.LDAPURL> servers, String username, char[] password, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTls, boolean sslTrustAll, boolean mtlsEnabled, String mtlsSecretId, Realm realm, Secrets secrets, Options ldapOptions) Creates a new connection factory that is capable to failover to the servers defined in case there is an error.static ConnectionFactory
LDAPUtils.newFailoverConnectionPool
(Set<org.forgerock.openam.ldap.LDAPURL> servers, String username, char[] password, int maxSize, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTLS, boolean sslTrustAll, Options ldapOptions, boolean mtlsEnabled, String mtlsSecretId, Secrets secrets, Realm realm) Creates a new connection pool that is capable to failover to the servers defined in case there is an error.static ConnectionFactory
LDAPUtils.newFailoverConnectionPool
(Set<org.forgerock.openam.ldap.LDAPURL> primaryUrls, Set<org.forgerock.openam.ldap.LDAPURL> secondaryUrls, String username, char[] password, int maxSize, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTLS, boolean sslTrustAll, boolean mtlsEnabled, String mtlsCertificateLabel, Realm realm, Secrets secrets, Options ldapOptions) Creates a new connection pool that is capable to failover from the primary to the secondary servers defined in case there is an error. -
Uses of Secrets in org.forgerock.openam.scripting.api.secrets
ModifierConstructorDescriptionScriptedSecrets
(Secrets secrets, Realm realm) Constructor.ScriptedSecrets
(Secrets secrets, Realm realm, Set<String> validPrefixes) Constructor.