| java.lang.Object | |
| ↳ | com.sun.security.auth.SolarisNumericUserPrincipal | 
      
  This class is deprecated.
 As of JDK 1.4, replaced by
             UnixNumericUserPrincipal.
             This class is entirely deprecated.
  
 This class implements the Principal interface
 and represents a user's Solaris identification number (UID).
 
 Principals such as this SolarisNumericUserPrincipal
 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.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Create a  SolarisNumericUserPrincipalusing aStringrepresentation of the
 user's identification number (UID). | |||||||||||
| Create a  SolarisNumericUserPrincipalusing a
 long representation of the user's identification number (UID). | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Compares the specified Object with this
  SolarisNumericUserPrincipalfor equality. | |||||||||||
| Return the user identification number (UID) for this
  SolarisNumericUserPrincipal. | |||||||||||
| Return a hash code for this  SolarisNumericUserPrincipal. | |||||||||||
| Return the user identification number (UID) for this
  SolarisNumericUserPrincipalas a long. | |||||||||||
| Return a string representation of this
  SolarisNumericUserPrincipal. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
|  From interface
  java.security.Principal | |||||||||||
Create a SolarisNumericUserPrincipal using a
 String representation of the
 user's identification number (UID).
 
| name | the user identification number (UID) for this user. | 
|---|
| NullPointerException | if the nameisnull. | 
|---|
Create a SolarisNumericUserPrincipal using a
 long representation of the user's identification number (UID).
 
| name | the user identification number (UID) for this user represented as a long. | 
|---|
Compares the specified Object with this
 SolarisNumericUserPrincipal
 for equality.  Returns true if the given object is also a
 SolarisNumericUserPrincipal and the two
 SolarisNumericUserPrincipals
 have the same user identification number (UID).
 
| o | Object to be compared for equality with this SolarisNumericUserPrincipal. | 
|---|
SolarisNumericUserPrincipal.
Return the user identification number (UID) for this
 SolarisNumericUserPrincipal.
 
SolarisNumericUserPrincipal
Return a hash code for this SolarisNumericUserPrincipal.
 
SolarisNumericUserPrincipal.
Return the user identification number (UID) for this
 SolarisNumericUserPrincipal as a long.
 
SolarisNumericUserPrincipal as a long.
Return a string representation of this
 SolarisNumericUserPrincipal.
 
SolarisNumericUserPrincipal.