Class UserDetailsController


  • @Controller
    public class UserDetailsController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.web.servlet.ModelAndView userDetails​(org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken authentication)  
      • Methods inherited from class java.lang.Object

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

      • UserDetailsController

        public UserDetailsController()
    • Method Detail

      • userDetails

        @GetMapping("/profile")
        @PreAuthorize("hasAuthority(\'SCOPE_profile\')")
        public org.springframework.web.servlet.ModelAndView userDetails​(org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken authentication)