rm adapters from appliance/war-dist
This commit is contained in:
parent
2350baee14
commit
b768d593a2
12 changed files with 127 additions and 46 deletions
|
@ -56,14 +56,6 @@
|
||||||
<directory>${project.build.directory}/unpacked/adapter</directory>
|
<directory>${project.build.directory}/unpacked/adapter</directory>
|
||||||
<outputDirectory>keycloak</outputDirectory>
|
<outputDirectory>keycloak</outputDirectory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
|
||||||
<directory>${project.build.directory}/unpacked/js-adapter</directory>
|
|
||||||
<outputDirectory>adapters/js-adapter</outputDirectory>
|
|
||||||
<includes>
|
|
||||||
<include>**/*.js</include>
|
|
||||||
<include>**/*.html</include>
|
|
||||||
</includes>
|
|
||||||
</fileSet>
|
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>src/main/welcome-content</directory>
|
<directory>src/main/welcome-content</directory>
|
||||||
<outputDirectory>keycloak/welcome-content</outputDirectory>
|
<outputDirectory>keycloak/welcome-content</outputDirectory>
|
||||||
|
@ -72,6 +64,7 @@
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
|
<!--
|
||||||
<dependencySets>
|
<dependencySets>
|
||||||
<dependencySet>
|
<dependencySet>
|
||||||
<unpack>false</unpack>
|
<unpack>false</unpack>
|
||||||
|
@ -90,20 +83,5 @@
|
||||||
<outputDirectory>adapters</outputDirectory>
|
<outputDirectory>adapters</outputDirectory>
|
||||||
</dependencySet>
|
</dependencySet>
|
||||||
</dependencySets>
|
</dependencySets>
|
||||||
<!--
|
|
||||||
<moduleSets>
|
|
||||||
<moduleSet>
|
|
||||||
<useAllReactorProjects>true</useAllReactorProjects>
|
|
||||||
<includes>
|
|
||||||
<include>org.keycloak:keycloak-wildfly-adapter-dist</include>
|
|
||||||
</includes>
|
|
||||||
<binaries>
|
|
||||||
<outputDirectory>adapters</outputDirectory>
|
|
||||||
<attachmentClassifier>zip</attachmentClassifier>
|
|
||||||
<includeDependencies>false</includeDependencies>
|
|
||||||
<unpack>false</unpack>
|
|
||||||
</binaries>
|
|
||||||
</moduleSet>
|
|
||||||
</moduleSets>
|
|
||||||
-->
|
-->
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
19
distribution/js-adapter-zip/assembly.xml
Executable file
19
distribution/js-adapter-zip/assembly.xml
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
<assembly>
|
||||||
|
<id>war-dist</id>
|
||||||
|
|
||||||
|
<formats>
|
||||||
|
<format>zip</format>
|
||||||
|
</formats>
|
||||||
|
<includeBaseDirectory>true</includeBaseDirectory>
|
||||||
|
|
||||||
|
<fileSets>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${project.build.directory}/unpacked/js-adapter</directory>
|
||||||
|
<outputDirectory></outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.js</include>
|
||||||
|
<include>**/*.html</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
|
</fileSets>
|
||||||
|
</assembly>
|
74
distribution/js-adapter-zip/pom.xml
Executable file
74
distribution/js-adapter-zip/pom.xml
Executable file
|
@ -0,0 +1,74 @@
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<artifactId>keycloak-parent</artifactId>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<version>1.1.0.Beta2-SNAPSHOT</version>
|
||||||
|
<relativePath>../../pom.xml</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>keycloak-js-adapter-dist</artifactId>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<name>Keycloak JS Adapter Distribution</name>
|
||||||
|
<description/>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<!--<version>2.7</version> -->
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>unpack</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>unpack</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactItems>
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-js-adapter</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<outputDirectory>${project.build.directory}/unpacked/js-adapter</outputDirectory>
|
||||||
|
<includes>*.js</includes>
|
||||||
|
</artifactItem>
|
||||||
|
</artifactItems>
|
||||||
|
<excludes>**/welcome-content/*</excludes>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<version>2.4</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>assemble</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<descriptors>
|
||||||
|
<descriptor>assembly.xml</descriptor>
|
||||||
|
</descriptors>
|
||||||
|
<outputDirectory>
|
||||||
|
target
|
||||||
|
</outputDirectory>
|
||||||
|
<workDirectory>
|
||||||
|
target/assembly/work
|
||||||
|
</workDirectory>
|
||||||
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
|
@ -35,6 +35,7 @@
|
||||||
<module>jetty81-adapter-zip</module>
|
<module>jetty81-adapter-zip</module>
|
||||||
<module>jetty91-adapter-zip</module>
|
<module>jetty91-adapter-zip</module>
|
||||||
<module>jetty92-adapter-zip</module>
|
<module>jetty92-adapter-zip</module>
|
||||||
|
<module>js-adapter-zip</module>
|
||||||
<module>examples-docs-zip</module>
|
<module>examples-docs-zip</module>
|
||||||
<module>theme-template-zip</module>
|
<module>theme-template-zip</module>
|
||||||
<module>war-zip</module>
|
<module>war-zip</module>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
<exclude>**/js-adapter/**</exclude>
|
<exclude>**/js-adapter/**</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
<!--
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${project.build.directory}/unpacked/js-adapter</directory>
|
<directory>${project.build.directory}/unpacked/js-adapter</directory>
|
||||||
<outputDirectory>adapters/js-adapter</outputDirectory>
|
<outputDirectory>adapters/js-adapter</outputDirectory>
|
||||||
|
@ -22,8 +23,10 @@
|
||||||
<include>**/*.html</include>
|
<include>**/*.html</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
-->
|
||||||
</fileSets>
|
</fileSets>
|
||||||
<dependencySets>
|
<dependencySets>
|
||||||
|
<!--
|
||||||
<dependencySet>
|
<dependencySet>
|
||||||
<unpack>false</unpack>
|
<unpack>false</unpack>
|
||||||
<useTransitiveDependencies>false</useTransitiveDependencies>
|
<useTransitiveDependencies>false</useTransitiveDependencies>
|
||||||
|
@ -40,6 +43,7 @@
|
||||||
</includes>
|
</includes>
|
||||||
<outputDirectory>adapters</outputDirectory>
|
<outputDirectory>adapters</outputDirectory>
|
||||||
</dependencySet>
|
</dependencySet>
|
||||||
|
-->
|
||||||
<dependencySet>
|
<dependencySet>
|
||||||
<unpack>true</unpack>
|
<unpack>true</unpack>
|
||||||
<useTransitiveDependencies>false</useTransitiveDependencies>
|
<useTransitiveDependencies>false</useTransitiveDependencies>
|
||||||
|
|
|
@ -82,6 +82,8 @@
|
||||||
<section>
|
<section>
|
||||||
<title>Migrating from 1.1.Beta1 to 1.1.Beta2</title>
|
<title>Migrating from 1.1.Beta1 to 1.1.Beta2</title>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>Adapters are now a separate download. They are not included in appliance and war distribution. We have too many now and the distro
|
||||||
|
is getting bloated.</listitem>
|
||||||
<listitem>The tomcat adapter valve has moved to a different package. From <literal>org.keycloak.adapters.tomcat7.KeycloakAuthenticatorValve</literal> to <literal>org.keycloak.adapters.tomcat.KeycloakAuthenticatorValve</literal>
|
<listitem>The tomcat adapter valve has moved to a different package. From <literal>org.keycloak.adapters.tomcat7.KeycloakAuthenticatorValve</literal> to <literal>org.keycloak.adapters.tomcat.KeycloakAuthenticatorValve</literal>
|
||||||
From the 'tomcat7' package to just 'tomcat'.
|
From the 'tomcat7' package to just 'tomcat'.
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
<section id="javascript-adapter">
|
<section id="javascript-adapter">
|
||||||
<title>Pure Client Javascript Adapter</title>
|
<title>Pure Client Javascript Adapter</title>
|
||||||
<para>
|
<para>
|
||||||
The Keycloak Server comes with a Javascript library you can use to secure pure HTML/Javascript applications. It
|
The Keycloak Server comes with a Javascript library you can use to secure pure HTML/Javascript applications. This
|
||||||
|
library is referencable directly from the keycloak server. You can also download the adapter from Keycloak's download
|
||||||
|
site if you want a static copy of this library. It
|
||||||
works in the same way as other application adapters except that your browser is driving the OAuth redirect protocol
|
works in the same way as other application adapters except that your browser is driving the OAuth redirect protocol
|
||||||
rather than the server.
|
rather than the server.
|
||||||
</para>
|
</para>
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
<section id="jboss-adapter-installation">
|
<section id="jboss-adapter-installation">
|
||||||
<title>Adapter Installation</title>
|
<title>Adapter Installation</title>
|
||||||
<para>
|
<para>
|
||||||
There is a adapter zip file for AS7, EAP, and Wildfly in the <literal>adapters/</literal> directory in the Keycloak
|
Adapters are no longer included with the appliance or war distribution.Each adapter is a separate download on
|
||||||
distribution.
|
the Keycloak download site. They are also available as a maven artifact.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Install on Wildfly:
|
Install on Wildfly:
|
||||||
|
|
|
@ -8,8 +8,11 @@
|
||||||
<section id="jetty8-adapter-installation">
|
<section id="jetty8-adapter-installation">
|
||||||
<title>Adapter Installation</title>
|
<title>Adapter Installation</title>
|
||||||
<para>
|
<para>
|
||||||
There is a adapter zip file for Jetty 8.1.x in the <literal>adapters/</literal> directory in the Keycloak appliance
|
Adapters are no longer included with the appliance or war distribution.Each adapter is a separate download on
|
||||||
or war distribution. You must unzip this file into Jetty 8.1.x's root directory. Including
|
the Keycloak download site. They are also available as a maven artifact.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
You must unzip the Jetty 8.1.x distro into Jetty 8.1.x's root directory. Including
|
||||||
adapter's jars within your WEB-INF/lib directory will not work!
|
adapter's jars within your WEB-INF/lib directory will not work!
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -8,8 +8,11 @@
|
||||||
<section id="jetty9-adapter-installation">
|
<section id="jetty9-adapter-installation">
|
||||||
<title>Adapter Installation</title>
|
<title>Adapter Installation</title>
|
||||||
<para>
|
<para>
|
||||||
There is a adapter zip file for Jetty 9.x in the <literal>adapters/</literal> directory in the Keycloak appliance
|
Adapters are no longer included with the appliance or war distribution.Each adapter is a separate download on
|
||||||
or war distribution. Depending on your version of Jetty, you must unzip this file into Jetty's root directory. Including
|
the Keycloak download site. They are also available as a maven artifact.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
You must unzip the Jetty 9.x distro into Jetty 9.x's root directory. Including
|
||||||
adapter's jars within your WEB-INF/lib directory will not work!
|
adapter's jars within your WEB-INF/lib directory will not work!
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -41,10 +41,6 @@ keycloak-appliance-dist-all-&project.version;/
|
||||||
standalone/configuration/
|
standalone/configuration/
|
||||||
keycloak-server.json
|
keycloak-server.json
|
||||||
themes/
|
themes/
|
||||||
adapters/
|
|
||||||
keycloak-as7-adapter-dist-&project.version;.zip
|
|
||||||
keycloak-eap6-adapter-dist-&project.version;.zip
|
|
||||||
keycloak-wildfly-adapter-dist-&project.version;.zip
|
|
||||||
examples/
|
examples/
|
||||||
docs/
|
docs/
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
@ -86,10 +82,6 @@ keycloak-war-dist-all-&project.version;/
|
||||||
configuration/
|
configuration/
|
||||||
keycloak-server.json
|
keycloak-server.json
|
||||||
themes/
|
themes/
|
||||||
adapters/
|
|
||||||
keycloak-as7-adapter-dist-&project.version;.zip
|
|
||||||
keycloak-eap6-adapter-dist-&project.version;.zip
|
|
||||||
keycloak-wildfly-adapter-dist-&project.version;.zip
|
|
||||||
examples/
|
examples/
|
||||||
docs/
|
docs/
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
@ -107,7 +99,7 @@ keycloak-war-dist-all-&project.version;/
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
After these steps you should also <link linkend='jboss-adapter-installation'>install the client adapter</link>
|
After these steps you MUST then <link linkend='jboss-adapter-installation'>download and install the client adapter</link>
|
||||||
as this may contain modules the server needs (like Bouncycastle). You will also need to install the adapter
|
as this may contain modules the server needs (like Bouncycastle). You will also need to install the adapter
|
||||||
to run the examples on the same server.
|
to run the examples on the same server.
|
||||||
</para>
|
</para>
|
||||||
|
@ -121,7 +113,7 @@ keycloak-war-dist-all-&project.version;/
|
||||||
enter in a new password.
|
enter in a new password.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If you have Keycloak on JBoss AS 7.1.1 <link linkend="as7-specifics">these steps</link>.
|
You can no longer run Keycloak on JBoss AS 7.1.1. You must run on EAP 6.x or Wildfly.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
|
|
|
@ -8,8 +8,11 @@
|
||||||
<section id="tomcat-adapter-installation">
|
<section id="tomcat-adapter-installation">
|
||||||
<title>Adapter Installation</title>
|
<title>Adapter Installation</title>
|
||||||
<para>
|
<para>
|
||||||
There is a adapter zip file for Tomcat in the <literal>adapters/</literal> directory in the Keycloak appliance
|
Adapters are no longer included with the appliance or war distribution. Each adapter is a separate download on
|
||||||
or war distribution. You must unzip this file into Tomcat's <literal>lib/</literal> directory. Including
|
the Keycloak download site. They are also available as a maven artifact.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
You must unzip the adapter distro into Tomcat's <literal>lib/</literal> directory. Including
|
||||||
adapter's jars within your WEB-INF/lib directory will not work! The Keycloak adapter is implemented as a Valve
|
adapter's jars within your WEB-INF/lib directory will not work! The Keycloak adapter is implemented as a Valve
|
||||||
and valve code must reside in Tomcat's main lib/ directory.
|
and valve code must reside in Tomcat's main lib/ directory.
|
||||||
</para>
|
</para>
|
||||||
|
|
Loading…
Reference in a new issue