public class LoginUserController extends Object implements JSFController
| Constructor and Description |
|---|
LoginUserController() |
| Modifier and Type | Method and Description |
|---|---|
String |
doLogin()
Login petition.
|
String |
doLogout()
Logout petition.
|
Principal |
getCurrentUser()
Getter method of currentUserPrincipal variable.
|
String |
getErrorMessage()
Getter method of errorMessage global variable.
|
String |
getLogin()
Getter method of login variable.
|
String |
getPassword()
Getter method of password variable.
|
boolean |
isError()
Getter method of error global variable.
|
void |
setLogin(String login)
Setter method of login variable.
|
void |
setPassword(String password)
Setter method of password variable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRootViewId, redirectTopublic String doLogin()
public String doLogout() throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic Principal getCurrentUser()
public String getLogin()
public void setLogin(String login)
login - login global variable.public String getPassword()
public void setPassword(String password)
password - password global variable.public boolean isError()
public String getErrorMessage()
Copyright © 2015. All rights reserved.