NTSid
and represents a Windows NT user's SID.
Principals such as this NTSidUserPrincipal
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.
java.security.Principal , javax.security.auth.Subject
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NTSidUserPrincipal(String
a string version of the Windows NT SID for this user. name)Create an |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the specified Object is equal to thisNTSidUserPrincipal.Object to be compared for equality with this
o)NTSidUserPrincipal.Overrides com. Implements java. Compares the specified Object with this |
| public String | Returns: a string representation of thisNTSidUserPrincipal.Overrides com. Implements java. Return a string representation of this |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NTSidUserPrincipal | back to summary |
|---|---|
| public NTSidUserPrincipal(String name) Create an
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides com. Implements java. Compares the specified Object with this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Implements java. Return a string representation of this
| |