UnixNumericUserPrincipal.
             This class is entirely deprecated.@Exported(value=false) @Deprecated public class SolarisNumericUserPrincipal extends Object implements Principal, Serializable
 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.
Principal, 
Subject, 
Serialized Form| Constructor and Description | 
|---|
| SolarisNumericUserPrincipal(long name)Deprecated.  Create a  SolarisNumericUserPrincipalusing a
 long representation of the user's identification number (UID). | 
| SolarisNumericUserPrincipal(String name)Deprecated.  Create a  SolarisNumericUserPrincipalusing aStringrepresentation of the
 user's identification number (UID). | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o)Deprecated.  Compares the specified Object with this
  SolarisNumericUserPrincipalfor equality. | 
| String | getName()Deprecated.  Return the user identification number (UID) for this
  SolarisNumericUserPrincipal. | 
| int | hashCode()Deprecated.  Return a hash code for this  SolarisNumericUserPrincipal. | 
| long | longValue()Deprecated.  Return the user identification number (UID) for this
  SolarisNumericUserPrincipalas a long. | 
| String | toString()Deprecated.  Return a string representation of this
  SolarisNumericUserPrincipal. | 
public SolarisNumericUserPrincipal(String name)
SolarisNumericUserPrincipal using a
 String representation of the
 user's identification number (UID).
 name - the user identification number (UID) for this user.NullPointerException - if the name
                  is null.public SolarisNumericUserPrincipal(long name)
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.public String getName()
SolarisNumericUserPrincipal.
 public long longValue()
SolarisNumericUserPrincipal as a long.
 SolarisNumericUserPrincipal as a long.public String toString()
SolarisNumericUserPrincipal.
 public boolean equals(Object o)
SolarisNumericUserPrincipal
 for equality.  Returns true if the given object is also a
 SolarisNumericUserPrincipal and the two
 SolarisNumericUserPrincipals
 have the same user identification number (UID).
 public int hashCode()
SolarisNumericUserPrincipal.
 hashCode in interface PrincipalhashCode in class ObjectSolarisNumericUserPrincipal.Object.equals(java.lang.Object), 
System.identityHashCode(java.lang.Object)
 Copyright © 1998, 2017, Oracle and/or its affiliates.  All rights reserved.