com.ibm.security.auth
Class NTSidUserPrincipal
- java.lang.Object
-
- com.ibm.security.auth.NTSid
-
- com.ibm.security.auth.NTSidUserPrincipal
-
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal
Deprecated.replaced byUserIDPrincipal.
@Deprecated public class NTSidUserPrincipal extends NTSid
This class extends
NTSidand represents a Windows NT user's SID.Principals such as this
NTSidUserPrincipalmay be associated with a particularSubjectto augment thatSubjectwith an additional identity. Refer to theSubjectclass for more information on how to achieve this. Authorization decisions can then be based upon the Principals associated with aSubject.- See Also:
Principal,Subject,UserIDPrincipal, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NTSidUserPrincipal(java.lang.String name)Deprecated.Create anNTSidUserPrincipalwith a Windows NT SID.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description booleanequals(java.lang.Object o)Deprecated.Compares the specified Object with thisNTSidUserPrincipalfor equality.java.lang.StringtoString()Deprecated.Return a string representation of thisNTSidUserPrincipal.
-
-
-
Constructor Detail
-
NTSidUserPrincipal
public NTSidUserPrincipal(java.lang.String name)
Deprecated.Create anNTSidUserPrincipalwith a Windows NT SID.- Parameters:
name- a string version of the Windows NT SID for this user.- Throws:
java.lang.NullPointerException- if thenameisnull.
-
-
Method Detail
-
toString
public java.lang.String toString()
Deprecated.Return a string representation of thisNTSidUserPrincipal.
-
equals
public boolean equals(java.lang.Object o)
Deprecated.Compares the specified Object with thisNTSidUserPrincipalfor equality. Returns true if the given object is also aNTSidUserPrincipaland the two NTSidUserPrincipals have the same SID.
-
-