Uses of Interface
org.forgerock.opendj.ldap.ConnectionFactory
-
Packages that use ConnectionFactory Package Description org.forgerock.openam.ldap This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.security An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF basedKeyStore
service. -
-
Uses of ConnectionFactory in org.forgerock.openam.ldap
Methods in org.forgerock.openam.ldap that return ConnectionFactory Modifier and Type Method Description static ConnectionFactory
LDAPUtils. createFailoverConnectionFactory(String host, int defaultPort, boolean ssl, String authDN, String authPasswd, 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, 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)
Creates a new connection pool that is capable to failover to the servers defined in case there is an error.static ConnectionFactory
LDAPUtils. newNamedConnectionFactory(ConnectionFactory factory, String name)
Creates a new connection factory which forwards connection requests to the provided factory, but whosetoString
method will always returnname
.static ConnectionFactory
LDAPUtils. newPasswordConnectionFactory(Set<org.forgerock.openam.ldap.LDAPURL> servers, String username, char[] password, int maxSize, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTLS, boolean sslTrustAll, Options ldapOptions)
Creates a new connection pooled connection factory that is capable to failover to the servers defined in case there is an error.static ConnectionFactory
LDAPUtils. newPasswordConnectionFactory(Set<org.forgerock.openam.ldap.LDAPURL> primaryServers, Set<org.forgerock.openam.ldap.LDAPURL> secondaryServers, String username, char[] password, int maxSize, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTLS, boolean sslTrustAll, Options ldapOptions)
Creates a new connection pooled connection factory that is capable to failover to the servers defined in case there is an error.static ConnectionFactory
LDAPUtils. newPrioritizedFailoverConnectionFactory(Set<String> servers, String hostServerId, String hostSiteId, String username, char[] password, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTLS, boolean sslTrustAll, Options options)
Based on the incoming parameters prioritizes the LDAP server list, then creates a connection factory that is capable to failover to the servers defined in case there is an error.static ConnectionFactory
LDAPUtils. newPrioritizedFailoverConnectionPool(Set<String> servers, String hostServerId, String hostSiteId, String username, char[] password, int maxSize, int heartBeatInterval, String heartBeatTimeUnit, boolean useStartTLS, boolean sslTrustAll, Options ldapOptions)
Based on the incoming parameters prioritizes the LDAP server list, then creates a connection pool that is capable to failover to the servers defined in case there is an error.Methods in org.forgerock.openam.ldap with parameters of type ConnectionFactory Modifier and Type Method Description static ConnectionFactory
LDAPUtils. newNamedConnectionFactory(ConnectionFactory factory, String name)
Creates a new connection factory which forwards connection requests to the provided factory, but whosetoString
method will always returnname
. -
Uses of ConnectionFactory in org.forgerock.opendj.ldap
Classes in org.forgerock.opendj.ldap that implement ConnectionFactory Modifier and Type Class Description class
LdapConnectionFactory
A factory class which can be used to obtain connections to an LDAP Directory Server.Methods in org.forgerock.opendj.ldap that return ConnectionFactory Modifier and Type Method Description static ConnectionFactory
Connections. newInternalConnectionFactory(io.reactivex.rxjava3.functions.BiFunction<Integer,Request,io.reactivex.rxjava3.core.Flowable<Response>> requestHandler)
Creates a newConnectionFactory
which will route requests to the providedrequestHandler
.static ConnectionFactory
Connections. uncloseable(ConnectionFactory factory)
Returns an uncloseable view of the provided connection factory.Methods in org.forgerock.opendj.ldap with parameters of type ConnectionFactory Modifier and Type Method Description static ConnectionFactory
Connections. uncloseable(ConnectionFactory factory)
Returns an uncloseable view of the provided connection factory. -
Uses of ConnectionFactory in org.forgerock.opendj.security
Methods in org.forgerock.opendj.security with parameters of type ConnectionFactory Modifier and Type Method Description static KeyStoreParameters
KeyStoreParameters. newKeyStoreParameters(ConnectionFactory factory, Dn baseDN)
Creates a set of LDAP key store parameters with default options.static KeyStoreParameters
KeyStoreParameters. newKeyStoreParameters(ConnectionFactory factory, Dn baseDN, Options options)
Creates a set of LDAP key store parameters with custom options.static KeyStore
OpenDjSecurityProvider. newLdapKeyStore(ConnectionFactory factory, Dn baseDN)
Creates a new LDAP key store with default options.static KeyStore
OpenDjSecurityProvider. newLdapKeyStore(ConnectionFactory factory, Dn baseDN, Options options)
Creates a new LDAP key store with custom options.
-