public class LdapClientDJContext extends AbstractDJContext implements org.forgerock.opendj.ldap.LdapClientContext
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_CONTEXT_NAME
The name of this context.
|
Constructor and Description |
---|
LdapClientDJContext(org.forgerock.opendj.ldap.LdapClientContext sdkLdapClientContext,
org.forgerock.services.context.Context parent)
Creates a new LDAP client context with a parent context.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(org.forgerock.opendj.ldap.LdapClientContextEventListener listener) |
void |
disconnect() |
void |
disconnect(org.forgerock.opendj.ldap.ResultCode resultCode,
String diagnosticMessage) |
boolean |
enableSasl(SaslServer saslServer) |
String |
getContextName() |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getPeerAddress() |
SaslServer |
getSaslServer() |
int |
getSecurityStrengthFactor() |
SSLSession |
getSslSession() |
boolean |
isClosed() |
io.reactivex.Completable |
sendUnsolicitedNotification(org.forgerock.opendj.ldap.messages.ExtendedResult notification) |
asContext, containsContext, containsContext, getContext, getId, getParent, isRootContext, toJsonValue, toString
public static final String CLIENT_CONTEXT_NAME
public LdapClientDJContext(org.forgerock.opendj.ldap.LdapClientContext sdkLdapClientContext, org.forgerock.services.context.Context parent)
sdkLdapClientContext
- The SDK LDAPClientContext.parent
- The parent context.public void addListener(org.forgerock.opendj.ldap.LdapClientContextEventListener listener)
addListener
in interface org.forgerock.opendj.ldap.LdapClientContext
public void disconnect()
disconnect
in interface org.forgerock.opendj.ldap.LdapClientContext
public void disconnect(org.forgerock.opendj.ldap.ResultCode resultCode, String diagnosticMessage)
disconnect
in interface org.forgerock.opendj.ldap.LdapClientContext
public boolean enableSasl(SaslServer saslServer)
enableSasl
in interface org.forgerock.opendj.ldap.LdapClientContext
public InetSocketAddress getLocalAddress()
getLocalAddress
in interface org.forgerock.opendj.ldap.LdapClientContext
public InetSocketAddress getPeerAddress()
getPeerAddress
in interface org.forgerock.opendj.ldap.LdapClientContext
public int getSecurityStrengthFactor()
getSecurityStrengthFactor
in interface org.forgerock.opendj.ldap.LdapClientContext
public SSLSession getSslSession()
getSslSession
in interface org.forgerock.opendj.ldap.LdapClientContext
public SaslServer getSaslServer()
getSaslServer
in interface org.forgerock.opendj.ldap.LdapClientContext
public boolean isClosed()
isClosed
in interface org.forgerock.opendj.ldap.LdapClientContext
public io.reactivex.Completable sendUnsolicitedNotification(org.forgerock.opendj.ldap.messages.ExtendedResult notification)
sendUnsolicitedNotification
in interface org.forgerock.opendj.ldap.LdapClientContext
public String getContextName()
getContextName
in interface org.forgerock.services.context.Context
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.