|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jdmk.comm.AuthInfo
public class AuthInfo
Defines the Authentication Information required by the adaptors for carrying out login/password authentication.
This class contains a cleartext password, so it should be used with care. In particular, it is not Serializable. If you subclass it to make it Serializable, be aware that this could result in cleartext passwords being saved to files or sent over the network.
Constructor Summary | |
---|---|
AuthInfo()
Creates an authentication info object with a null login/password. |
|
AuthInfo(String login,
String password)
Creates an authentication info object with a given login/password. |
Method Summary | |
---|---|
Object |
clone()
Clone this AuthInfo . |
String |
getLogin()
Returns the value of the login property. |
String |
getPassword()
Returns the value of the password property. |
void |
setLogin(String login)
Sets the value of the login property. |
void |
setPassword(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 |
---|
public AuthInfo()
public AuthInfo(String login, String password)
Method Detail |
---|
public String getLogin()
public void setLogin(String login)
login
- The value to which the login property will be set.public String getPassword()
public void setPassword(String password)
password
- The value to which the password property will be set.public Object clone()
AuthInfo
.
The cloning is done using Object.clone.
clone
in class Object
Object.clone()
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |