keycloak-uncached
Changes
distribution/modules/build.xml 7(+7 -0)
distribution/modules/pom.xml 8(+8 -0)
distribution/modules/src/main/resources/modules/org/keycloak/keycloak-adapter-core/main/module.xml 2(+1 -1)
distribution/modules/src/main/resources/modules/org/keycloak/keycloak-as7-adapter/main/module.xml 2(+1 -1)
distribution/modules/src/main/resources/modules/org/keycloak/keycloak-saml-protocol/main/module.xml 2(+1 -1)
distribution/modules/src/main/resources/modules/org/keycloak/keycloak-services/main/module.xml 2(+1 -1)
distribution/modules/src/main/resources/modules/org/keycloak/keycloak-undertow-adapter/main/module.xml 2(+1 -1)
distribution/modules/src/main/resources/modules/org/keycloak/keycloak-wildfly-adapter/main/module.xml 2(+1 -1)
distribution/server-dist/pom.xml 2(+1 -1)
examples/basic-auth/pom.xml 1(+0 -1)
examples/demo-template/admin-access-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml 2(+1 -1)
examples/demo-template/third-party-cdi/src/main/webapp/WEB-INF/jboss-deployment-structure.xml 2(+1 -1)
integration/adapter-core/pom.xml 3(+1 -2)
integration/admin-client/pom.xml 1(+0 -1)
integration/as7-eap6/adapter/pom.xml 1(+0 -1)
integration/installed/pom.xml 1(+0 -1)
integration/jetty/jetty8.1/pom.xml 1(+0 -1)
integration/jetty/jetty9.1/pom.xml 1(+0 -1)
integration/jetty/jetty9.2/pom.xml 1(+0 -1)
integration/jetty/jetty-core/pom.xml 1(+0 -1)
integration/tomcat/tomcat6/pom.xml 1(+0 -1)
integration/tomcat/tomcat7/pom.xml 1(+0 -1)
integration/tomcat/tomcat8/pom.xml 1(+0 -1)
integration/undertow/pom.xml 1(+0 -1)
integration/wildfly-adapter/pom.xml 1(+0 -1)
pom.xml 21(+19 -2)
testsuite/jetty/jetty81/pom.xml 1(+0 -1)
testsuite/jetty/jetty91/pom.xml 1(+0 -1)
testsuite/jetty/jetty92/pom.xml 1(+0 -1)
testsuite/proxy/pom.xml 1(+0 -1)
testsuite/tomcat7/pom.xml 1(+0 -1)
testsuite/tomcat8/pom.xml 1(+0 -1)
Details
diff --git a/distribution/adapters/as7-adapter-zip/assembly.xml b/distribution/adapters/as7-adapter-zip/assembly.xml
index c265aa0..f1280a2 100755
--- a/distribution/adapters/as7-adapter-zip/assembly.xml
+++ b/distribution/adapters/as7-adapter-zip/assembly.xml
@@ -10,27 +10,20 @@
<fileSets>
<fileSet>
<directory>${project.build.directory}/unpacked</directory>
+ <includes>
+ <include>net/iharder/base64/**</include>
+ <include>org/apache/httpcomponents/**</include>
+ <include>org/keycloak/keycloak-core/**</include>
+ <include>org/keycloak/keycloak-adapter-core/**</include>
+ <include>org/keycloak/keycloak-jboss-adapter-core/**</include>
+ <include>org/keycloak/keycloak-undertow-adapter/**</include>
+ <include>org/keycloak/keycloak-as7-adapter/**</include>
+ <include>org/keycloak/keycloak-as7-subsystem/**</include>
+ </includes>
<excludes>
- <exclude>org/picketlink/**</exclude>
- <exclude>org/keycloak/keycloak-undertow-adapter/**</exclude>
- <exclude>org/keycloak/keycloak-wildfly-adapter/**</exclude>
- <exclude>org/jboss/**</exclude>
- <exclude>org/keycloak/keycloak-subsystem/**</exclude>
+ <exclude>**/*.war</exclude>
</excludes>
- <outputDirectory>modules</outputDirectory>
+ <outputDirectory>modules/system/layers/base</outputDirectory>
</fileSet>
</fileSets>
- <!--
- <dependencySets>
- <dependencySet>
- <unpack>false</unpack>
- <useTransitiveDependencies>true</useTransitiveDependencies>
- <useTransitiveFiltering>true</useTransitiveFiltering>
- <includes>
- <include>org.keycloak:keycloak-as7-adapter</include>
- </includes>
- <outputDirectory>lib/as7-eap6-adapter</outputDirectory>
- </dependencySet>
- </dependencySets>
- -->
</assembly>
diff --git a/distribution/adapters/eap6-adapter-zip/assembly.xml b/distribution/adapters/eap6-adapter-zip/assembly.xml
index f5233e2..1720476 100755
--- a/distribution/adapters/eap6-adapter-zip/assembly.xml
+++ b/distribution/adapters/eap6-adapter-zip/assembly.xml
@@ -10,27 +10,21 @@
<fileSets>
<fileSet>
<directory>${project.build.directory}/unpacked</directory>
+ <includes>
+ <include>net/iharder/base64/**</include>
+ <include>org/bouncycastle/**</include>
+ <include>org/apache/httpcomponents/**</include>
+ <include>org/keycloak/keycloak-core/**</include>
+ <include>org/keycloak/keycloak-adapter-core/**</include>
+ <include>org/keycloak/keycloak-jboss-adapter-core/**</include>
+ <include>org/keycloak/keycloak-undertow-adapter/**</include>
+ <include>org/keycloak/keycloak-as7-adapter/**</include>
+ <include>org/keycloak/keycloak-subsystem/**</include>
+ </includes>
<excludes>
- <exclude>org/picketlink/**</exclude>
- <exclude>org/keycloak/keycloak-undertow-adapter/**</exclude>
- <exclude>org/keycloak/keycloak-wildfly-adapter/**</exclude>
- <exclude>org/keycloak/keycloak-as7-subsystem/**</exclude>
- <exclude>org/jboss/**</exclude>
+ <exclude>**/*.war</exclude>
</excludes>
<outputDirectory>modules/system/layers/base</outputDirectory>
</fileSet>
</fileSets>
- <!--
- <dependencySets>
- <dependencySet>
- <unpack>false</unpack>
- <useTransitiveDependencies>true</useTransitiveDependencies>
- <useTransitiveFiltering>true</useTransitiveFiltering>
- <includes>
- <include>org.keycloak:keycloak-as7-adapter</include>
- </includes>
- <outputDirectory>lib/as7-eap6-adapter</outputDirectory>
- </dependencySet>
- </dependencySets>
- -->
</assembly>
diff --git a/distribution/adapters/osgi/thirdparty/pom.xml b/distribution/adapters/osgi/thirdparty/pom.xml
index f2d35be..4136678 100755
--- a/distribution/adapters/osgi/thirdparty/pom.xml
+++ b/distribution/adapters/osgi/thirdparty/pom.xml
@@ -18,7 +18,7 @@
<properties>
<keycloak.osgi.export>
net.iharder;version="${base64.version}",
- org.apache.http.*;version=${keycloak.apache.httpcomponents.version}
+ org.apache.http.*;version=${apache.httpcomponents.version}
</keycloak.osgi.export>
<keycloak.osgi.import>
*;resolution:=optional
@@ -32,13 +32,7 @@
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
</dependencies>
diff --git a/distribution/adapters/wildfly-adapter-zip/assembly.xml b/distribution/adapters/wildfly-adapter-zip/assembly.xml
index b834084..9448028 100755
--- a/distribution/adapters/wildfly-adapter-zip/assembly.xml
+++ b/distribution/adapters/wildfly-adapter-zip/assembly.xml
@@ -10,26 +10,20 @@
<fileSets>
<fileSet>
<directory>${project.build.directory}/unpacked</directory>
+ <includes>
+ <include>net/iharder/base64/**</include>
+ <include>org/apache/httpcomponents/**</include>
+ <include>org/keycloak/keycloak-core/**</include>
+ <include>org/keycloak/keycloak-adapter-core/**</include>
+ <include>org/keycloak/keycloak-jboss-adapter-core/**</include>
+ <include>org/keycloak/keycloak-undertow-adapter/**</include>
+ <include>org/keycloak/keycloak-wildfly-adapter/**</include>
+ <include>org/keycloak/keycloak-subsystem/**</include>
+ </includes>
<excludes>
- <exclude>org/keycloak/keycloak-as7-adapter/**</exclude>
- <exclude>org/keycloak/keycloak-as7-subsystem/**</exclude>
- <exclude>org/bouncycastle/**</exclude>
- <exclude>org/picketlink/**</exclude>
+ <exclude>**/*.war</exclude>
</excludes>
<outputDirectory>modules/system/layers/base</outputDirectory>
</fileSet>
</fileSets>
- <!--
- <dependencySets>
- <dependencySet>
- <unpack>false</unpack>
- <useTransitiveDependencies>true</useTransitiveDependencies>
- <useTransitiveFiltering>true</useTransitiveFiltering>
- <includes>
- <include>org.keycloak:keycloak-undertow-adapter</include>
- </includes>
- <outputDirectory>lib/wildfly-adapter</outputDirectory>
- </dependencySet>
- </dependencySets>
- -->
</assembly>
distribution/modules/build.xml 7(+7 -0)
diff --git a/distribution/modules/build.xml b/distribution/modules/build.xml
index 091cf96..84c3ead 100755
--- a/distribution/modules/build.xml
+++ b/distribution/modules/build.xml
@@ -338,6 +338,13 @@
<module-def name="org.keycloak.keycloak-as7-subsystem">
<maven-resource group="org.keycloak" artifact="keycloak-as7-subsystem"/>
</module-def>
+
+ <module-def name="org.apache.httpcomponents" slot="4.3">
+ <maven-resource group="org.apache.httpcomponents" artifact="httpclient"/>
+ <maven-resource group="org.apache.httpcomponents" artifact="httpcore"/>
+ <maven-resource group="org.apache.httpcomponents" artifact="httpmime"/>
+ </module-def>
+
</target>
<target name="clean-target">
distribution/modules/pom.xml 8(+8 -0)
diff --git a/distribution/modules/pom.xml b/distribution/modules/pom.xml
index 5da3a2e..16508fb 100755
--- a/distribution/modules/pom.xml
+++ b/distribution/modules/pom.xml
@@ -67,6 +67,14 @@
<groupId>org.keycloak</groupId>
<artifactId>keycloak-as7-subsystem</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpmime</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ </dependency>
</dependencies>
<build>
diff --git a/distribution/modules/src/main/resources/modules/org/apache/httpcomponents/4.3/module.xml b/distribution/modules/src/main/resources/modules/org/apache/httpcomponents/4.3/module.xml
new file mode 100644
index 0000000..a3e65f8
--- /dev/null
+++ b/distribution/modules/src/main/resources/modules/org/apache/httpcomponents/4.3/module.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<module xmlns="urn:jboss:module:1.1" name="org.apache.httpcomponents" slot="4.3">
+ <resources>
+ <!-- Insert resources here -->
+ </resources>
+
+ <dependencies>
+ <module name="javax.api"/>
+ <module name="org.apache.commons.codec"/>
+ <module name="org.apache.commons.logging"/>
+ <module name="org.apache.james.mime4j"/>
+ </dependencies>
+</module>
diff --git a/distribution/modules/src/main/resources/modules/org/bouncycastle/main/module.xml b/distribution/modules/src/main/resources/modules/org/bouncycastle/main/module.xml
index 6d41eeb..d8fcf47 100644
--- a/distribution/modules/src/main/resources/modules/org/bouncycastle/main/module.xml
+++ b/distribution/modules/src/main/resources/modules/org/bouncycastle/main/module.xml
@@ -2,11 +2,9 @@
<module xmlns="urn:jboss:module:1.1" name="org.bouncycastle">
<resources>
- <resource-root path="bcprov-jdk15on-1.50.jar"/>
- <resource-root path="bcpkix-jdk15on-1.50.jar"/>
+ <!-- Insert resources here -->
</resources>
<dependencies>
<module name="javax.api"/>
</dependencies>
-
</module>
\ No newline at end of file
diff --git a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-adapter-core/main/module.xml b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-adapter-core/main/module.xml
index 1fee40c..70a2027 100755
--- a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-adapter-core/main/module.xml
+++ b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-adapter-core/main/module.xml
@@ -11,7 +11,7 @@
<module name="org.codehaus.jackson.jackson-core-asl"/>
<module name="org.codehaus.jackson.jackson-mapper-asl"/>
<module name="org.codehaus.jackson.jackson-xc"/>
- <module name="org.apache.httpcomponents" />
+ <module name="org.apache.httpcomponents" slot="4.3" />
<module name="org.jboss.logging"/>
<module name="org.keycloak.keycloak-core"/>
<module name="net.iharder.base64"/>
diff --git a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-as7-adapter/main/module.xml b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-as7-adapter/main/module.xml
index b5c6191..4a9ef50 100755
--- a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-as7-adapter/main/module.xml
+++ b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-as7-adapter/main/module.xml
@@ -12,7 +12,7 @@
<module name="org.codehaus.jackson.jackson-core-asl"/>
<module name="org.codehaus.jackson.jackson-mapper-asl"/>
<module name="org.codehaus.jackson.jackson-xc"/>
- <module name="org.apache.httpcomponents" />
+ <module name="org.apache.httpcomponents" slot="4.3" />
<module name="javax.servlet.api"/>
<module name="org.jboss.logging"/>
<module name="org.jboss.as.security"/>
diff --git a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-saml-protocol/main/module.xml b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-saml-protocol/main/module.xml
index 45a63fa..b49da9a 100755
--- a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-saml-protocol/main/module.xml
+++ b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-saml-protocol/main/module.xml
@@ -16,7 +16,7 @@
<module name="org.keycloak.keycloak-login-api"/>
<module name="org.keycloak.keycloak-services"/>
<module name="org.keycloak.keycloak-forms-common-freemarker"/>
- <module name="org.apache.httpcomponents" />
+ <module name="org.apache.httpcomponents" slot="4.3" />
<module name="org.jboss.logging"/>
<module name="javax.ws.rs.api"/>
<module name="org.jboss.resteasy.resteasy-jaxrs"/>
diff --git a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-services/main/module.xml b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-services/main/module.xml
index e6fe0ba..aa75112 100755
--- a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-services/main/module.xml
+++ b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-services/main/module.xml
@@ -77,7 +77,7 @@
<module name="net.iharder.base64"/>
<module name="javax.api"/>
<module name="javax.activation.api"/>
- <module name="org.apache.httpcomponents"/>
+ <module name="org.apache.httpcomponents" slot="4.3" />
</dependencies>
</module>
diff --git a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-undertow-adapter/main/module.xml b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-undertow-adapter/main/module.xml
index 8059df1..bd33642 100755
--- a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-undertow-adapter/main/module.xml
+++ b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-undertow-adapter/main/module.xml
@@ -12,7 +12,7 @@
<module name="org.codehaus.jackson.jackson-core-asl"/>
<module name="org.codehaus.jackson.jackson-mapper-asl"/>
<module name="org.codehaus.jackson.jackson-xc"/>
- <module name="org.apache.httpcomponents" />
+ <module name="org.apache.httpcomponents" slot="4.3" />
<module name="javax.servlet.api"/>
<module name="org.jboss.logging"/>
<module name="org.jboss.xnio"/>
diff --git a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-wildfly-adapter/main/module.xml b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-wildfly-adapter/main/module.xml
index 4402e8a..c37e3ad 100755
--- a/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-wildfly-adapter/main/module.xml
+++ b/distribution/modules/src/main/resources/modules/org/keycloak/keycloak-wildfly-adapter/main/module.xml
@@ -12,7 +12,7 @@
<module name="org.codehaus.jackson.jackson-core-asl"/>
<module name="org.codehaus.jackson.jackson-mapper-asl"/>
<module name="org.codehaus.jackson.jackson-xc"/>
- <module name="org.apache.httpcomponents" />
+ <module name="org.apache.httpcomponents" slot="4.3" />
<module name="javax.servlet.api"/>
<module name="org.jboss.logging"/>
<module name="io.undertow.core"/>
diff --git a/distribution/server-dist/assembly.xml b/distribution/server-dist/assembly.xml
index bc972b1..b677d2c 100755
--- a/distribution/server-dist/assembly.xml
+++ b/distribution/server-dist/assembly.xml
@@ -18,9 +18,17 @@
<exclude>docs/**</exclude>
<exclude>standalone/deployments</exclude>
<exclude>standalone/deployments/*</exclude>
+ <exclude>standalone/configuration/standalone*.xml</exclude>
</excludes>
</fileSet>
<fileSet>
+ <directory>${project.build.directory}/unpacked</directory>
+ <outputDirectory>standalone/configuration</outputDirectory>
+ <includes>
+ <include>standalone*.xml</include>
+ </includes>
+ </fileSet>
+ <fileSet>
<directory>${project.build.directory}/unpacked/wildfly-${wildfly.version}</directory>
<outputDirectory></outputDirectory>
<includes>
distribution/server-dist/pom.xml 2(+1 -1)
diff --git a/distribution/server-dist/pom.xml b/distribution/server-dist/pom.xml
index c61330f..753d0fa 100755
--- a/distribution/server-dist/pom.xml
+++ b/distribution/server-dist/pom.xml
@@ -72,7 +72,7 @@
<includes>
<include>standalone*.xml</include>
</includes>
- <outputDir>${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration</outputDir>
+ <outputDir>${project.build.directory}/unpacked</outputDir>
</transformationSet>
</transformationSets>
</configuration>
examples/basic-auth/pom.xml 1(+0 -1)
diff --git a/examples/basic-auth/pom.xml b/examples/basic-auth/pom.xml
index 26d7c7f..6081daf 100755
--- a/examples/basic-auth/pom.xml
+++ b/examples/basic-auth/pom.xml
@@ -49,7 +49,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/examples/cors/database-service/pom.xml b/examples/cors/database-service/pom.xml
index 6daa915..4eac055 100755
--- a/examples/cors/database-service/pom.xml
+++ b/examples/cors/database-service/pom.xml
@@ -47,7 +47,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/examples/demo-template/admin-access-app/pom.xml b/examples/demo-template/admin-access-app/pom.xml
index 293b79d..7bb3bf1 100755
--- a/examples/demo-template/admin-access-app/pom.xml
+++ b/examples/demo-template/admin-access-app/pom.xml
@@ -41,7 +41,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/examples/demo-template/admin-access-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/examples/demo-template/admin-access-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
index 9c1bac9..97c5645 100755
--- a/examples/demo-template/admin-access-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
+++ b/examples/demo-template/admin-access-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
@@ -3,7 +3,7 @@
<dependencies>
<!-- the Demo code uses classes in these modules. These are optional to import if you are not using
Apache Http Client or the HttpClientBuilder that comes with the adapter core -->
- <module name="org.apache.httpcomponents"/>
+ <module name="org.apache.httpcomponents" slot="4.3"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
\ No newline at end of file
diff --git a/examples/demo-template/customer-app/pom.xml b/examples/demo-template/customer-app/pom.xml
index de11a81..d6813b5 100755
--- a/examples/demo-template/customer-app/pom.xml
+++ b/examples/demo-template/customer-app/pom.xml
@@ -41,7 +41,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/examples/demo-template/customer-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/examples/demo-template/customer-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
index 9c1bac9..97c5645 100755
--- a/examples/demo-template/customer-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
+++ b/examples/demo-template/customer-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
@@ -3,7 +3,7 @@
<dependencies>
<!-- the Demo code uses classes in these modules. These are optional to import if you are not using
Apache Http Client or the HttpClientBuilder that comes with the adapter core -->
- <module name="org.apache.httpcomponents"/>
+ <module name="org.apache.httpcomponents" slot="4.3"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
\ No newline at end of file
diff --git a/examples/demo-template/database-service/pom.xml b/examples/demo-template/database-service/pom.xml
index 60a5089..74b1599 100755
--- a/examples/demo-template/database-service/pom.xml
+++ b/examples/demo-template/database-service/pom.xml
@@ -47,7 +47,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/examples/demo-template/product-app/pom.xml b/examples/demo-template/product-app/pom.xml
index 8b84a93..283b243 100755
--- a/examples/demo-template/product-app/pom.xml
+++ b/examples/demo-template/product-app/pom.xml
@@ -41,7 +41,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/examples/demo-template/product-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/examples/demo-template/product-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
index 71457a4..97c5645 100755
--- a/examples/demo-template/product-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
+++ b/examples/demo-template/product-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
@@ -3,7 +3,7 @@
<dependencies>
<!-- the Demo code uses classes in these modules. These are optional to import if you are not using
Apache Http Client or the HttpClientBuilder that comes with the adapter core -->
- <module name="org.apache.httpcomponents" />
+ <module name="org.apache.httpcomponents" slot="4.3"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
\ No newline at end of file
diff --git a/examples/demo-template/third-party/pom.xml b/examples/demo-template/third-party/pom.xml
index 7090aea..2168202 100755
--- a/examples/demo-template/third-party/pom.xml
+++ b/examples/demo-template/third-party/pom.xml
@@ -38,7 +38,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/examples/demo-template/third-party/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/examples/demo-template/third-party/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
index 71457a4..97c5645 100755
--- a/examples/demo-template/third-party/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
+++ b/examples/demo-template/third-party/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
@@ -3,7 +3,7 @@
<dependencies>
<!-- the Demo code uses classes in these modules. These are optional to import if you are not using
Apache Http Client or the HttpClientBuilder that comes with the adapter core -->
- <module name="org.apache.httpcomponents" />
+ <module name="org.apache.httpcomponents" slot="4.3"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
\ No newline at end of file
diff --git a/examples/demo-template/third-party-cdi/pom.xml b/examples/demo-template/third-party-cdi/pom.xml
index 6a5e14b..efcfd67 100755
--- a/examples/demo-template/third-party-cdi/pom.xml
+++ b/examples/demo-template/third-party-cdi/pom.xml
@@ -56,7 +56,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/examples/demo-template/third-party-cdi/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/examples/demo-template/third-party-cdi/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
index 71457a4..97c5645 100755
--- a/examples/demo-template/third-party-cdi/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
+++ b/examples/demo-template/third-party-cdi/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
@@ -3,7 +3,7 @@
<dependencies>
<!-- the Demo code uses classes in these modules. These are optional to import if you are not using
Apache Http Client or the HttpClientBuilder that comes with the adapter core -->
- <module name="org.apache.httpcomponents" />
+ <module name="org.apache.httpcomponents" slot="4.3"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
\ No newline at end of file
diff --git a/examples/fuse/customer-app-fuse/pom.xml b/examples/fuse/customer-app-fuse/pom.xml
index faf9436..5e87679 100755
--- a/examples/fuse/customer-app-fuse/pom.xml
+++ b/examples/fuse/customer-app-fuse/pom.xml
@@ -18,7 +18,7 @@
<keycloak.osgi.export>
</keycloak.osgi.export>
<keycloak.osgi.import>
- org.apache.http.*;version=${keycloak.apache.httpcomponents.version},
+ org.apache.http.*;version=${apache.httpcomponents.version},
javax.servlet.*;version="[2.5,4)",
org.keycloak.adapters.jetty;version="${project.version}",
org.keycloak.adapters;version="${project.version}",
@@ -51,7 +51,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
integration/adapter-core/pom.xml 3(+1 -2)
diff --git a/integration/adapter-core/pom.xml b/integration/adapter-core/pom.xml
index d5a03d0..799d943 100755
--- a/integration/adapter-core/pom.xml
+++ b/integration/adapter-core/pom.xml
@@ -19,7 +19,7 @@
</keycloak.osgi.export>
<keycloak.osgi.import>
org.keycloak.*;version="${project.version}",
- org.apache.http.*;version=${keycloak.apache.httpcomponents.version},
+ org.apache.http.*;version=${apache.httpcomponents.version},
org.apache.karaf.jaas.boot.principal;resolution:=optional,
org.apache.karaf.jaas.modules;resolution:=optional,
*;resolution:=optional
@@ -71,7 +71,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
integration/admin-client/pom.xml 1(+0 -1)
diff --git a/integration/admin-client/pom.xml b/integration/admin-client/pom.xml
index 91d15fc..057794c 100755
--- a/integration/admin-client/pom.xml
+++ b/integration/admin-client/pom.xml
@@ -27,7 +27,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
integration/as7-eap6/adapter/pom.xml 1(+0 -1)
diff --git a/integration/as7-eap6/adapter/pom.xml b/integration/as7-eap6/adapter/pom.xml
index 2ab6868..4033b0b 100755
--- a/integration/as7-eap6/adapter/pom.xml
+++ b/integration/as7-eap6/adapter/pom.xml
@@ -29,7 +29,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/installed/pom.xml 1(+0 -1)
diff --git a/integration/installed/pom.xml b/integration/installed/pom.xml
index b0d2c01..0561d91 100755
--- a/integration/installed/pom.xml
+++ b/integration/installed/pom.xml
@@ -29,7 +29,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
diff --git a/integration/jboss-adapter-core/pom.xml b/integration/jboss-adapter-core/pom.xml
index 1de6a19..c0d8c21 100755
--- a/integration/jboss-adapter-core/pom.xml
+++ b/integration/jboss-adapter-core/pom.xml
@@ -31,7 +31,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/jetty/jetty8.1/pom.xml 1(+0 -1)
diff --git a/integration/jetty/jetty8.1/pom.xml b/integration/jetty/jetty8.1/pom.xml
index dd500ed..f29156c 100755
--- a/integration/jetty/jetty8.1/pom.xml
+++ b/integration/jetty/jetty8.1/pom.xml
@@ -45,7 +45,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/jetty/jetty9.1/pom.xml 1(+0 -1)
diff --git a/integration/jetty/jetty9.1/pom.xml b/integration/jetty/jetty9.1/pom.xml
index ca658fe..7737dbb 100755
--- a/integration/jetty/jetty9.1/pom.xml
+++ b/integration/jetty/jetty9.1/pom.xml
@@ -60,7 +60,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/jetty/jetty9.2/pom.xml 1(+0 -1)
diff --git a/integration/jetty/jetty9.2/pom.xml b/integration/jetty/jetty9.2/pom.xml
index 32205e7..4515174 100755
--- a/integration/jetty/jetty9.2/pom.xml
+++ b/integration/jetty/jetty9.2/pom.xml
@@ -46,7 +46,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/jetty/jetty-core/pom.xml 1(+0 -1)
diff --git a/integration/jetty/jetty-core/pom.xml b/integration/jetty/jetty-core/pom.xml
index 47bbb27..d8d7278 100755
--- a/integration/jetty/jetty-core/pom.xml
+++ b/integration/jetty/jetty-core/pom.xml
@@ -42,7 +42,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
diff --git a/integration/servlet-oauth-client/pom.xml b/integration/servlet-oauth-client/pom.xml
index 56a52c0..35b8011 100755
--- a/integration/servlet-oauth-client/pom.xml
+++ b/integration/servlet-oauth-client/pom.xml
@@ -32,7 +32,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
integration/tomcat/tomcat6/pom.xml 1(+0 -1)
diff --git a/integration/tomcat/tomcat6/pom.xml b/integration/tomcat/tomcat6/pom.xml
index 75079d4..11f2fc1 100755
--- a/integration/tomcat/tomcat6/pom.xml
+++ b/integration/tomcat/tomcat6/pom.xml
@@ -51,7 +51,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/tomcat/tomcat7/pom.xml 1(+0 -1)
diff --git a/integration/tomcat/tomcat7/pom.xml b/integration/tomcat/tomcat7/pom.xml
index 66fa8de..1b52b79 100755
--- a/integration/tomcat/tomcat7/pom.xml
+++ b/integration/tomcat/tomcat7/pom.xml
@@ -52,7 +52,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/tomcat/tomcat8/pom.xml 1(+0 -1)
diff --git a/integration/tomcat/tomcat8/pom.xml b/integration/tomcat/tomcat8/pom.xml
index 11577ea..c5089a2 100755
--- a/integration/tomcat/tomcat8/pom.xml
+++ b/integration/tomcat/tomcat8/pom.xml
@@ -64,7 +64,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
diff --git a/integration/tomcat/tomcat-core/pom.xml b/integration/tomcat/tomcat-core/pom.xml
index 514f2ae..7d03db6 100755
--- a/integration/tomcat/tomcat-core/pom.xml
+++ b/integration/tomcat/tomcat-core/pom.xml
@@ -35,7 +35,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/undertow/pom.xml 1(+0 -1)
diff --git a/integration/undertow/pom.xml b/integration/undertow/pom.xml
index 0b37f79..829536b 100755
--- a/integration/undertow/pom.xml
+++ b/integration/undertow/pom.xml
@@ -31,7 +31,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
integration/wildfly-adapter/pom.xml 1(+0 -1)
diff --git a/integration/wildfly-adapter/pom.xml b/integration/wildfly-adapter/pom.xml
index 4902962..9782f68 100755
--- a/integration/wildfly-adapter/pom.xml
+++ b/integration/wildfly-adapter/pom.xml
@@ -39,7 +39,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>net.iharder</groupId>
pom.xml 21(+19 -2)
diff --git a/pom.xml b/pom.xml
index 4e0ff26..0f15f12 100755
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,8 @@
<base64.version>2.3.8</base64.version>
<bouncycastle.crypto.version>1.50</bouncycastle.crypto.version>
<jackson.version>1.9.9</jackson.version>
- <keycloak.apache.httpcomponents.version>4.2.1</keycloak.apache.httpcomponents.version>
+ <apache.httpcomponents.version>4.3.6</apache.httpcomponents.version>
+ <apache.httpcomponents.httpcore.version>4.3.3</apache.httpcomponents.httpcore.version>
<resteasy.version>3.0.10.Final</resteasy.version>
<undertow.version>1.1.1.Final</undertow.version>
<picketlink.version>2.7.0.Final</picketlink.version>
@@ -427,7 +428,17 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
+ <version>${apache.httpcomponents.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpmime</artifactId>
+ <version>${apache.httpcomponents.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ <version>${apache.httpcomponents.httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.wildfly.core</groupId>
@@ -1064,6 +1075,12 @@
<profiles>
<profile>
+ <id>distribution</id>
+ <modules>
+ <module>distribution</module>
+ </modules>
+ </profile>
+ <profile>
<id>jboss-release</id>
<modules>
<module>docbook</module>
testsuite/jetty/jetty81/pom.xml 1(+0 -1)
diff --git a/testsuite/jetty/jetty81/pom.xml b/testsuite/jetty/jetty81/pom.xml
index 16bb906..b784cfd 100755
--- a/testsuite/jetty/jetty81/pom.xml
+++ b/testsuite/jetty/jetty81/pom.xml
@@ -93,7 +93,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
testsuite/jetty/jetty91/pom.xml 1(+0 -1)
diff --git a/testsuite/jetty/jetty91/pom.xml b/testsuite/jetty/jetty91/pom.xml
index c7f4395..eaef607 100755
--- a/testsuite/jetty/jetty91/pom.xml
+++ b/testsuite/jetty/jetty91/pom.xml
@@ -93,7 +93,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
testsuite/jetty/jetty92/pom.xml 1(+0 -1)
diff --git a/testsuite/jetty/jetty92/pom.xml b/testsuite/jetty/jetty92/pom.xml
index 899cdb1..1b452d9 100755
--- a/testsuite/jetty/jetty92/pom.xml
+++ b/testsuite/jetty/jetty92/pom.xml
@@ -93,7 +93,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
testsuite/proxy/pom.xml 1(+0 -1)
diff --git a/testsuite/proxy/pom.xml b/testsuite/proxy/pom.xml
index 0e6d04b..0641932 100755
--- a/testsuite/proxy/pom.xml
+++ b/testsuite/proxy/pom.xml
@@ -97,7 +97,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
testsuite/tomcat7/pom.xml 1(+0 -1)
diff --git a/testsuite/tomcat7/pom.xml b/testsuite/tomcat7/pom.xml
index d6b0d53..45e06f8 100755
--- a/testsuite/tomcat7/pom.xml
+++ b/testsuite/tomcat7/pom.xml
@@ -108,7 +108,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
testsuite/tomcat8/pom.xml 1(+0 -1)
diff --git a/testsuite/tomcat8/pom.xml b/testsuite/tomcat8/pom.xml
index 35d9667..88a2f82 100755
--- a/testsuite/tomcat8/pom.xml
+++ b/testsuite/tomcat8/pom.xml
@@ -92,7 +92,6 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>${keycloak.apache.httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>