NTSid
and represents one of the groups to which a Windows NT user belongs.
Principals such as this NTSidGroupPrincipal
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
, com.sun.security.auth.NTSid
Modifier and Type | Field and Description |
---|---|
private static final long |
Access | Constructor and Description |
---|---|
public | NTSidGroupPrincipal(String
the 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 thisNTSidGroupPrincipal .Object to be compared for equality with this
o)NTSidGroupPrincipal .Overrides com. Implements java. NTSidGroupPrincipal
for equality.
|
public String | Returns: a string representation of thisNTSidGroupPrincipal .Overrides com. Implements java. NTSidGroupPrincipal .
|
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
NTSidGroupPrincipal | back to summary |
---|---|
public NTSidGroupPrincipal(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
|