public final class PasswordCredential
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PasswordCredential(java.lang.String userName,
char[] password)
Deprecated.
Creates the credential
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Deprecated.
|
ManagedConnectionFactory |
getManagedConnectionFactory()
Deprecated.
Returns the connection factory.
|
char[] |
getPassword()
Deprecated.
Returns the user password.
|
java.lang.String |
getUserName()
Deprecated.
/** Returns the user name of the principal.
|
int |
hashCode()
Deprecated.
|
void |
setManagedConnectionFactory(ManagedConnectionFactory factory)
Deprecated.
Sets the connection factory.
|
public PasswordCredential(java.lang.String userName, char[] password)
public java.lang.String getUserName()
public char[] getPassword()
public ManagedConnectionFactory getManagedConnectionFactory()
public void setManagedConnectionFactory(ManagedConnectionFactory factory)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object