| 
JAAS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.security.auth.SolarisPrincipal
UnixPrincipal.
             This class is entirely deprecated.
@Deprecated public class SolarisPrincipal
 This class implements the Principal interface
 and represents a Solaris user.
 
 Principals such as this SolarisPrincipal
 may be associated with a particular Subject
 to augment that Subject with an additional
 identity.  Refer to the Subject class for more information
 on how to achieve this.  Authorization decisions can then be based upon 
 the Principals associated with a Subject.
Principal, 
Subject, 
Serialized Form| Constructor Summary | |
|---|---|
SolarisPrincipal(String name)
Deprecated. Create a SolarisPrincipal with a Solaris username.  | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(Object o)
Deprecated. Compares the specified Object with this SolarisPrincipal
 for equality. | 
 String | 
getName()
Deprecated. Return the Unix username for this SolarisPrincipal. | 
 int | 
hashCode()
Deprecated. Return a hash code for this SolarisPrincipal. | 
 String | 
toString()
Deprecated. Return a string representation of this SolarisPrincipal. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SolarisPrincipal(String name)
name - the Unix username for this user.
NullPointerException - if the name
                        is null.| Method Detail | 
|---|
public String getName()
SolarisPrincipal.
 
getName in interface PrincipalSolarisPrincipalpublic String toString()
SolarisPrincipal.
 
toString in interface PrincipaltoString in class ObjectSolarisPrincipal.public boolean equals(Object o)
SolarisPrincipal
 for equality.  Returns true if the given object is also a
 SolarisPrincipal and the two SolarisPrincipals
 have the same username.
 
equals in interface Principalequals in class Objecto - Object to be compared for equality with this
                SolarisPrincipal.
SolarisPrincipal.public int hashCode()
SolarisPrincipal.
 
hashCode in interface PrincipalhashCode in class ObjectSolarisPrincipal.
  | 
JAAS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||