@Controller public class LoginController extends Object
| Constructor and Description |
|---|
LoginController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
handleAccessDenied()
Handle an access denied event
|
String |
loginFailed()
Handle the login failed
|
String |
loginPage()
Handle the login event
|
String |
logout()
Handle the logout event
|
@RequestMapping(value="/login",
method=GET)
public String loginPage()
@RequestMapping(value="/loginFailed",
method=GET)
public String loginFailed()
result - The binding result to get eror messageslocale - The request locale@RequestMapping(value="/logout",
method=GET)
public String logout()
@RequestMapping(value="/accessDenied",
method=GET)
public org.springframework.web.servlet.ModelAndView handleAccessDenied()
Copyright © 2019 ADDC Infotech GmbH. All rights reserved.