2016-04-06 07:11:06 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
|
|
|
|
~ and other contributors as indicated by the @author tags.
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-tests-adapters-jboss</artifactId>
|
2022-03-22 08:22:48 +00:00
|
|
|
<version>999-SNAPSHOT</version>
|
2016-04-06 07:11:06 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-tests-adapters-remote</artifactId>
|
|
|
|
|
|
|
|
<name>Adapter Tests - JBoss - Remote</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<app.server>remote</app.server>
|
|
|
|
<app.server.type>remote</app.server.type>
|
|
|
|
<app.server.skip.unpack>true</app.server.skip.unpack>
|
|
|
|
<app.server.arquillian.xsl>src/test/resources/xslt/arquillian.xsl</app.server.arquillian.xsl>
|
2021-01-27 12:18:29 +00:00
|
|
|
<common.resources>${basedir}/../../../../../servers/auth-server/jboss/common</common.resources>
|
2016-04-06 07:11:06 +00:00
|
|
|
<exclude.htmlunit>**/performance/htmlunit/**/*Test.java</exclude.htmlunit>
|
|
|
|
<exclude.httpclient>**/performance/httpclient/**/*Test.java</exclude.httpclient>
|
|
|
|
|
|
|
|
<logging.loginlogout>INFO</logging.loginlogout>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
</dependency>
|
2016-05-04 00:48:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-csv</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</dependency>
|
2020-02-12 08:32:03 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2016-04-06 07:11:06 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-app-profile-jee-quickstart</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
2016-11-09 02:58:02 +00:00
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>keycloak-test-app-profile-jee</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2016-04-06 07:11:06 +00:00
|
|
|
<type>war</type>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${examples.home}</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireActiveProfile>
|
|
|
|
<profiles>auth-server-remote</profiles>
|
|
|
|
<!--
|
|
|
|
NOTE: Running adapter test against remote app-server
|
|
|
|
also requires remote mode for the auth-server.
|
|
|
|
|
|
|
|
There are problems when `wildfly-arquillian-container-remote` is on classpath
|
|
|
|
together with `wildfly-arquillian-container-managed`.
|
|
|
|
-->
|
|
|
|
</requireActiveProfile>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>${exclude.htmlunit}</exclude>
|
|
|
|
<exclude>${exclude.httpclient}</exclude>
|
|
|
|
</excludes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<logging.loginlogout>${logging.loginlogout}</logging.loginlogout>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>auth-server-remote</id>
|
2021-01-27 12:18:29 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-keystore</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/containers/auth-server-remote</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>
|
2021-01-27 12:18:29 +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>
|
2021-01-27 12:18:29 +00:00
|
|
|
</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>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-04-06 07:11:06 +00:00
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>no-offset</id>
|
|
|
|
<properties>
|
|
|
|
<app.server.port.offset>0</app.server.port.offset>
|
|
|
|
<app.server.http.port>8080</app.server.http.port>
|
|
|
|
<app.server.https.port>8443</app.server.https.port>
|
|
|
|
<app.server.management.port>9990</app.server.management.port>
|
|
|
|
<app.server.management.port.jmx>9999</app.server.management.port.jmx>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>htmlunit</id>
|
|
|
|
<properties>
|
|
|
|
<exclude.htmlunit>-</exclude.htmlunit>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>httpclient</id>
|
|
|
|
<properties>
|
|
|
|
<exclude.httpclient>-</exclude.httpclient>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>debug</id>
|
|
|
|
<properties>
|
|
|
|
<logging.loginlogout>TRACE</logging.loginlogout>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<warmup.load>1</warmup.load>
|
|
|
|
<warmup.duration>10</warmup.duration>
|
|
|
|
<max.iterations>0</max.iterations>
|
2016-05-04 00:48:36 +00:00
|
|
|
<sleep.between.loops>30</sleep.between.loops>
|
2016-04-06 07:11:06 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2016-05-04 00:48:36 +00:00
|
|
|
</project>
|