Class SocialConfig

  • All Implemented Interfaces:
    org.springframework.social.config.annotation.SocialConfigurer

    @Configuration
    @EnableSocial
    public class SocialConfig
    extends Object
    implements org.springframework.social.config.annotation.SocialConfigurer
    • Method Detail

      • getProperties

        public static Properties getProperties()
      • isEnabled

        public static boolean isEnabled​(String key)
      • isAutoSignUp

        public static boolean isAutoSignUp()
      • addConnectionFactories

        public void addConnectionFactories​(org.springframework.social.config.annotation.ConnectionFactoryConfigurer connectionFactoryConfigurer,
                                           org.springframework.core.env.Environment environment)
        Specified by:
        addConnectionFactories in interface org.springframework.social.config.annotation.SocialConfigurer
      • getUserIdSource

        public org.springframework.social.UserIdSource getUserIdSource()
        Specified by:
        getUserIdSource in interface org.springframework.social.config.annotation.SocialConfigurer
      • providerSignInController

        @Bean
        public org.springframework.social.connect.web.ProviderSignInController providerSignInController​(org.springframework.social.connect.ConnectionFactoryLocator connectionFactoryLocator,
                                                                                                        org.springframework.social.connect.UsersConnectionRepository usersConnectionRepository)
      • getUsersConnectionRepository

        public org.springframework.social.connect.UsersConnectionRepository getUsersConnectionRepository​(org.springframework.social.connect.ConnectionFactoryLocator connectionFactoryLocator)
        Specified by:
        getUsersConnectionRepository in interface org.springframework.social.config.annotation.SocialConfigurer