Class NTPrincipal
- java.lang.Object
-
- com.sun.identity.authentication.modules.nt.NTPrincipal
-
- All Implemented Interfaces:
Serializable,Principal
public class NTPrincipal extends Object implements Principal, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NTPrincipal(String name)TODO-JAVADOC
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Compares the specified Object with thisNTPrincipalfor equality.StringgetName()Returns the user name for thisNTPrincipal.inthashCode()Returns a hash code for thisNTPrincipal.StringtoString()Returns a string representation of thisNTPrincipal.
-
-
-
Constructor Detail
-
NTPrincipal
public NTPrincipal(String name)
TODO-JAVADOC
-
-
Method Detail
-
getName
public String getName()
Returns the user name for thisNTPrincipal.
-
toString
public String toString()
Returns a string representation of thisNTPrincipal.
-
equals
public boolean equals(Object o)
Compares the specified Object with thisNTPrincipalfor equality. Returnstrueif the given object is also aNTPrincipaland the twoNTPrincipals have the same user name.
-
-