Merge pull request #1346 from mstruk/srv-overlay
Re-enabled server-overlay, and demo-dist for Wildfly 9
This commit is contained in:
commit
c51e6a916c
15 changed files with 112 additions and 289 deletions
|
@ -14,7 +14,6 @@
|
||||||
<outputDirectory>keycloak</outputDirectory>
|
<outputDirectory>keycloak</outputDirectory>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/*.sh</exclude>
|
<exclude>**/*.sh</exclude>
|
||||||
<exclude>standalone/configuration/standalone-keycloak.xml</exclude>
|
|
||||||
</excludes>
|
</excludes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
|
@ -25,6 +24,20 @@
|
||||||
</includes>
|
</includes>
|
||||||
<fileMode>0755</fileMode>
|
<fileMode>0755</fileMode>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${project.build.directory}/unpacked/keycloak-server-overlay-${project.version}</directory>
|
||||||
|
<outputDirectory>keycloak</outputDirectory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>standalone/configuration/standalone-keycloak.xml</exclude>
|
||||||
|
</excludes>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${project.build.directory}/unpacked/keycloak-wf9-adapter-${project.version}</directory>
|
||||||
|
<outputDirectory>keycloak</outputDirectory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>standalone/configuration/standalone-keycloak.xml</exclude>
|
||||||
|
</excludes>
|
||||||
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${project.build.directory}/unpacked/keycloak-docs-${project.version}</directory>
|
<directory>${project.build.directory}/unpacked/keycloak-docs-${project.version}</directory>
|
||||||
<outputDirectory>docs</outputDirectory>
|
<outputDirectory>docs</outputDirectory>
|
||||||
|
@ -34,5 +47,11 @@
|
||||||
<outputDirectory>examples</outputDirectory>
|
<outputDirectory>examples</outputDirectory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
|
<files>
|
||||||
|
<file>
|
||||||
|
<source>${project.build.directory}/unpacked/standalone.xml</source>
|
||||||
|
<outputDirectory>keycloak/standalone/configuration</outputDirectory>
|
||||||
|
</file>
|
||||||
|
</files>
|
||||||
|
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
|
@ -16,7 +16,12 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-server-dist</artifactId>
|
<artifactId>keycloak-server-overlay</artifactId>
|
||||||
|
<type>zip</type>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-wf9-adapter-dist</artifactId>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -63,7 +68,7 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>unpack-server-overlay</id>
|
<id>unpack-server</id>
|
||||||
<phase>prepare-package</phase>
|
<phase>prepare-package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>unpack</goal>
|
<goal>unpack</goal>
|
||||||
|
@ -74,7 +79,24 @@
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-server-overlay</artifactId>
|
<artifactId>keycloak-server-overlay</artifactId>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<outputDirectory>${project.build.directory}/unpacked/wildfly-${wildfly.version}</outputDirectory>
|
<outputDirectory>${project.build.directory}/unpacked/keycloak-server-overlay-${project.version}</outputDirectory>
|
||||||
|
</artifactItem>
|
||||||
|
</artifactItems>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>unpack-adapter</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>unpack</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactItems>
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-wf9-adapter-dist</artifactId>
|
||||||
|
<type>zip</type>
|
||||||
|
<outputDirectory>${project.build.directory}/unpacked/keycloak-wf9-adapter-${project.version}</outputDirectory>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -134,7 +156,7 @@
|
||||||
<includes>
|
<includes>
|
||||||
<include>standalone.xml</include>
|
<include>standalone.xml</include>
|
||||||
</includes>
|
</includes>
|
||||||
<outputDir>${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration</outputDir>
|
<outputDir>${project.build.directory}/unpacked/</outputDir>
|
||||||
</transformationSet>
|
</transformationSet>
|
||||||
</transformationSets>
|
</transformationSets>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -1,72 +0,0 @@
|
||||||
{
|
|
||||||
"admin": {
|
|
||||||
"realm": "master"
|
|
||||||
},
|
|
||||||
|
|
||||||
"eventsStore": {
|
|
||||||
"provider": "jpa",
|
|
||||||
"jpa": {
|
|
||||||
"exclude-events": [ "REFRESH_TOKEN" ]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"realm": {
|
|
||||||
"provider": "jpa"
|
|
||||||
},
|
|
||||||
|
|
||||||
"user": {
|
|
||||||
"provider": "jpa"
|
|
||||||
},
|
|
||||||
|
|
||||||
"userSessions": {
|
|
||||||
"provider" : "mem"
|
|
||||||
},
|
|
||||||
|
|
||||||
"realmCache": {
|
|
||||||
"provider": "mem"
|
|
||||||
},
|
|
||||||
|
|
||||||
"userCache": {
|
|
||||||
"provider": "mem",
|
|
||||||
"mem": {
|
|
||||||
"maxSize": 20000
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"timer": {
|
|
||||||
"provider": "basic"
|
|
||||||
},
|
|
||||||
|
|
||||||
"theme": {
|
|
||||||
"default": "keycloak",
|
|
||||||
"staticMaxAge": 2592000,
|
|
||||||
"cacheTemplates": true,
|
|
||||||
"cacheThemes": true,
|
|
||||||
"folder": {
|
|
||||||
"dir": "${jboss.server.config.dir}/themes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"login": {
|
|
||||||
"provider": "freemarker"
|
|
||||||
},
|
|
||||||
|
|
||||||
"account": {
|
|
||||||
"provider": "freemarker"
|
|
||||||
},
|
|
||||||
|
|
||||||
"email": {
|
|
||||||
"provider": "freemarker"
|
|
||||||
},
|
|
||||||
|
|
||||||
"scheduled": {
|
|
||||||
"interval": 900
|
|
||||||
},
|
|
||||||
|
|
||||||
"connectionsJpa": {
|
|
||||||
"default": {
|
|
||||||
"dataSource": "java:jboss/datasources/KeycloakDS",
|
|
||||||
"databaseSchema": "update"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
Any provider implementation jars and libraries in this folder will be loaded by Keycloak. See the providers
|
|
||||||
section in the documentation for more details.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Themes to configure the look and feel of login pages and account management console. It's not recommended to
|
|
||||||
modify existing the built-in themes, instead you should create a new theme that extends a built-in theme. See the theme
|
|
||||||
section in the documentation for more details.
|
|
|
@ -39,11 +39,9 @@
|
||||||
<xsl:copy>
|
<xsl:copy>
|
||||||
<xsl:apply-templates select="node()|@*"/>
|
<xsl:apply-templates select="node()|@*"/>
|
||||||
<subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
|
<subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
|
||||||
<auth-server name="main-auth-server">
|
<web-context>auth</web-context>
|
||||||
<enabled>true</enabled>
|
|
||||||
<web-context>auth</web-context>
|
|
||||||
</auth-server>
|
|
||||||
</subsystem>
|
</subsystem>
|
||||||
|
<subsystem xmlns="urn:jboss:domain:keycloak:1.1"/>
|
||||||
</xsl:copy>
|
</xsl:copy>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<module xmlns="urn:jboss:module:1.1" name="sun.jdk.jgss">
|
||||||
|
<resources>
|
||||||
|
<!-- Insert resources here -->
|
||||||
|
</resources>
|
||||||
|
<dependencies>
|
||||||
|
<system export="true">
|
||||||
|
<paths>
|
||||||
|
<path name="sun/security/jgss" />
|
||||||
|
<path name="sun/security/jgss/spi" />
|
||||||
|
<path name="sun/security/jgss/krb5" />
|
||||||
|
</paths>
|
||||||
|
</system>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
</module>
|
|
@ -28,13 +28,13 @@
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>adapters</module>
|
<module>adapters</module>
|
||||||
<!--<module>demo-dist</module>-->
|
<module>demo-dist</module>
|
||||||
<module>docs-dist</module>
|
<module>docs-dist</module>
|
||||||
<module>examples-dist</module>
|
<module>examples-dist</module>
|
||||||
<module>modules</module>
|
<module>modules</module>
|
||||||
<module>proxy-dist</module>
|
<module>proxy-dist</module>
|
||||||
<module>server-dist</module>
|
<module>server-dist</module>
|
||||||
<!--<module>server-overlay</module>-->
|
<module>server-overlay</module>
|
||||||
<module>src-dist</module>
|
<module>src-dist</module>
|
||||||
<module>subsystem-war</module>
|
<module>subsystem-war</module>
|
||||||
<module>feature-packs</module>
|
<module>feature-packs</module>
|
||||||
|
|
|
@ -10,20 +10,38 @@
|
||||||
|
|
||||||
<fileSets>
|
<fileSets>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${project.build.directory}/unpacked/modules</directory>
|
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/modules/system/layers/base</directory>
|
||||||
<outputDirectory>modules</outputDirectory>
|
<outputDirectory>modules/system/layers/base</outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>com/google/zxing/**</include>
|
||||||
|
<include>de/idyl/winzipaes/**</include>
|
||||||
|
<include>net/iharder/**</include>
|
||||||
|
<include>org/freemarker/**</include>
|
||||||
|
<include>org/keycloak/**</include>
|
||||||
|
<include>org/liquibase/**</include>
|
||||||
|
<include>org/mongodb/**</include>
|
||||||
|
<include>org/twitter4j/**</include>
|
||||||
|
<include>sun/jdk/jgss/**</include>
|
||||||
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${project.build.directory}/unpacked/content</directory>
|
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/content</directory>
|
||||||
<outputDirectory></outputDirectory>
|
<outputDirectory></outputDirectory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>../../forms/common-themes/src/main/resources/theme</directory>
|
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/standalone/configuration/themes</directory>
|
||||||
<outputDirectory>standalone/configuration/themes</outputDirectory>
|
<outputDirectory>standalone/configuration/themes</outputDirectory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/**</include>
|
<include>**/**</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/standalone/configuration/providers</directory>
|
||||||
|
<outputDirectory>standalone/configuration/providers</outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>**/**</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>../../</directory>
|
<directory>../../</directory>
|
||||||
<includes>
|
<includes>
|
||||||
|
@ -31,25 +49,19 @@
|
||||||
</includes>
|
</includes>
|
||||||
<outputDirectory></outputDirectory>
|
<outputDirectory></outputDirectory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
|
||||||
</fileSets>
|
</fileSets>
|
||||||
|
|
||||||
<files>
|
<files>
|
||||||
<file>
|
<file>
|
||||||
<source>${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration/standalone.xml</source>
|
<source>${project.build.directory}/unpacked/keycloak-${project.version}/standalone/configuration/standalone.xml</source>
|
||||||
<outputDirectory>standalone/configuration</outputDirectory>
|
<outputDirectory>standalone/configuration</outputDirectory>
|
||||||
<destName>standalone-keycloak.xml</destName>
|
<destName>standalone-keycloak.xml</destName>
|
||||||
</file>
|
</file>
|
||||||
<file>
|
<file>
|
||||||
<source>src/main/keycloak-server.json</source>
|
<source>${project.build.directory}/unpacked/keycloak-${project.version}/standalone/configuration/keycloak-server.json</source>
|
||||||
<outputDirectory>standalone/configuration</outputDirectory>
|
<outputDirectory>standalone/configuration</outputDirectory>
|
||||||
</file>
|
</file>
|
||||||
<file>
|
|
||||||
<source>src/main/themes/README.txt</source>
|
|
||||||
<outputDirectory>standalone/configuration/themes</outputDirectory>
|
|
||||||
</file>
|
|
||||||
<file>
|
|
||||||
<source>src/main/providers/README.txt</source>
|
|
||||||
<outputDirectory>standalone/configuration/providers</outputDirectory>
|
|
||||||
</file>
|
|
||||||
</files>
|
</files>
|
||||||
|
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
|
@ -10,49 +10,27 @@
|
||||||
|
|
||||||
<artifactId>keycloak-server-overlay</artifactId>
|
<artifactId>keycloak-server-overlay</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>Keycloak Server Overlay</name>
|
<name>Keycloak Server Overlay Distribution</name>
|
||||||
<description/>
|
<description/>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-jboss-modules</artifactId>
|
<artifactId>keycloak-server-dist</artifactId>
|
||||||
<type>zip</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.wildfly</groupId>
|
|
||||||
<artifactId>wildfly-dist</artifactId>
|
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>keycloak-overlay-${project.version}</finalName>
|
<finalName>keycloak-overlay-${project.version}</finalName>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>unpack-standalone-xml</id>
|
<id>unpack-server-dist</id>
|
||||||
<phase>prepare-package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>unpack</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>org.wildfly</groupId>
|
|
||||||
<artifactId>wildfly-dist</artifactId>
|
|
||||||
<type>zip</type>
|
|
||||||
<outputDirectory>${project.build.directory}/unpacked</outputDirectory>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
<includes>*/standalone/configuration/standalone.xml</includes>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>unpack-module</id>
|
|
||||||
<phase>prepare-package</phase>
|
<phase>prepare-package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>unpack</goal>
|
<goal>unpack</goal>
|
||||||
|
@ -61,9 +39,9 @@
|
||||||
<artifactItems>
|
<artifactItems>
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-jboss-modules</artifactId>
|
<artifactId>keycloak-server-dist</artifactId>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<outputDirectory>${project.build.directory}/unpacked/modules</outputDirectory>
|
<outputDirectory>${project.build.directory}/unpacked</outputDirectory>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -71,32 +49,7 @@
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>xml-maven-plugin</artifactId>
|
|
||||||
<version>1.0</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>generate-resources</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>transform</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<transformationSets>
|
|
||||||
<transformationSet>
|
|
||||||
<dir>${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration</dir>
|
|
||||||
<stylesheet>src/main/xslt/standalone.xsl</stylesheet>
|
|
||||||
<includes>
|
|
||||||
<include>standalone.xml</include>
|
|
||||||
</includes>
|
|
||||||
<outputDir>${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration</outputDir>
|
|
||||||
</transformationSet>
|
|
||||||
</transformationSets>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
@ -109,9 +62,11 @@
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>assembly.xml</descriptor>
|
<descriptor>assembly.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
<outputDirectory>target</outputDirectory>
|
<recompressZippedFiles>true</recompressZippedFiles>
|
||||||
<workDirectory>target/assembly/work</workDirectory>
|
<finalName>${project.build.finalName}</finalName>
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||||
|
<workDirectory>${project.build.directory}/assembly/work</workDirectory>
|
||||||
<tarLongFileMode>gnu</tarLongFileMode>
|
<tarLongFileMode>gnu</tarLongFileMode>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
|
@ -1,72 +0,0 @@
|
||||||
{
|
|
||||||
"admin": {
|
|
||||||
"realm": "master"
|
|
||||||
},
|
|
||||||
|
|
||||||
"eventsStore": {
|
|
||||||
"provider": "jpa",
|
|
||||||
"jpa": {
|
|
||||||
"exclude-events": [ "REFRESH_TOKEN" ]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"realm": {
|
|
||||||
"provider": "jpa"
|
|
||||||
},
|
|
||||||
|
|
||||||
"user": {
|
|
||||||
"provider": "jpa"
|
|
||||||
},
|
|
||||||
|
|
||||||
"userSessions": {
|
|
||||||
"provider" : "mem"
|
|
||||||
},
|
|
||||||
|
|
||||||
"realmCache": {
|
|
||||||
"provider": "mem"
|
|
||||||
},
|
|
||||||
|
|
||||||
"userCache": {
|
|
||||||
"provider": "mem",
|
|
||||||
"mem": {
|
|
||||||
"maxSize": 20000
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"timer": {
|
|
||||||
"provider": "basic"
|
|
||||||
},
|
|
||||||
|
|
||||||
"theme": {
|
|
||||||
"default": "keycloak",
|
|
||||||
"staticMaxAge": 2592000,
|
|
||||||
"cacheTemplates": true,
|
|
||||||
"cacheThemes": true,
|
|
||||||
"folder": {
|
|
||||||
"dir": "${jboss.server.config.dir}/themes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"login": {
|
|
||||||
"provider": "freemarker"
|
|
||||||
},
|
|
||||||
|
|
||||||
"account": {
|
|
||||||
"provider": "freemarker"
|
|
||||||
},
|
|
||||||
|
|
||||||
"email": {
|
|
||||||
"provider": "freemarker"
|
|
||||||
},
|
|
||||||
|
|
||||||
"scheduled": {
|
|
||||||
"interval": 900
|
|
||||||
},
|
|
||||||
|
|
||||||
"connectionsJpa": {
|
|
||||||
"default": {
|
|
||||||
"dataSource": "java:jboss/datasources/KeycloakDS",
|
|
||||||
"databaseSchema": "update"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
Any provider implementation jars and libraries in this folder will be loaded by Keycloak. See the providers
|
|
||||||
section in the documentation for more details.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Themes to configure the look and feel of login pages and account management console. It's not recommended to
|
|
||||||
modify existing the built-in themes, instead you should create a new theme that extends a built-in theme. See the theme
|
|
||||||
section in the documentation for more details.
|
|
|
@ -1,54 +0,0 @@
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:xalan="http://xml.apache.org/xalan"
|
|
||||||
xmlns:j="urn:jboss:domain:3.0"
|
|
||||||
xmlns:ds="urn:jboss:domain:datasources:3.0"
|
|
||||||
xmlns:k="urn:jboss:domain:keycloak:1.1"
|
|
||||||
version="2.0"
|
|
||||||
exclude-result-prefixes="xalan j ds k">
|
|
||||||
|
|
||||||
<xsl:param name="config"/>
|
|
||||||
|
|
||||||
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" xalan:indent-amount="4" standalone="no"/>
|
|
||||||
<xsl:strip-space elements="*"/>
|
|
||||||
|
|
||||||
<xsl:template match="//j:extensions">
|
|
||||||
<xsl:copy>
|
|
||||||
<xsl:apply-templates select="node()|@*"/>
|
|
||||||
<extension module="org.keycloak.keycloak-server-subsystem"/>
|
|
||||||
</xsl:copy>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="//ds:datasources">
|
|
||||||
<xsl:copy>
|
|
||||||
<xsl:apply-templates select="node()[name(.)='datasource']"/>
|
|
||||||
<datasource jndi-name="java:jboss/datasources/KeycloakDS" pool-name="KeycloakDS" enabled="true" use-java-context="true">
|
|
||||||
<connection-url>jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE</connection-url>
|
|
||||||
<driver>h2</driver>
|
|
||||||
<security>
|
|
||||||
<user-name>sa</user-name>
|
|
||||||
<password>sa</password>
|
|
||||||
</security>
|
|
||||||
</datasource>
|
|
||||||
<xsl:apply-templates select="node()[name(.)='drivers']"/>
|
|
||||||
</xsl:copy>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="//j:profile">
|
|
||||||
<xsl:copy>
|
|
||||||
<xsl:apply-templates select="node()|@*"/>
|
|
||||||
<subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
|
|
||||||
<auth-server name="main-auth-server">
|
|
||||||
<enabled>true</enabled>
|
|
||||||
<web-context>auth</web-context>
|
|
||||||
</auth-server>
|
|
||||||
</subsystem>
|
|
||||||
</xsl:copy>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="@*|node()">
|
|
||||||
<xsl:copy>
|
|
||||||
<xsl:apply-templates select="@*|node()" />
|
|
||||||
</xsl:copy>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
6
pom.xml
6
pom.xml
|
@ -1106,6 +1106,12 @@
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-wf9-adapter-dist</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-server-overlay</artifactId>
|
<artifactId>keycloak-server-overlay</artifactId>
|
||||||
|
|
Loading…
Reference in a new issue