Package org.molgenis.security.login
Class MolgenisLoginController
- java.lang.Object
-
- org.molgenis.security.login.MolgenisLoginController
-
@Controller @RequestMapping("/login") public class MolgenisLoginController extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_MESSAGE_ATTRIBUTEstatic java.lang.StringERROR_MESSAGE_DISABLEDstatic java.lang.StringJSESSIONIDstatic java.lang.StringPARAM_SESSION_EXPIREDstatic java.lang.StringSPRING_SECURITY_CONTEXTstatic java.lang.StringSPRING_SECURITY_SAVED_REQUESTstatic java.lang.StringURI
-
Constructor Summary
Constructors Constructor Description MolgenisLoginController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLoginErrorPage(org.springframework.ui.Model model)java.lang.StringgetLoginErrorPage(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)java.lang.StringgetLoginPage(javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.ui.Model model)
-
-
-
Field Detail
-
PARAM_SESSION_EXPIRED
public static final java.lang.String PARAM_SESSION_EXPIRED
- See Also:
- Constant Field Values
-
URI
public static final java.lang.String URI
- See Also:
- Constant Field Values
-
ERROR_MESSAGE_ATTRIBUTE
public static final java.lang.String ERROR_MESSAGE_ATTRIBUTE
- See Also:
- Constant Field Values
-
ERROR_MESSAGE_DISABLED
public static final java.lang.String ERROR_MESSAGE_DISABLED
- See Also:
- Constant Field Values
-
SPRING_SECURITY_CONTEXT
public static final java.lang.String SPRING_SECURITY_CONTEXT
- See Also:
- Constant Field Values
-
SPRING_SECURITY_SAVED_REQUEST
public static final java.lang.String SPRING_SECURITY_SAVED_REQUEST
- See Also:
- Constant Field Values
-
JSESSIONID
public static final java.lang.String JSESSIONID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLoginPage
@GetMapping public java.lang.String getLoginPage(javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.ui.Model model)
-
getLoginErrorPage
@GetMapping(params="expired") public java.lang.String getLoginErrorPage(org.springframework.ui.Model model)
-
getLoginErrorPage
@GetMapping(params="error") public java.lang.String getLoginErrorPage(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)
-
-