| |
|
| java.lang.Object javax.resource.spi.security.PasswordCredential
PasswordCredential | final public class PasswordCredential implements Serializable(Code) | | The class PasswordCredential is a placeholder for username and password.
|
serialVersionUID | final static long serialVersionUID(Code) | | since: 4.0.0 |
PasswordCredential | public PasswordCredential(String userName, char[] password)(Code) | | Constructor, creates a new password credential
Parameters: userName - the user name Parameters: password - the password |
getManagedConnectionFactory | public ManagedConnectionFactory getManagedConnectionFactory()(Code) | | Get the managed connection factory associated with this username password
pair.
the managed connection factory |
getPassword | public char[] getPassword()(Code) | | Returns the password
password |
getUserName | public String getUserName()(Code) | | Returns the username
Username |
hashCode | public int hashCode()(Code) | | |
setManagedConnectionFactory | public void setManagedConnectionFactory(ManagedConnectionFactory mcf)(Code) | | Set the managed connection factory associated with this username password
pair.
Parameters: mcf - the managed connection factory |
|
|
|