Class LoginController
java.lang.Object
cn.herodotus.engine.oauth2.management.controller.LoginController
Description: Security 登录控制器
- Author:
- : gengwei.zheng
- See Also:
-
DefaultLoginPageConfigurerDefaultLoginPageGeneratingFilter
- Date:
- : 2022/3/21 19:52
-
Constructor Summary
ConstructorsConstructorDescriptionLoginController(OAuth2AuthenticationProperties authenticationProperties, org.springframework.boot.autoconfigure.session.SessionProperties sessionProperties, cn.herodotus.engine.rest.protect.crypto.processor.HttpCryptoProcessor httpCryptoProcessor) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewlogin(Map<String, Object> model, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) voidprocessSecretKey(org.springframework.web.servlet.ModelAndView modelAndView, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
Constructor Details
-
LoginController
public LoginController(OAuth2AuthenticationProperties authenticationProperties, org.springframework.boot.autoconfigure.session.SessionProperties sessionProperties, cn.herodotus.engine.rest.protect.crypto.processor.HttpCryptoProcessor httpCryptoProcessor)
-
-
Method Details
-
login
-
processSecretKey
public void processSecretKey(org.springframework.web.servlet.ModelAndView modelAndView, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-