Login controller class implementing basic user authentication functionality.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.2.2
- Since
- 1.0.0
◆ LoginController()
eu.baltrad.dex.auth.controller.LoginController.LoginController |
( |
| ) |
|
|
inline |
◆ getAdminEmail()
String eu.baltrad.dex.auth.controller.LoginController.getAdminEmail |
( |
| ) |
|
|
inline |
Load admin email as model attribute.
- Returns
- Admin email
◆ getInitStatus()
String eu.baltrad.dex.auth.controller.LoginController.getInitStatus |
( |
| ) |
|
|
inline |
Load node name as model attribute.
- Returns
- Node name
◆ getNodeName()
String eu.baltrad.dex.auth.controller.LoginController.getNodeName |
( |
| ) |
|
|
inline |
Load node name as model attribute.
- Returns
- Node name
◆ login()
String eu.baltrad.dex.auth.controller.LoginController.login |
( |
Model | model, |
|
|
HttpServletRequest | request, |
|
|
HttpSession | session ) |
|
inline |
Renders login page.
- Parameters
-
- Returns
- Login page name
◆ loginFailed()
String eu.baltrad.dex.auth.controller.LoginController.loginFailed |
( |
Model | model | ) |
|
|
inline |
In case of errors, redirects to login page and sets login error attribute.
- Parameters
-
- Returns
- Login page name
◆ logout()
String eu.baltrad.dex.auth.controller.LoginController.logout |
( |
Model | model, |
|
|
HttpSession | session ) |
|
inline |
Resets session user, sets logout attribute and renders login page.
- Parameters
-
model | Model |
session | Http session |
- Returns
- Login page name
◆ setConfManager()
void eu.baltrad.dex.auth.controller.LoginController.setConfManager |
( |
ConfigurationManager | confManager | ) |
|
|
inline |
- Parameters
-
confManager | the confManager to set |
◆ setMessages()
void eu.baltrad.dex.auth.controller.LoginController.setMessages |
( |
MessageResourceUtil | messages | ) |
|
|
inline |
- Parameters
-
messages | the messages to set |
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/auth/controller/LoginController.java