Document Spring Social support
This commit is contained in:
committed by
Andy Wilkinson
parent
f006b1231c
commit
5e1913576e
@@ -46,6 +46,7 @@ import org.springframework.web.servlet.View;
|
||||
* with Facebook.
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass({ FacebookConnectionFactory.class })
|
||||
|
||||
@@ -45,6 +45,7 @@ import org.springframework.web.servlet.View;
|
||||
* with LinkedIn.
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass({ LinkedInConnectionFactory.class })
|
||||
|
||||
@@ -38,6 +38,7 @@ import org.springframework.web.servlet.view.BeanNameViewResolver;
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring Social's web connection support.
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass({ ConnectController.class })
|
||||
|
||||
@@ -46,6 +46,7 @@ import org.springframework.web.servlet.View;
|
||||
* with Twitter.
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass({ TwitterConnectionFactory.class })
|
||||
|
||||
@@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
* {@link CompilerAutoConfiguration} for Spring Social Facebook.
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
public class SpringSocialFacebookCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
* {@link CompilerAutoConfiguration} for Spring Social LinkedIn.
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
public class SpringSocialLinkedInCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
* {@link CompilerAutoConfiguration} for Spring Social Twitter.
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
public class SpringSocialTwitterCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
|
||||
@@ -258,6 +258,21 @@ content into your application; rather pick only the properties that you need.
|
||||
# FILE ENCODING ({sc-spring-boot}/context/FileEncodingApplicationListener.{sc-ext}[FileEncodingApplicationListener])
|
||||
spring.mandatory-file-encoding=false
|
||||
|
||||
# SPRING SOCIAL ({sc-spring-boot-autoconfigure}/social/SocialWebAutoConfiguration.{sc-ext}[SocialWebAutoConfiguration])
|
||||
spring.social.auto_connection_views=true # Set to true for default connection views or false if you provide your own
|
||||
|
||||
# SPRING SOCIAL FACEBOOK ({sc-spring-boot-autoconfigure}/social/FacebookAutoConfiguration.{sc-ext}[FacebookAutoConfiguration])
|
||||
spring.social.facebook.appId= # your application's Facebook App ID
|
||||
spring.social.facebook.appSecret= # your application's Facebook App Secret
|
||||
|
||||
# SPRING SOCIAL LINKEDIN ({sc-spring-boot-autoconfigure}/social/LinkedInAutoConfiguration.{sc-ext}[LinkedInAutoConfiguration])
|
||||
spring.social.linkedin.appId= # your application's LinkedIn App ID
|
||||
spring.social.linkedin.appSecret= # your application's LinkedIn App Secret
|
||||
|
||||
# SPRING SOCIAL TWITTER ({sc-spring-boot-autoconfigure}/social/TwitterAutoConfiguration.{sc-ext}[TwitterAutoConfiguration])
|
||||
spring.social.twitter.appId= # your application's Twitter App ID
|
||||
spring.social.twitter.appSecret= # your application's Twitter App Secret
|
||||
|
||||
# ----------------------------------------
|
||||
# ACTUATOR PROPERTIES
|
||||
# ----------------------------------------
|
||||
|
||||
@@ -38,6 +38,9 @@ The following auto-configuration classes are from the `spring-boot-autoconfigure
|
||||
|{sc-spring-boot-autoconfigure}/web/EmbeddedServletContainerAutoConfiguration.{sc-ext}[EmbeddedServletContainerAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/web/EmbeddedServletContainerAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|{sc-spring-boot-autoconfigure}/social/FacebookAutoConfiguration.{sc-ext}[FacebookAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/social/FacebookAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|{sc-spring-boot-autoconfigure}/freemarker/FreeMarkerAutoConfiguration.{sc-ext}[FreeMarkerAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/freemarker/FreeMarkerAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
@@ -59,6 +62,9 @@ The following auto-configuration classes are from the `spring-boot-autoconfigure
|
||||
|{sc-spring-boot-autoconfigure}/data/JpaRepositoriesAutoConfiguration.{sc-ext}[JpaRepositoriesAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/data/JpaRepositoriesAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|{sc-spring-boot-autoconfigure}/social/LinkedInAutoConfiguration.{sc-ext}[LinkedInAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/social/LinkedInAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|{sc-spring-boot-autoconfigure}/liquibase/LiquibaseAutoConfiguration.{sc-ext}[LiquibaseAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/liquibase/LiquibaseAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
@@ -95,6 +101,9 @@ The following auto-configuration classes are from the `spring-boot-autoconfigure
|
||||
|{sc-spring-boot-autoconfigure}/web/ServerPropertiesAutoConfiguration.{sc-ext}[ServerPropertiesAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/web/ServerPropertiesAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|{sc-spring-boot-autoconfigure}/social/SocialWebAutoConfiguration.{sc-ext}[SocialWebAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/social/SocialWebAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|{sc-spring-boot-autoconfigure}/solr/SolrAutoConfiguration.{sc-ext}[SolrAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/solr/SolrAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
@@ -104,6 +113,9 @@ The following auto-configuration classes are from the `spring-boot-autoconfigure
|
||||
|{sc-spring-boot-autoconfigure}/thymeleaf/ThymeleafAutoConfiguration.{sc-ext}[ThymeleafAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/thymeleaf/ThymeleafAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|{sc-spring-boot-autoconfigure}/social/TwitterAutoConfiguration.{sc-ext}[TwitterAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/social/TwitterAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|{sc-spring-boot-autoconfigure}/velocity/VelocityAutoConfiguration.{sc-ext}[VelocityAutoConfiguration]
|
||||
|{dc-spring-boot-autoconfigure}/velocity/VelocityAutoConfiguration.{dc-ext}[javadoc]
|
||||
|
||||
|
||||
@@ -257,6 +257,15 @@ and Hibernate.
|
||||
|`spring-boot-starter-security`
|
||||
|Support for `spring-security`.
|
||||
|
||||
|`spring-boot-starter-social-facebook`
|
||||
|Support for `spring-social-facebook`.
|
||||
|
||||
|`spring-boot-starter-social-linkedin`
|
||||
|Support for `spring-social-linkedin`.
|
||||
|
||||
|`spring-boot-starter-social-twitter`
|
||||
|Support for `spring-social-twitter`.
|
||||
|
||||
|`spring-boot-starter-test`
|
||||
|Support for common test dependencies, including JUnit, Hamcrest and Mockito along with
|
||||
the `spring-test` module.
|
||||
|
||||
Reference in New Issue
Block a user