NTSidand represents a Windows NT user's SID.
Principals such as this
may be associated with a particular
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
toStringpublic String toString()Return a string representation of this
equalspublic 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.