Package | Description |
---|---|
org.forgerock.opendj.grizzly |
Provides an implementation of a transport provider using Grizzly as
transport.
|
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.rest2ldap |
APIs for implementing REST to LDAP gateways.
|
org.forgerock.util |
Provides common interfaces and classes.
|
Constructor and Description |
---|
GrizzlyLDAPConnectionFactory(String host,
int port,
Options options)
Creates a new LDAP connection factory based on Grizzly which can be used to create connections to the Directory
Server at the provided host and port address using provided connection options.
|
GrizzlyLDAPListener(InetSocketAddress address,
ServerConnectionFactory<LDAPClientContext,Integer> factory,
Options options)
Creates a new LDAP listener implementation which will listen for LDAP
client connections using the provided address and connection options.
|
GrizzlyLDAPListener(InetSocketAddress address,
ServerConnectionFactory<LDAPClientContext,Integer> factory,
Options options,
org.glassfish.grizzly.nio.transport.TCPNIOTransport transport)
Creates a new LDAP listener implementation which will listen for LDAP
client connections using the provided address, connection options and
provided TCP transport.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory |
Connections.newFailoverLoadBalancer(Collection<? extends ConnectionFactory> factories,
Options options)
Creates a new "fail-over" load-balancer which will load-balance connections across the provided set of connection
factories.
|
static ConnectionFactory |
Connections.newRoundRobinLoadBalancer(Collection<? extends ConnectionFactory> factories,
Options options)
Creates a new "round-robin" load-balancer which will load-balance connections across the provided set of
connection factories.
|
static ConnectionFactory |
Connections.newShardedRequestLoadBalancer(Collection<? extends ConnectionFactory> factories,
Options options)
Creates a new "sharded" load-balancer which will load-balance individual requests across the provided set of
connection factories, 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.
|
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.
|
LDAPListener(InetSocketAddress address,
ServerConnectionFactory<LDAPClientContext,Integer> factory,
Options options)
Creates a new LDAP listener implementation which will listen for LDAP
client connections at the provided address.
|
LDAPListener(int port,
ServerConnectionFactory<LDAPClientContext,Integer> factory,
Options options)
Creates a new LDAP listener implementation which will listen for LDAP
client connections at the provided address.
|
LDAPListener(String host,
int port,
ServerConnectionFactory<LDAPClientContext,Integer> 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 |
---|---|
LDAPConnectionFactoryImpl |
TransportProvider.getLDAPConnectionFactory(String host,
int port,
Options options)
Returns an implementation of
LDAPConnectionFactory . |
LDAPListenerImpl |
TransportProvider.getLDAPListener(InetSocketAddress address,
ServerConnectionFactory<LDAPClientContext,Integer> factory,
Options options)
Returns an implementation of
LDAPListener . |
Modifier and Type | Method and Description |
---|---|
static Options |
Rest2LdapJsonConfigurator.configureOptions(JsonValue config)
Parses Rest2Ldap configuration options.
|
Modifier and Type | Method and Description |
---|---|
static RequestHandler |
Rest2LdapJsonConfigurator.configureEndpoint(File endpointDirectory,
Options options)
Creates a new CREST
RequestHandler representing a single endpoint whose configuration is defined in the
provided endpointDirectory parameter. |
static Router |
Rest2LdapJsonConfigurator.configureEndpoints(File endpointsDirectory,
Options options)
Creates a new CREST
Router using the provided endpoints configuration directory and Rest2Ldap options. |
static Rest2Ldap |
Rest2Ldap.rest2Ldap(Options options,
Collection<Resource> resources)
|
static Rest2Ldap |
Rest2Ldap.rest2Ldap(Options options,
Resource... resources)
|
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-2017 ForgeRock AS.