org.opends.server.protocols.jmx
Class Credential

java.lang.Object
  extended by org.opends.server.protocols.jmx.Credential

public class Credential
extends java.lang.Object

Represents a Ldap credential used for JMX connection authentication.

In JMX Connection, one and only one instance of this class is expected to be found in each of the publicCredentials and privateCredentials sets of Subject. Those are the Jmx Client connection that will handle incoming requests.


Constructor Summary
Credential(ClientConnection clientConnection)
          Default Constructor.
 
Method Summary
 ClientConnection getClientConnection()
          Returns the associated Client connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Credential

public Credential(ClientConnection clientConnection)
Default Constructor.

Parameters:
clientConnection - The representation of this credential is a Jmx Client connection that will handle incoming requests.
Method Detail

getClientConnection

public ClientConnection getClientConnection()
Returns the associated Client connection.

Returns:
the associated ClientConnection object. Can be null