Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.emory.mathcs.util.security.auth.spi.passwd
Class UserIDPrincipal  view UserIDPrincipal download UserIDPrincipal.java

java.lang.Object
  extended byedu.emory.mathcs.util.security.auth.spi.passwd.IDPrincipal
      extended byedu.emory.mathcs.util.security.auth.spi.passwd.UserIDPrincipal
All Implemented Interfaces:
java.security.Principal

public class UserIDPrincipal
extends IDPrincipal
implements java.security.Principal

DOCUMENT ME!


Field Summary
private  java.lang.String name
          DOCUMENT ME!
 
Constructor Summary
UserIDPrincipal(java.lang.String name)
          Creates a new instance of UserIDPrincipal
 
Method Summary
 boolean equals(java.lang.Object object)
          Compares the specified Object with this UserIDPrincipal.
 java.lang.String getName()
          Returns the name of this principal.
 int hashCode()
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private final java.lang.String name
DOCUMENT ME!

Constructor Detail

UserIDPrincipal

public UserIDPrincipal(java.lang.String name)
Creates a new instance of UserIDPrincipal

Method Detail

getName

public java.lang.String getName()
Returns the name of this principal.

Specified by:
getName in interface java.security.Principal

toString

public java.lang.String toString()
DOCUMENT ME!

Specified by:
toString in interface java.security.Principal

equals

public boolean equals(java.lang.Object object)
Compares the specified Object with this UserIDPrincipal. Returns true if the specified object is an instance of UserIDPrincipal and has the same name as this UserIDPrincipal.

Specified by:
equals in interface java.security.Principal

hashCode

public int hashCode()
DOCUMENT ME!

Specified by:
hashCode in interface java.security.Principal