Document Spring Social support

pull/972/merge
Craig Walls 11 years ago committed by Andy Wilkinson
parent f006b1231c
commit 5e1913576e

@ -46,6 +46,7 @@ import org.springframework.web.servlet.View;
* with Facebook. * with Facebook.
* *
* @author Craig Walls * @author Craig Walls
* @since 1.1.0
*/ */
@Configuration @Configuration
@ConditionalOnClass({ FacebookConnectionFactory.class }) @ConditionalOnClass({ FacebookConnectionFactory.class })

@ -45,6 +45,7 @@ import org.springframework.web.servlet.View;
* with LinkedIn. * with LinkedIn.
* *
* @author Craig Walls * @author Craig Walls
* @since 1.1.0
*/ */
@Configuration @Configuration
@ConditionalOnClass({ LinkedInConnectionFactory.class }) @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. * {@link EnableAutoConfiguration Auto-configuration} for Spring Social's web connection support.
* *
* @author Craig Walls * @author Craig Walls
* @since 1.1.0
*/ */
@Configuration @Configuration
@ConditionalOnClass({ ConnectController.class }) @ConditionalOnClass({ ConnectController.class })

@ -46,6 +46,7 @@ import org.springframework.web.servlet.View;
* with Twitter. * with Twitter.
* *
* @author Craig Walls * @author Craig Walls
* @since 1.1.0
*/ */
@Configuration @Configuration
@ConditionalOnClass({ TwitterConnectionFactory.class }) @ConditionalOnClass({ TwitterConnectionFactory.class })

@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
* {@link CompilerAutoConfiguration} for Spring Social Facebook. * {@link CompilerAutoConfiguration} for Spring Social Facebook.
* *
* @author Craig Walls * @author Craig Walls
* @since 1.1.0
*/ */
public class SpringSocialFacebookCompilerAutoConfiguration extends CompilerAutoConfiguration { public class SpringSocialFacebookCompilerAutoConfiguration extends CompilerAutoConfiguration {

@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
* {@link CompilerAutoConfiguration} for Spring Social LinkedIn. * {@link CompilerAutoConfiguration} for Spring Social LinkedIn.
* *
* @author Craig Walls * @author Craig Walls
* @since 1.1.0
*/ */
public class SpringSocialLinkedInCompilerAutoConfiguration extends CompilerAutoConfiguration { public class SpringSocialLinkedInCompilerAutoConfiguration extends CompilerAutoConfiguration {

@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
* {@link CompilerAutoConfiguration} for Spring Social Twitter. * {@link CompilerAutoConfiguration} for Spring Social Twitter.
* *
* @author Craig Walls * @author Craig Walls
* @since 1.1.0
*/ */
public class SpringSocialTwitterCompilerAutoConfiguration extends CompilerAutoConfiguration { 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]) # FILE ENCODING ({sc-spring-boot}/context/FileEncodingApplicationListener.{sc-ext}[FileEncodingApplicationListener])
spring.mandatory-file-encoding=false 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 # 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] |{sc-spring-boot-autoconfigure}/web/EmbeddedServletContainerAutoConfiguration.{sc-ext}[EmbeddedServletContainerAutoConfiguration]
|{dc-spring-boot-autoconfigure}/web/EmbeddedServletContainerAutoConfiguration.{dc-ext}[javadoc] |{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] |{sc-spring-boot-autoconfigure}/freemarker/FreeMarkerAutoConfiguration.{sc-ext}[FreeMarkerAutoConfiguration]
|{dc-spring-boot-autoconfigure}/freemarker/FreeMarkerAutoConfiguration.{dc-ext}[javadoc] |{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] |{sc-spring-boot-autoconfigure}/data/JpaRepositoriesAutoConfiguration.{sc-ext}[JpaRepositoriesAutoConfiguration]
|{dc-spring-boot-autoconfigure}/data/JpaRepositoriesAutoConfiguration.{dc-ext}[javadoc] |{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] |{sc-spring-boot-autoconfigure}/liquibase/LiquibaseAutoConfiguration.{sc-ext}[LiquibaseAutoConfiguration]
|{dc-spring-boot-autoconfigure}/liquibase/LiquibaseAutoConfiguration.{dc-ext}[javadoc] |{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] |{sc-spring-boot-autoconfigure}/web/ServerPropertiesAutoConfiguration.{sc-ext}[ServerPropertiesAutoConfiguration]
|{dc-spring-boot-autoconfigure}/web/ServerPropertiesAutoConfiguration.{dc-ext}[javadoc] |{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] |{sc-spring-boot-autoconfigure}/solr/SolrAutoConfiguration.{sc-ext}[SolrAutoConfiguration]
|{dc-spring-boot-autoconfigure}/solr/SolrAutoConfiguration.{dc-ext}[javadoc] |{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] |{sc-spring-boot-autoconfigure}/thymeleaf/ThymeleafAutoConfiguration.{sc-ext}[ThymeleafAutoConfiguration]
|{dc-spring-boot-autoconfigure}/thymeleaf/ThymeleafAutoConfiguration.{dc-ext}[javadoc] |{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] |{sc-spring-boot-autoconfigure}/velocity/VelocityAutoConfiguration.{sc-ext}[VelocityAutoConfiguration]
|{dc-spring-boot-autoconfigure}/velocity/VelocityAutoConfiguration.{dc-ext}[javadoc] |{dc-spring-boot-autoconfigure}/velocity/VelocityAutoConfiguration.{dc-ext}[javadoc]

@ -257,6 +257,15 @@ and Hibernate.
|`spring-boot-starter-security` |`spring-boot-starter-security`
|Support for `spring-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` |`spring-boot-starter-test`
|Support for common test dependencies, including JUnit, Hamcrest and Mockito along with |Support for common test dependencies, including JUnit, Hamcrest and Mockito along with
the `spring-test` module. the `spring-test` module.

Loading…
Cancel
Save