Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


oracle.oud.plugin
Interface RequestContext.ClientConnection

Enclosing class:
RequestContext

public static interface RequestContext.ClientConnection

This interface provides information on the client connection that submitted the request being processed.


Method Summary
 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.

 

Method Detail

getConnectionID

long getConnectionID()
Retrieves the unique identifier that is assigned to the client connection that submitted this request.
Returns:
The unique identifier that is assigned to the client connection that submitted this request.

getBindDN

DN getBindDN()
Returns the DN for the user as whom the client is authenticated.
Returns:
The DN for the user as whom the client is authenticated, or null if the client is unauthenticated.

getBindPassword

ByteString getBindPassword()
Returns the password for the user as whom the client is authenticated.
Returns:
The password for the user as whom the client is authenticated, or null if the client is unauthenticated.

getLocalAddress

java.net.InetSocketAddress getLocalAddress()
Returns the InetSocketAddress associated with the local system.
Returns:
The InetSocketAddress associated with the local system.

getPeerAddress

java.net.InetSocketAddress getPeerAddress()
Returns the InetSocketAddress associated with the remote system.
Returns:
The InetSocketAddress associated with the remote system.

isEncrypted

boolean isEncrypted()
Indicates whether this client connection is currently using a secure mechanism to communicate with the server. Note that this may change over time based on operations performed by the client or server (e.g., it may go from false to true if the client uses the StartTLS extended operation).
Returns:
true if the client connection is currently using a secure mechanism to communicate with the server, or false if not.

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.