2020-03-06 13:29:55 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>integration-arquillian-servers-auth-server</artifactId>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2023-03-03 10:11:44 +00:00
|
|
|
<version>999.0.0-SNAPSHOT</version>
|
2020-03-06 13:29:55 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<name>Auth Server - Quarkus</name>
|
|
|
|
<artifactId>integration-arquillian-servers-auth-server-quarkus</artifactId>
|
|
|
|
|
|
|
|
<properties>
|
2022-02-01 08:42:09 +00:00
|
|
|
<auth.server.home>${project.build.directory}/unpacked/keycloak-${project.version}</auth.server.home>
|
2022-09-30 07:41:57 +00:00
|
|
|
<common.resources>${basedir}/../common</common.resources>
|
2020-06-08 20:57:22 +00:00
|
|
|
<session.cache.owners>2</session.cache.owners>
|
|
|
|
<offline.session.cache.owners>2</offline.session.cache.owners>
|
|
|
|
<login.failure.cache.owners>2</login.failure.cache.owners>
|
2020-10-23 01:14:17 +00:00
|
|
|
<auth.server.quarkus.cluster.config>local</auth.server.quarkus.cluster.config>
|
2021-09-30 06:45:45 +00:00
|
|
|
<!-- Path to testsuite/test resources : Themes-->
|
|
|
|
<keycloak.base.test.resource>${project.parent.basedir}/../../tests/base/src/test/resources</keycloak.base.test.resource>
|
2022-10-17 21:33:22 +00:00
|
|
|
<auth.server.fips.mode>disabled</auth.server.fips.mode>
|
2020-03-06 13:29:55 +00:00
|
|
|
</properties>
|
2020-06-09 22:05:00 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2022-02-01 08:42:09 +00:00
|
|
|
<artifactId>keycloak-quarkus-dist</artifactId>
|
2020-06-09 22:05:00 +00:00
|
|
|
<type>zip</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2020-03-06 13:29:55 +00:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2020-06-17 12:49:55 +00:00
|
|
|
<id>copy-content</id>
|
2020-03-06 13:29:55 +00:00
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2020-06-17 12:49:55 +00:00
|
|
|
<outputDirectory>${auth.server.home}</outputDirectory>
|
2020-03-06 13:29:55 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
2020-06-17 12:49:55 +00:00
|
|
|
<directory>src/main/content</directory>
|
2020-03-06 13:29:55 +00:00
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-06-17 12:49:55 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-pki-root</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${auth.server.home}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${common.resources}/keystore</directory>
|
|
|
|
<includes>
|
|
|
|
<include>ca.crt</include>
|
|
|
|
<include>client.crt</include>
|
|
|
|
<include>client.key</include>
|
|
|
|
<include>*.crl</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${common.resources}/pki/root/ca</directory>
|
|
|
|
<includes>
|
|
|
|
<include>certs/clients/test-user-san@localhost.cert.pem</include>
|
|
|
|
<include>certs/clients/test-user@localhost.key.pem</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-pki-conf</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${auth.server.home}/conf</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${common.resources}/keystore</directory>
|
|
|
|
<includes>
|
|
|
|
<include>keycloak.jks</include>
|
|
|
|
<include>keycloak.truststore</include>
|
|
|
|
<include>client.jks</include>
|
|
|
|
<include>client-ca.jks</include>
|
2021-02-10 21:22:33 +00:00
|
|
|
<include>test-user-cert-intermediary-ca.jks</include>
|
2020-06-17 12:49:55 +00:00
|
|
|
<include>ca.crt</include>
|
|
|
|
<include>client.crt</include>
|
|
|
|
<include>client.key</include>
|
|
|
|
<include>*.crl</include>
|
|
|
|
<include>other_client.jks</include>
|
2021-09-23 07:33:41 +00:00
|
|
|
<include>test-user-obb.jks</include>
|
2020-06-17 12:49:55 +00:00
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-11-01 11:35:43 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-vault-secrets</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${auth.server.home}/secrets</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${common.resources}/vault</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-09-30 06:45:45 +00:00
|
|
|
<execution>
|
|
|
|
<id>add-extending-theme</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${auth.server.home}/themes</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${keycloak.base.test.resource}/theme</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-10-04 11:54:22 +00:00
|
|
|
<execution>
|
|
|
|
<id>add-pw-blacklist-file</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${auth.server.home}/dependency/password-blacklists</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${keycloak.base.test.resource}/password-blacklists</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-03-06 13:29:55 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-server-or-overlay</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2022-02-01 08:42:09 +00:00
|
|
|
<artifactId>keycloak-quarkus-dist</artifactId>
|
2020-03-06 13:29:55 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${project.build.directory}/unpacked</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-testsuite-providers</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${auth.server.home}/providers</outputDirectory>
|
|
|
|
</artifactItem>
|
2022-04-20 12:25:16 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-testsuite-providers-deployment</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${auth.server.home}/providers</outputDirectory>
|
|
|
|
</artifactItem>
|
2020-03-06 13:29:55 +00:00
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-zip</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-07-09 15:28:22 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>ant-generate-default</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<ant antfile="ant/configure.xml" target="config" >
|
|
|
|
<property name="auth.server.home">${auth.server.home}</property>
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-03-06 13:29:55 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2020-06-08 20:57:22 +00:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>auth-server-cluster-quarkus</id>
|
|
|
|
<properties>
|
2020-10-23 01:14:17 +00:00
|
|
|
<auth.server.quarkus.cluster.config>ha</auth.server.quarkus.cluster.config>
|
2020-06-08 20:57:22 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2022-05-27 10:28:50 +00:00
|
|
|
|
2022-10-17 21:33:22 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-server-fips140-2</id>
|
|
|
|
<properties>
|
2023-02-22 11:12:52 +00:00
|
|
|
<auth.server.fips.mode>non-strict</auth.server.fips.mode>
|
2022-10-17 21:33:22 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-crypto-fips1402</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-fips-pki-conf</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${auth.server.home}/conf</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${common.resources}/fips</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-bcfips-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-12-08 17:54:14 +00:00
|
|
|
<outputDirectory>${auth.server.home}/providers</outputDirectory>
|
2022-10-17 21:33:22 +00:00
|
|
|
<includeArtifactIds>bc-fips,bctls-fips,bcpkix-fips</includeArtifactIds>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-12-01 13:30:48 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-bcfips-deps-client</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${auth.server.home}/bin/client/lib</outputDirectory>
|
|
|
|
<includeArtifactIds>bc-fips,bctls-fips</includeArtifactIds>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-10-17 21:33:22 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</profile>
|
|
|
|
|
2020-06-08 20:57:22 +00:00
|
|
|
</profiles>
|
2023-02-22 11:12:52 +00:00
|
|
|
</project>
|