Package | Description |
---|---|
org.forgerock.http.handler |
Core
Handler implementations. |
org.forgerock.http.spi |
HTTP service provider API.
|
org.forgerock.json.jose.jwe.handlers.encryption |
Encryption Handler classes for each possible encryption algorithm.
|
org.forgerock.openam.ldap |
This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.
|
org.forgerock.opendj.io |
Classes and interfaces providing I/O functionality.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.opendj.ldap.spi |
Interfaces and classes for service providers.
|
org.forgerock.opendj.ldif |
Classes and interfaces for reading and writing LDIF.
|
org.forgerock.opendj.security |
An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF based
KeyStore service. |
org.forgerock.secrets.jwkset |
Secret store backend for retrieving keys from a local or remote JWK Set.
|
org.forgerock.secrets.keystore |
Implementations of
SecretStore for accessing keys stored in Java KeyStores, such as
PKCS#11 Hardware Security Modules (HSMs) and PKCS#12 file-based encrypted key stores. |
org.forgerock.util |
Provides common interfaces and classes.
|
Constructor and Description |
---|
HttpClientHandler(Options options)
Creates a new HTTP client using the provided client options.
|
Modifier and Type | Method and Description |
---|---|
<S> S |
Loader.load(Class<S> service,
Options options)
Loads a service of the specified type.
|
HttpClient |
HttpClientProvider.newHttpClient(Options options)
Returns a new
HttpClient configured using the provided set of
options. |
Constructor and Description |
---|
RSAEncryptionHandler(EncryptionMethod encryptionMethod,
JweAlgorithm jweAlgorithm,
Options options)
Constructs a new RSAEncryptionHandler instance with the given options.
|
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 LdapConnectionFactory |
LDAPUtils.newFailoverConnectionPool(Set<LDAPURL> primaryUrls,
Set<LDAPURL> secondaryUrls,
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 from the primary to the secondary 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.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 |
---|---|
Options |
LdapSocketAcceptor.getOptions()
Returns a copy of the options currently used by this LDAP listener.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LdapSocketAcceptor.setOptions(Options newOptions)
Updates the options of this LDAP socket acceptor.
|
Modifier and Type | Method and Description |
---|---|
Options |
LdapServer.getOptions()
Returns a copy of the options currently used by this LDAP listener.
|
Modifier and Type | Method and Description |
---|---|
static ModifyRequest |
Entries.diffEntries(Entry fromEntry,
Entry toEntry,
Options options)
Creates a new modify request containing a list of modifications which can
be used to transform
fromEntry into entry toEntry . |
static LdapClient |
LdapClients.newAffinityRequestLoadBalancer(Collection<? extends LdapClient> clients,
Options options)
Creates a new "affinity" load-balancer which will load-balance individual requests across the provided set of
LDAP clients, each typically representing a single replica, using an algorithm that ensures that requests
targeting a given DN will always be routed to the same replica.
|
static LdapClient |
LdapClients.newFailoverLoadBalancer(Collection<? extends LdapClient> clients,
Options options)
Creates a new "fail-over" load-balancer which will load-balance connections across the provided set of LDAP
clients.
|
static LdapClient |
LdapClients.newFixedSizeDistributionLoadBalancer(Set<Dn> partitionBaseDns,
ConsistentHashMap<? extends LdapClient> partitions,
Options options)
Creates a distribution load balancer which uses consistent hashing to distributes requests across a set of
partitions based on a hash of each request's target DN.
|
static LdapClient |
LdapClients.newLdapClient(String host,
int port,
Options options)
Creates a new LDAP client which can be used to create LDAP connections to the Directory Server at
the provided host and port number and custom options.
|
static LdapClient |
LdapClients.newLeastRequestsLoadBalancer(Collection<? extends LdapClient> clients,
Options options)
Creates a new "least requests" load-balancer which will load-balance individual requests across the provided
set of LDAP clients, each typically representing a single replica, using an algorithm that ensures that
requests are routed to the replica which has the minimum number of active requests.
|
boolean |
LdapServer.setOptions(Options options)
Updates the options of this LDAP listener.
|
Constructor and Description |
---|
LdapConnectionFactory(String host,
int port,
Options options)
Creates a new LDAP connection factory which can be used to create LDAP connections to the Directory Server at the
provided host and port number.
|
LdapServer(int port,
io.reactivex.functions.Function<LdapSession,io.reactivex.functions.BiFunction<Integer,Request,io.reactivex.Flowable<Response>>> factory,
Options options)
Creates a new LDAP listener implementation which will listen for LDAP
client connections at the provided address.
|
LdapServer(Set<InetSocketAddress> addresses,
io.reactivex.functions.Function<LdapSession,io.reactivex.functions.BiFunction<Integer,Request,io.reactivex.Flowable<Response>>> factory,
Options options)
Creates a new LDAP listener implementation which will listen for LDAP
client connections at the provided address.
|
LdapServer(String host,
int port,
io.reactivex.functions.Function<LdapSession,io.reactivex.functions.BiFunction<Integer,Request,io.reactivex.Flowable<Response>>> factory,
Options options)
Creates a new LDAP listener implementation which will listen for LDAP
client connections at the provided address.
|
Modifier and Type | Method and Description |
---|---|
LdapSocketAcceptor |
TransportProvider.newLdapSocketAcceptor(Set<InetSocketAddress> addresses,
Options options,
Consumer<LdapSocket> handler)
Returns an implementation of
LdapSocketAcceptor . |
LdapSocketConnector |
TransportProvider.newLdapSocketConnector(String host,
int port,
Options options)
Returns an implementation of
LdapSocketConnector . |
Modifier and Type | Method and Description |
---|---|
static ChangeRecordReader |
Ldif.diff(EntryReader source,
EntryReader target,
Options options)
Compares the content of
source to the content of target
and returns the differences in a change record reader. |
Modifier and Type | Method and Description |
---|---|
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,
Options options)
Creates a new LDAP key store with custom options.
|
static KeyStore |
OpenDjSecurityProvider.newLdifKeyStore(File ldifFile,
Dn baseDN,
Options options)
Creates a new LDIF based key store which will read and write key store objects to the provided key store file.
|
Constructor and Description |
---|
JwkSetSecretStore(JWKSet jwkSet,
Options options)
Creates a secret store directly from the given JWK Set.
|
JwkSetSecretStore(JwksStore jwksStore,
Options options)
Creates a secret store from a
JwksStore . |
Constructor and Description |
---|
KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader,
SecretReference<GenericSecret> keyStorePassword,
Options options)
Initialises the keystore using the same password for the keystore and all keys.
|
KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader,
SecretReference<GenericSecret> keyStorePassword,
SecretReference<GenericSecret> keyEntryPassword,
Options options,
KeyStoreSecretStore.StableIdProvider stableIdProvider)
Initialises the key store.
|
Modifier and Type | Method and Description |
---|---|
static Options |
Options.copyOf(Options options)
Returns a copy of the provided set of options.
|
static Options |
Options.defaultOptions()
Returns a new set of options with default settings.
|
<T> Options |
Options.reset(Option<T> option)
Resets an option to its default behavior.
|
<T> Options |
Options.set(Option<T> option,
T value)
Sets an option to the provided value.
|
static Options |
Options.unmodifiableCopyOf(Options options)
Returns an unmodifiable copy of the provided set of options.
|
static Options |
Options.unmodifiableDefaultOptions()
Returns an unmodifiable set of options with default settings.
|
Modifier and Type | Method and Description |
---|---|
static Options |
Options.copyOf(Options options)
Returns a copy of the provided set of options.
|
static Options |
Options.unmodifiableCopyOf(Options options)
Returns an unmodifiable copy of the provided set of options.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.