Open Kilda Java Documentation
org.openkilda.controller.LoginController Class Reference
Inheritance diagram for org.openkilda.controller.LoginController:
org.openkilda.controller.BaseController

Public Member Functions

ModelAndView login (final HttpServletRequest request)
 
ModelAndView logout (final Model model)
 
ModelAndView authenticate (@RequestParam("username") final String username, @RequestParam("password") final String password, final HttpServletRequest request)
 
- Public Member Functions inherited from org.openkilda.controller.BaseController
ModelAndView validateAndRedirect (final HttpServletRequest request, final String viewName)
 
ModelAndView error (final Model model)
 
String getErrorPath ()
 

Additional Inherited Members

- Protected Member Functions inherited from org.openkilda.controller.BaseController
UserInfo getLoggedInUser (final HttpServletRequest request)
 
boolean isUserLoggedIn ()
 

Detailed Description

The Class LoginController : entertain requests of login module.

Author
Gaurav Chugh

Definition at line 46 of file LoginController.java.

Member Function Documentation

◆ authenticate()

ModelAndView org.openkilda.controller.LoginController.authenticate ( @RequestParam("username") final String  username,
@RequestParam("password") final String  password,
final HttpServletRequest  request 
)

Authenticate.

Parameters
usernamethe username
passwordthe password
requestthe request
Returns
the model and view

Definition at line 90 of file LoginController.java.

◆ login()

ModelAndView org.openkilda.controller.LoginController.login ( final HttpServletRequest  request)

Login.

Parameters
modelthe model
Returns
the model and view

Definition at line 66 of file LoginController.java.

◆ logout()

ModelAndView org.openkilda.controller.LoginController.logout ( final Model  model)

Logout.

Parameters
modelthe model
Returns
the model and view

Definition at line 77 of file LoginController.java.


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