Class JdbcOAuth2UserService

  • All Implemented Interfaces:
    org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest,​org.springframework.security.oauth2.core.user.OAuth2User>

    public class JdbcOAuth2UserService
    extends java.lang.Object
    implements org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest,​org.springframework.security.oauth2.core.user.OAuth2User>
    • Constructor Summary

      Constructors 
      Constructor Description
      JdbcOAuth2UserService​(org.springframework.security.provisioning.JdbcUserDetailsManager userDetailsManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.oauth2.core.user.OAuth2User loadUser​(org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest userRequest)  
      • Methods inherited from class java.lang.Object

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

      • JdbcOAuth2UserService

        public JdbcOAuth2UserService​(org.springframework.security.provisioning.JdbcUserDetailsManager userDetailsManager)
    • Method Detail

      • loadUser

        public org.springframework.security.oauth2.core.user.OAuth2User loadUser​(org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest userRequest)
                                                                          throws org.springframework.security.oauth2.core.OAuth2AuthenticationException
        Specified by:
        loadUser in interface org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest,​org.springframework.security.oauth2.core.user.OAuth2User>
        Throws:
        org.springframework.security.oauth2.core.OAuth2AuthenticationException