| java.lang.Object org.continuent.sequoia.common.users.AbstractDatabaseUser org.continuent.sequoia.common.users.DatabaseBackendUser
Method Summary | |
public boolean | equals(Object other) Two DatabaseBackendUser are equals if both objects have the
same login & password.
Parameters: other - the object to compare with. | public String | getBackendName() Returns the backend logical name. | public String | getXml() | public boolean | matches(String backendName, String login, String password) Tests if the login and password provided matches the login/password of this
object. |
DatabaseBackendUser | public DatabaseBackendUser(String backendName, String login, String password)(Code) | | Creates a new DatabaseBackendUser instance. The caller must
ensure that the parameters are not null .
Parameters: backendName - the backend logical name. Parameters: login - the user name. Parameters: password - the password. |
equals | public boolean equals(Object other)(Code) | | Two DatabaseBackendUser are equals if both objects have the
same login & password.
Parameters: other - the object to compare with. true if both objects have the same login & password. |
getBackendName | public String getBackendName()(Code) | | Returns the backend logical name.
the backend logical name. |
matches | public boolean matches(String backendName, String login, String password)(Code) | | Tests if the login and password provided matches the login/password of this
object.
Parameters: backendName - backend logical name Parameters: login - a user name Parameters: password - a password true if it matches this object's login/password |
|
|