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 based
KeyStore service. |
Modifier and Type | Method and 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<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<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 whose
toString method will always return name . |
static ConnectionFactory |
LDAPUtils.newPasswordConnectionFactory(Set<LDAPURL> primaryServers,
Set<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.newPasswordConnectionFactory(Set<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.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.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory |
LDAPUtils.newNamedConnectionFactory(ConnectionFactory factory,
String name)
Creates a new connection factory which forwards connection requests to the provided factory, but whose
toString method will always return name . |
Modifier and Type | Class and Description |
---|---|
class |
LdapConnectionFactory
A factory class which can be used to obtain connections to an LDAP Directory Server.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory |
Connections.newInternalConnectionFactory(io.reactivex.functions.BiFunction<Integer,Request,io.reactivex.Flowable<Response>> requestHandler)
Creates a new
ConnectionFactory which will route requests to the provided requestHandler . |
static ConnectionFactory |
Connections.uncloseable(ConnectionFactory factory)
Returns an uncloseable view of the provided connection factory.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory |
Connections.uncloseable(ConnectionFactory factory)
Returns an uncloseable view of the provided connection factory.
|
Modifier and Type | Method and 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.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.