javax.resource.spi.security
Class PasswordCredential

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

Deprecated.

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

See Also:
Serialized Form

Constructor Summary
PasswordCredential(java.lang.String userName, char[] password)
          Deprecated. Creates the credential
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordCredential

public PasswordCredential(java.lang.String userName,
                          char[] password)
Deprecated. 
Creates the credential

Method Detail

getUserName

public java.lang.String getUserName()
Deprecated. 
/** Returns the user name of the principal.


getPassword

public char[] getPassword()
Deprecated. 
Returns the user password.


getManagedConnectionFactory

public ManagedConnectionFactory getManagedConnectionFactory()
Deprecated. 
Returns the connection factory.


setManagedConnectionFactory

public void setManagedConnectionFactory(ManagedConnectionFactory factory)
Deprecated. 
Sets the connection factory.


equals

public boolean equals(java.lang.Object o)
Deprecated. 
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object