public class AuthenticationInfo extends java.lang.Object
Constructor and Description |
---|
AuthenticationInfo(java.lang.String login,
java.lang.String password,
boolean enabled) |
AuthenticationInfo(XMLPreferences node) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLogin() |
java.lang.String |
getPassword() |
int |
hashCode() |
boolean |
isEnabled() |
void |
load(XMLPreferences node) |
void |
save(XMLPreferences node) |
void |
setEnabled(boolean enabled) |
void |
setLogin(java.lang.String login) |
void |
setPassword(java.lang.String password) |
public AuthenticationInfo(java.lang.String login, java.lang.String password, boolean enabled)
public AuthenticationInfo(XMLPreferences node)
public java.lang.String getLogin()
public void setLogin(java.lang.String login)
login
- the login to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the password to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the enabled to setpublic void save(XMLPreferences node)
public void load(XMLPreferences node)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object