public class JDBCPrincipal extends Object implements Principal, Serializable
Constructor and Description |
---|
JDBCPrincipal(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares the specified Object with this
JDBCPrincipal
for equality. |
String |
getName()
Returns the JDBC username for this
JDBCPrincipal . |
int |
hashCode()
Returns a hash code for this
JDBCPrincipal . |
String |
toString()
Returns a string representation of this
JDBCPrincipal . |
public JDBCPrincipal(String name)
public String getName()
JDBCPrincipal
.public String toString()
JDBCPrincipal
.public boolean equals(Object o)
JDBCPrincipal
for equality. Returns true
if the given object is also a
JDBCPrincipal
and the two JDBCPrincipals have the same
user name.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.