org.springframework.social.security.SocialUserDetailsService Java Examples
The following examples show how to use
org.springframework.social.security.SocialUserDetailsService.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AcAuthenticationProvider.java From cola with MIT License | 5 votes |
public AcAuthenticationProvider(SocialUserDetailsService userDetailsService, ConnectionFactoryLocator connectionFactoryLocator, UsersConnectionRepository usersConnectionRepository) { this.userDetailsService = userDetailsService; this.connectionFactoryLocator = connectionFactoryLocator; this.usersConnectionRepository = usersConnectionRepository; }
Example #2
Source File: OpenIdAuthenticationSecurityConfig.java From paascloud-master with Apache License 2.0 | 5 votes |
@Autowired public OpenIdAuthenticationSecurityConfig(AuthenticationSuccessHandler pcAuthenticationSuccessHandler, AuthenticationFailureHandler pcAuthenticationFailureHandler, SocialUserDetailsService userDetailsService, UsersConnectionRepository usersConnectionRepository) { this.pcAuthenticationSuccessHandler = pcAuthenticationSuccessHandler; this.pcAuthenticationFailureHandler = pcAuthenticationFailureHandler; this.userDetailsService = userDetailsService; this.usersConnectionRepository = usersConnectionRepository; }
Example #3
Source File: OpenIdAuthenticationProvider.java From microservices-platform with Apache License 2.0 | 4 votes |
public SocialUserDetailsService getUserDetailsService() { return userDetailsService; }
Example #4
Source File: OpenIdAuthenticationProvider.java From microservices-platform with Apache License 2.0 | 4 votes |
public void setUserDetailsService(SocialUserDetailsService userDetailsService) { this.userDetailsService = userDetailsService; }
Example #5
Source File: OpenIdAuthenticationConfiguration.java From cola with MIT License | 4 votes |
@Bean public OpenIdAuthenticationProvider openIdAuthenticationProvider(SocialUserDetailsService socialUserDetailsService, UsersConnectionRepository usersConnectionRepository) { return new OpenIdAuthenticationProvider(socialUserDetailsService, usersConnectionRepository); }
Example #6
Source File: OpenIdAuthenticationProvider.java From cola with MIT License | 4 votes |
public OpenIdAuthenticationProvider(SocialUserDetailsService userDetailsService, UsersConnectionRepository usersConnectionRepository) { this.userDetailsService = userDetailsService; this.usersConnectionRepository = usersConnectionRepository; }
Example #7
Source File: AcAuthenticationConfiguration.java From cola with MIT License | 4 votes |
@Bean public AcAuthenticationProvider acAuthenticationProvider(SocialUserDetailsService socialUserDetailsService, ConnectionFactoryLocator connectionFactoryLocator, UsersConnectionRepository usersConnectionRepository) { return new AcAuthenticationProvider(socialUserDetailsService, connectionFactoryLocator, usersConnectionRepository); }
Example #8
Source File: SocialAutoConfiguration.java From cola with MIT License | 4 votes |
@Bean public SocialUserDetailsService socialUserDetailsService(UserService userService) { return new SocialUserDetailsServiceImpl(userService); }
Example #9
Source File: AuthenticationBeanConfig.java From paascloud-master with Apache License 2.0 | 4 votes |
/** * 默认认证器 * * @return social user details service */ @Bean @ConditionalOnMissingBean(SocialUserDetailsService.class) public SocialUserDetailsService socialUserDetailsService() { return new DefaultSocialUserDetailsServiceImpl(); }
Example #10
Source File: SecurityConfiguration.java From blog-social-login-with-spring-social with Apache License 2.0 | 4 votes |
@Bean public SocialUserDetailsService socialUsersDetailService() { return new SimpleSocialUsersDetailService(userDetailsService()); }
Example #11
Source File: OpenIdAuthenticationProvider.java From paascloud-master with Apache License 2.0 | 2 votes |
/** * Gets user details service. * * @return the user details service */ public SocialUserDetailsService getUserDetailsService() { return userDetailsService; }
Example #12
Source File: OpenIdAuthenticationProvider.java From paascloud-master with Apache License 2.0 | 2 votes |
/** * Sets user details service. * * @param userDetailsService the user details service */ public void setUserDetailsService(SocialUserDetailsService userDetailsService) { this.userDetailsService = userDetailsService; }