javax.resource.spi.security
Class PasswordCredential

java.lang.Object
  extended byjavax.resource.spi.security.PasswordCredential
All Implemented Interfaces:
java.io.Serializable

public final class PasswordCredential
extends java.lang.Object
implements java.io.Serializable

Version:
$Rev: 46019 $ $Date: 2004-09-14 03:56:06 -0600 (Tue, 14 Sep 2004) $
See Also:
Serialized Form

Field Summary
private  ManagedConnectionFactory mcf
           
private  char[] password
           
private  java.lang.String userName
           
 
Constructor Summary
PasswordCredential(java.lang.String userName, char[] password)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 ManagedConnectionFactory getManagedConnectionFactory()
           
 char[] getPassword()
           
 java.lang.String getUserName()
           
 int hashCode()
           
 void setManagedConnectionFactory(ManagedConnectionFactory mcf)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

private java.lang.String userName

password

private char[] password

mcf

private ManagedConnectionFactory mcf
Constructor Detail

PasswordCredential

public PasswordCredential(java.lang.String userName,
                          char[] password)
Method Detail

getUserName

public java.lang.String getUserName()

getPassword

public char[] getPassword()

getManagedConnectionFactory

public ManagedConnectionFactory getManagedConnectionFactory()

setManagedConnectionFactory

public void setManagedConnectionFactory(ManagedConnectionFactory mcf)

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()