com.sun.jdmk.comm
Class AuthInfo

java.lang.Object
  |
  +--com.sun.jdmk.comm.AuthInfo

public class AuthInfo
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Defines the Authentication Information required by the adaptors for carrying out login/password authentication.

See Also:
Serialized Form

Constructor Summary
AuthInfo()
          Creates an authentication info object with a null login/password.
AuthInfo(java.lang.String login, java.lang.String password)
          Creates an authentication info object with a given login/password.
 
Method Summary
 java.lang.Object clone()
          Clone this AuthInfo.
 java.lang.String getLogin()
          Returns the value of the login property.
 java.lang.String getPassword()
          Returns the value of the password property.
 void setLogin(java.lang.String login)
          Sets the value of the login property.
 void setPassword(java.lang.String password)
          Sets the value of the password property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthInfo

public AuthInfo()
Creates an authentication info object with a null login/password.

AuthInfo

public AuthInfo(java.lang.String login,
                java.lang.String password)
Creates an authentication info object with a given login/password.
Method Detail

getLogin

public java.lang.String getLogin()
Returns the value of the login property.
Returns:
the value of the login property.

setLogin

public void setLogin(java.lang.String login)
Sets the value of the login property.
Parameters:
login - The value to which the login property will be set.

getPassword

public java.lang.String getPassword()
Returns the value of the password property.
Returns:
the value of the password property.

setPassword

public void setPassword(java.lang.String password)
Sets the value of the password property.
Parameters:
password - The value to which the password property will be set.

clone

public java.lang.Object clone()
Clone this AuthInfo. The cloning is done using Object.clone.
Overrides:
clone in class java.lang.Object
See Also:
Object.clone()