|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.resource.spi.security.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 passwordMethod Detail |
public String getUserName()
public char[] getPassword()
public ManagedConnectionFactory getManagedConnectionFactory()
public void setManagedConnectionFactory(ManagedConnectionFactory mcf)
mcf
- the managed connection factorypublic boolean equals(Object other)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |