NTSid
and represents a Windows NT user's primary group SID.
Principals such as this NTSidPrimaryGroupPrincipal
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 | NTSidPrimaryGroupPrincipal(String
the primary Windows NT group SID for this user. name)Create an |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the specified Object is equal to thisNTSidPrimaryGroupPrincipal.Object to be compared for equality with this
o)NTSidPrimaryGroupPrincipal.Overrides com. Implements java. Compares the specified Object with this
|
| public String | Returns: a string representation of thisNTSidPrimaryGroupPrincipal.Overrides com. Implements java. Return a string representation of this
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NTSidPrimaryGroupPrincipal | back to summary |
|---|---|
| public NTSidPrimaryGroupPrincipal(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
| |