All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.impl.adaptor.security.AuthInfo
java.lang.Object
|
+----com.sun.jaw.impl.adaptor.security.AuthInfo
- public class AuthInfo
- extends Object
- implements Cloneable, Serializable
This class defines the Authentication Information required by
the adaptors for carrying out login/password authentication.
-
AuthInfo()
-
-
AuthInfo(String, String)
-
-
clone()
- Creates a new object of the same class as this object.
-
getLogin()
- Returns the value of the login property.
-
getPassword()
- Returns the value of the password property.
-
setLogin(String)
- Sets the value of the login property.
-
setPassword(String)
- Sets the value of the password property.
AuthInfo
public AuthInfo()
AuthInfo
public AuthInfo(String login,
String password)
getLogin
public String getLogin()
- Returns the value of the login property.
- Returns:
- the value of the login property.
setLogin
public void setLogin(String login)
- Sets the value of the login property.
- Parameters:
- login - The value the login property will be set to.
getPassword
public String getPassword()
- Returns the value of the password property.
- Returns:
- the value of the password property.
setPassword
public void setPassword(String password)
- Sets the value of the password property.
- Parameters:
- password - The value the password property will be set to.
clone
public Object clone()
- Creates a new object of the same class as this object.
It then initializes each of the new object's fields by
assigning it the same value as the corresponding field
in this object. No constructor is called.
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index