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