Class OAuth2Controller


  • @RestController("accessConfirmationController")
    @SessionAttributes(types=org.springframework.security.oauth2.provider.AuthorizationRequest.class)
    @RequestMapping("/oauth")
    public class OAuth2Controller
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.web.servlet.ModelAndView error​(javax.servlet.http.HttpServletRequest request)  
      org.springframework.web.servlet.ModelAndView getAccessConfirmation​(org.springframework.security.oauth2.provider.AuthorizationRequest clientAuth)  
      void setClientDetailsService​(org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OAuth2Controller

        public OAuth2Controller()
    • Method Detail

      • getAccessConfirmation

        @RequestMapping(value="/confirm_access",
                        method=GET)
        public org.springframework.web.servlet.ModelAndView getAccessConfirmation​(@ModelAttribute
                                                                                  org.springframework.security.oauth2.provider.AuthorizationRequest clientAuth)
      • error

        @RequestMapping("/error")
        public org.springframework.web.servlet.ModelAndView error​(javax.servlet.http.HttpServletRequest request)
      • setClientDetailsService

        public void setClientDetailsService​(org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService)