public class NTSidUserPrincipal extends NTSid
This class extends
and 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
|Constructor and Description|
|Modifier and Type||Method and Description|
Compares the specified Object with this
Return a string representation of this
public String toString()
public boolean equals(Object o)
NTSidUserPrincipalfor equality. Returns true if the given object is also a
NTSidUserPrincipaland the two NTSidUserPrincipals have the same SID.
Copyright © 1998, 2017, Oracle and/or its affiliates. All rights reserved.