public static interface RequestContext.ClientConnection
Modifier and Type | Method and Description |
---|---|
DN |
getBindDN()
Returns the DN for the user as whom the client is authenticated.
|
ByteString |
getBindPassword()
Returns the password for the user as whom the client is authenticated.
|
long |
getConnectionID()
Retrieves the unique identifier that is assigned to the client
connection that submitted this request.
|
java.net.InetSocketAddress |
getLocalAddress()
Returns the
InetSocketAddress associated with the local system. |
java.net.InetSocketAddress |
getPeerAddress()
Returns the
InetSocketAddress associated with the remote system. |
boolean |
isEncrypted()
Indicates whether this client connection is currently using a
secure mechanism to communicate with the server.
|
long getConnectionID()
DN getBindDN()
null
if the client is unauthenticated.ByteString getBindPassword()
null
if the client is unauthenticated.java.net.InetSocketAddress getLocalAddress()
InetSocketAddress
associated with the local system.InetSocketAddress
associated with the local system.java.net.InetSocketAddress getPeerAddress()
InetSocketAddress
associated with the remote system.InetSocketAddress
associated with the remote system.boolean isEncrypted()
false
to true
if the client uses the StartTLS extended
operation).true
if the client connection is currently
using a secure mechanism to communicate with the server, or
false
if not.