BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.auth.controller.LoginController Class Reference

Public Member Functions

 LoginController ()
 
String login (Model model, HttpServletRequest request, HttpSession session)
 
String loginFailed (Model model)
 
String logout (Model model, HttpSession session)
 
String getInitStatus ()
 
String getNodeName ()
 
String getAdminEmail ()
 
void setConfManager (ConfigurationManager confManager)
 
void setMessages (MessageResourceUtil messages)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ LoginController()

eu.baltrad.dex.auth.controller.LoginController.LoginController ( )
inline

Default constructor.

Member Function Documentation

◆ 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
modelModel
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
modelModel
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
modelModel
sessionHttp session
Returns
Login page name

◆ setConfManager()

void eu.baltrad.dex.auth.controller.LoginController.setConfManager ( ConfigurationManager confManager)
inline
Parameters
confManagerthe confManager to set

◆ setMessages()

void eu.baltrad.dex.auth.controller.LoginController.setMessages ( MessageResourceUtil messages)
inline
Parameters
messagesthe messages to set

The documentation for this class was generated from the following file: