Package org.cibseven.webapp.auth.rest
Class StandardLogin
java.lang.Object
org.cibseven.webapp.auth.rest.StandardLogin
- All Implemented Interfaces:
Login
The Class StandardLogin.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new standard login.StandardLogin(String username, String password) Instantiates a new standard login. -
Method Summary
Modifier and TypeMethodDescriptionGets the password.Gets the username.voidsetPassword(String password) Sets the password.voidsetUsername(String username) Sets the username.
-
Constructor Details
-
StandardLogin
public StandardLogin()Instantiates a new standard login. -
StandardLogin
Instantiates a new standard login.- Parameters:
username- the usernamepassword- the password
-
-
Method Details
-
getUsername
Gets the username.- Returns:
- the username
-
setUsername
Sets the username.- Parameters:
username- the new username
-
getPassword
Gets the password.- Returns:
- the password
-
setPassword
Sets the password.- Parameters:
password- the new password
-