diff --git a/docbook/reference/en/en-US/master.xml b/docbook/reference/en/en-US/master.xml index 7b72d6ab24..b5c21ab595 100755 --- a/docbook/reference/en/en-US/master.xml +++ b/docbook/reference/en/en-US/master.xml @@ -15,6 +15,7 @@ + @@ -95,6 +96,7 @@ This one is short &Jetty8Adapter; &FuseAdapter; &JavascriptAdapter; + &SpringBootAdapter; &InstalledApplications; &Logout; &MultiTenancy; diff --git a/docbook/reference/en/en-US/modules/spring-boot-adapter.xml b/docbook/reference/en/en-US/modules/spring-boot-adapter.xml new file mode 100755 index 0000000000..081652b158 --- /dev/null +++ b/docbook/reference/en/en-US/modules/spring-boot-adapter.xml @@ -0,0 +1,56 @@ +
+ Spring Boot Adapter + + To be able to secure Spring Boot apps you must add the Keycloak Spring Boot adapter + JAR to your app. You then have to provide some extra configuration via normal Spring + Boot configuration (application.properties). Let's go over these steps. + +
+ Adapter Installation + + The Keycloak Spring Boot adapter takes advantage of Spring Boot's autoconfiguration so all + you need to do is add the Keycloak Spring Boot adapter JAR to your project. Depending on + what container you are using with Spring Boot, you also need to add the appropriate + Keycloak container adapter. If you are using Maven, add the following to your pom.xml (using + Tomcat as an example): + + + + + org.keycloak + keycloak-spring-boot-adapter + 1.2.0.Beta1-SNAPSHOT + + + org.keycloak + keycloak-tomcat8-adapter + ${keycloak.version} + +]]> + + +
+ +
+ Required Spring Boot Adapter Configuration + + This section describes how to configure your Spring Boot app to use Keycloak. + + + Instead of a keycloak.json file, you configure the Spring + Boot Keycloak adapter via the normal Spring Boot configuration. For example: + + + + +
+
\ No newline at end of file