javax.resource.spi.security
Class PasswordCredential

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

public final class PasswordCredential
extends Object
implements Serializable

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

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

Constructor Detail

PasswordCredential

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

getUserName

public String getUserName()

getPassword

public char[] getPassword()

getManagedConnectionFactory

public ManagedConnectionFactory getManagedConnectionFactory()

setManagedConnectionFactory

public void setManagedConnectionFactory(ManagedConnectionFactory mcf)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006 Apache Software Foundation. All Rights Reserved.