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