|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.resource.spi.security.PasswordCredential
public final class PasswordCredential
The class PasswordCredential is a placeholder for username and password.
| Constructor Summary | |
|---|---|
PasswordCredential(String userName,
char[] password)
Constructor, creates a new password credential |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
ManagedConnectionFactory |
getManagedConnectionFactory()
Get the managed connection factory associated with this username password pair. |
char[] |
getPassword()
Returns the password |
String |
getUserName()
Returns the username |
int |
hashCode()
|
void |
setManagedConnectionFactory(ManagedConnectionFactory mcf)
Set the managed connection factory associated with this username password pair. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordCredential(String userName,
char[] password)
userName - the user namepassword - the password| Method Detail |
|---|
public String getUserName()
public char[] getPassword()
public ManagedConnectionFactory getManagedConnectionFactory()
public void setManagedConnectionFactory(ManagedConnectionFactory mcf)
mcf - the managed connection factorypublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||