diff --git a/adapters/oidc/servlet-filter/pom.xml b/adapters/oidc/servlet-filter/pom.xml index 29b0743a78..291152328a 100755 --- a/adapters/oidc/servlet-filter/pom.xml +++ b/adapters/oidc/servlet-filter/pom.xml @@ -30,6 +30,17 @@ Keycloak Servlet Filter Adapter Integration + + + org.keycloak.adapters.servlet.* + + + javax.servlet.*;version="[2.5,4)";resolution:=optional, + org.keycloak.*;version="${project.version}", + *;resolution:=optional + + + org.jboss.logging @@ -94,6 +105,39 @@ ${maven.compiler.target} + + + + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + org.apache.felix + maven-bundle-plugin + true + + + bundle-manifest + process-classes + + manifest + + + + + + . + ${project.name} + ${project.groupId}.${project.artifactId} + ${keycloak.osgi.import} + ${keycloak.osgi.export} + + + diff --git a/adapters/spi/servlet-adapter-spi/pom.xml b/adapters/spi/servlet-adapter-spi/pom.xml index 9186b08737..52ab4f350a 100755 --- a/adapters/spi/servlet-adapter-spi/pom.xml +++ b/adapters/spi/servlet-adapter-spi/pom.xml @@ -30,6 +30,16 @@ Keycloak Servlet Integration + + + org.keycloak.adapters.servlet.* + + + *;resolution:=optional + + ${project.groupId}.keycloak-servlet-filter-adapter + + org.jboss.logging @@ -64,6 +74,40 @@ ${maven.compiler.target} + + + + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + org.apache.felix + maven-bundle-plugin + true + + + bundle-manifest + process-classes + + manifest + + + + + + . + ${project.name} + ${project.groupId}.${project.artifactId} + ${keycloak.osgi.import} + ${keycloak.osgi.export} + ${keycloak.osgi.fragment} + + + diff --git a/distribution/adapters/osgi/features/src/main/resources/features.xml b/distribution/adapters/osgi/features/src/main/resources/features.xml index 52611402c2..e315767ee9 100755 --- a/distribution/adapters/osgi/features/src/main/resources/features.xml +++ b/distribution/adapters/osgi/features/src/main/resources/features.xml @@ -103,6 +103,13 @@ --> + +
Keycloak servlet filter adapter
+ keycloak-adapter-core + mvn:org.keycloak/keycloak-servlet-filter-adapter/${project.version} + mvn:org.keycloak/keycloak-servlet-adapter-spi/${project.version} +
+
The keycloak JAAS configuration
keycloak-adapter-core