@Exported public class NTSidDomainPrincipal extends NTSid
This class extends
and represents a Windows NT user's domain SID.
An NT user only has a domain SID if in fact they are logged into an NT domain. If the user is logged into a workgroup or just a standalone configuration, they will NOT have a domain 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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public String toString()
public boolean equals(Object o)
NTSidDomainPrincipalfor equality. Returns true if the given object is also a
NTSidDomainPrincipaland the two NTSidDomainPrincipals have the same SID.
Copyright © 1998, 2014, Oracle and/or its affiliates. All rights reserved.