org.opends.server.protocols.jmx
Class OpendsJmxPrincipal

java.lang.Object
  extended by org.opends.server.protocols.jmx.OpendsJmxPrincipal
All Implemented Interfaces:
java.security.Principal

public class OpendsJmxPrincipal
extends java.lang.Object
implements java.security.Principal

Represents a Ldap authentication ID used for JMX connection authentication.


Constructor Summary
OpendsJmxPrincipal(java.lang.String authID)
          Create a new OpendsJmxPrincipal object.
 
Method Summary
 boolean equals(java.lang.Object another)
          
 java.lang.String getName()
          
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpendsJmxPrincipal

public OpendsJmxPrincipal(java.lang.String authID)
Create a new OpendsJmxPrincipal object.

Parameters:
authID - The JMX Connection ID to be registered into this Object.
Method Detail

equals

public boolean equals(java.lang.Object another)

Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()

Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()

Specified by:
getName in interface java.security.Principal