Class LoginController

java.lang.Object
cn.herodotus.engine.oauth2.management.controller.LoginController

@Controller public class LoginController extends Object

Description: Security 登录控制器

Author:
: gengwei.zheng
See Also:
  • DefaultLoginPageConfigurer
  • DefaultLoginPageGeneratingFilter
Date:
: 2022/3/21 19:52
  • Constructor Summary

    Constructors
    Constructor
    Description
    LoginController(OAuth2AuthenticationProperties authenticationProperties, org.springframework.boot.autoconfigure.session.SessionProperties sessionProperties, cn.herodotus.engine.rest.protect.crypto.processor.HttpCryptoProcessor httpCryptoProcessor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.servlet.ModelAndView
    login(Map<String,Object> model, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    void
    processSecretKey(org.springframework.web.servlet.ModelAndView modelAndView, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      @RequestMapping(value="/login", method=GET) public org.springframework.web.servlet.ModelAndView login(Map<String,Object> model, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    • processSecretKey

      public void processSecretKey(org.springframework.web.servlet.ModelAndView modelAndView, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)