Merge pull request #31 from praseodym/project-version
Project version for Maven dependency snippets
This commit is contained in:
commit
63c110828f
4 changed files with 15 additions and 17 deletions
|
@ -56,11 +56,11 @@ The {{book.project.name}} filter has the same configuration parameters as the ot
|
|||
|
||||
To use this filter, include this maven artifact in your WAR poms:
|
||||
|
||||
[source,xml, subs="attributes"]
|
||||
[source,xml,subs="attributes+"]
|
||||
----
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-servlet-filter-adapter</artifactId>
|
||||
<version>{{book.project.versionMvn}}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-servlet-filter-adapter</artifactId>
|
||||
<version>{{book.project.versionMvn}}</version>
|
||||
</dependency>
|
||||
----
|
||||
|
|
|
@ -12,19 +12,19 @@ Depending on what container you are using with Spring Boot, you also need to add
|
|||
If you are using Maven, add the following to your pom.xml (using Tomcat as an example):
|
||||
|
||||
|
||||
[source]
|
||||
[source,xml,subs="attributes+"]
|
||||
----
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-spring-boot-adapter</artifactId>
|
||||
<version>&project.version;</version>
|
||||
<version>{{book.project.versionMvn}}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-tomcat8-adapter</artifactId>
|
||||
<version>&project.version;</version>
|
||||
<version>{{book.project.versionMvn}}</version>
|
||||
</dependency>
|
||||
----
|
||||
|
||||
|
|
|
@ -12,16 +12,14 @@ However, keycloak.json is still required.
|
|||
Add Keycloak Spring Security adapter as a dependency to your Maven POM or Gradle build.
|
||||
|
||||
|
||||
[source]
|
||||
[source,xml,subs="attributes+"]
|
||||
----
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-spring-security-adapter</artifactId>
|
||||
<version>&project.version;</version>
|
||||
<version>{{book.project.versionMvn}}</version>
|
||||
</dependency>
|
||||
----
|
||||
----
|
||||
|
||||
===== Spring Security Configuration
|
||||
|
||||
|
|
|
@ -45,13 +45,13 @@ WARNING: You must have a filter mapping that covers `/saml`.
|
|||
|
||||
When registering SPs with an IDP, you must register `http[s]://hostname/{context-root}/saml` as your Assert Consumer Service URL and Single Logout Service URL.
|
||||
|
||||
To use this filter, include this maven artifact in your WAR poms
|
||||
To use this filter, include this maven artifact in your WAR poms:
|
||||
|
||||
[source,xml]
|
||||
[source,xml,subs="attributes+"]
|
||||
----
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-saml-servlet-filter-adapter</artifactId>
|
||||
<version>&project.version;</version>
|
||||
<version>{{book.project.versionMvn}}</version>
|
||||
</dependency>
|
||||
----
|
||||
|
|
Loading…
Reference in a new issue