public class NTSidGroupPrincipal extends NTSidThis class extends
NTSidand represents one of the groups to which a Windows NT user belongs.
Principals such as this
NTSidGroupPrincipalmay be associated with a particular
Subjectto augment that
Subjectwith an additional identity. Refer to the
Subjectclass for more information on how to achieve this. Authorization decisions can then be based upon the Principals associated with a
public String toString()Return a string representation of this
public boolean equals(Object o)Compares the specified Object with this
NTSidGroupPrincipalfor equality. Returns true if the given object is also a
NTSidGroupPrincipaland the two NTSidGroupPrincipals have the same SID.