public class NTSidUserPrincipal extends NTSidThis class extends
NTSidand represents a Windows NT user's SID.
Principals such as this
NTSidUserPrincipalmay 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
NTSidUserPrincipalfor equality. Returns true if the given object is also a
NTSidUserPrincipaland the two NTSidUserPrincipals have the same SID.