tyrex.security.ldap
Class CommonNamePrincipal
java.lang.Object
tyrex.security.ldap.CommonNamePrincipal
- All Implemented Interfaces:
- java.security.Principal, java.io.Serializable
- public final class CommonNamePrincipal
- extends java.lang.Object
- implements java.security.Principal, java.io.Serializable
The common name prinicipal. Provides the common name by which a user
is known (e.g. 'Joe Smith').
- Version:
- $Revision: 1.4 $ $Date: 2001/03/12 19:20:19 $
- Author:
- Assaf Arkin
- See Also:
- Serialized Form
Constructor Summary |
CommonNamePrincipal(java.lang.String name)
Constructs a new common name principal. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CommonNamePrincipal
public CommonNamePrincipal(java.lang.String name)
- Constructs a new common name principal.
- Parameters:
name
- The common name
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
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.security.Principal
equals
public boolean equals(java.lang.Object object)
- Specified by:
equals
in interface java.security.Principal
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.