tyrex.security.ldap
Class LDAPPrincipal

java.lang.Object
  |
  +--tyrex.security.ldap.LDAPPrincipal
All Implemented Interfaces:
java.security.Principal

public final class LDAPPrincipal
extends java.lang.Object
implements java.security.Principal

The LDAP DN prinicipal. Provides the LDAP distinguished name by which an account is known (e.g. 'uid=Joe.Smith,ou=People,dc=acme,dc=com'). Immutable and serializable.

Version:
$Revision: 1.4 $ $Date: 2001/03/12 19:20:19 $
Author:
Assaf Arkin

Constructor Summary
LDAPPrincipal(java.lang.String dn)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 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

LDAPPrincipal

public LDAPPrincipal(java.lang.String dn)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object


Intalio Inc. (C) 1999-2001. All rights reserved.