diff --git a/distribution/feature-packs/pom.xml b/distribution/feature-packs/pom.xml index bdf83b47796..30c5c5a1ea7 100644 --- a/distribution/feature-packs/pom.xml +++ b/distribution/feature-packs/pom.xml @@ -33,19 +33,4 @@ adapter-feature-pack - - - - wildfly-dist - - - includeWildFly - - - - server-feature-pack-dependencies - server-feature-pack - - - diff --git a/distribution/feature-packs/server-feature-pack-dependencies/pom.xml b/distribution/feature-packs/server-feature-pack-dependencies/pom.xml deleted file mode 100644 index efcf1ee2fad..00000000000 --- a/distribution/feature-packs/server-feature-pack-dependencies/pom.xml +++ /dev/null @@ -1,477 +0,0 @@ - - - - org.keycloak - feature-packs-parent - 999-SNAPSHOT - ../pom.xml - - 4.0.0 - - keycloak-server-feature-pack-dependencies - - Keycloak Feature Pack: Server Dependencies - pom - - - - com.github.ua-parser - uap-java - - - * - * - - - - - com.google.zxing - core - - - * - * - - - - - com.google.zxing - javase - - - * - * - - - - - com.googlecode.owasp-java-html-sanitizer - owasp-java-html-sanitizer - - - * - * - - - - - org.freemarker - freemarker - - - * - * - - - - - org.infinispan - infinispan-jboss-marshalling - - - * - * - - - - - org.jboss.marshalling - jboss-marshalling - - - * - * - - - - - org.jboss.marshalling - jboss-marshalling-river - - - * - * - - - - - org.keycloak - keycloak-authz-policy-common - - - * - * - - - - - org.keycloak - keycloak-admin-ui - - - * - * - - - - - org.keycloak - keycloak-common - - - * - * - - - - - org.keycloak - keycloak-core - - - * - * - - - - - org.keycloak - keycloak-crypto-default - - - * - * - - - - - org.keycloak - keycloak-js-adapter - - - * - * - - - - - org.keycloak - keycloak-kerberos-federation - - - * - * - - - - - org.keycloak - keycloak-ldap-federation - - - * - * - - - - - org.keycloak - keycloak-model-infinispan - - - * - * - - - - - org.keycloak - keycloak-model-jpa - - - * - * - - - - - org.keycloak - keycloak-model-legacy - - - * - * - - - - - org.keycloak - keycloak-model-legacy-private - - - * - * - - - - - org.keycloak - keycloak-model-legacy-services - - - * - * - - - - - org.keycloak - keycloak-model-map - - - * - * - - - - - org.keycloak - keycloak-model-map-hot-rod - - - * - * - - - - - org.keycloak - keycloak-saml-core - - - * - * - - - - - org.keycloak - keycloak-saml-core-public - - - * - * - - - - - org.keycloak - keycloak-server-spi - - - * - * - - - - - org.keycloak - keycloak-server-spi-private - - - * - * - - - - - org.keycloak - keycloak-services - - - * - * - - - - - org.keycloak - keycloak-sssd-federation - - - * - * - - - - - org.keycloak - keycloak-wildfly-adduser - - - * - * - - - - - org.keycloak - keycloak-wildfly-extensions - - - * - * - - - - - org.keycloak - keycloak-themes - - - * - * - - - - - org.keycloak - keycloak-wildfly-server-subsystem - - - * - * - - - - - org.keycloak - keycloak-client-cli-dist - zip - - - * - * - - - - - org.liquibase - liquibase-core - - - * - * - - - - - org.twitter4j - twitter4j-core - - - * - * - - - - - org.aesh - aesh - - - * - * - - - - - com.openshift - openshift-restclient-java - - - * - * - - - - - com.webauthn4j - webauthn4j-core - - - * - * - - - - - com.webauthn4j - webauthn4j-util - - - * - * - - - - - com.fasterxml.jackson.dataformat - jackson-dataformat-cbor - - - * - * - - - - - org.apache.kerby - kerby-asn1 - - - * - * - - - - - commons-lang - commons-lang - - - * - * - - - - - org.apache.commons - commons-lang3 - - - * - * - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/assembly.xml b/distribution/feature-packs/server-feature-pack/assembly.xml deleted file mode 100644 index 0e2c065fe98..00000000000 --- a/distribution/feature-packs/server-feature-pack/assembly.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - feature-pack - - zip - - false - - - - target/${project.build.finalName} - - - - target/unpacked-themes/theme - content/themes - - - target/keycloak-client-tools/bin - content/bin - - - src/main/resources/identity/module - - **/** - - modules/system/layers/keycloak/org/jboss/as/product/${product.slot} - true - - - src/main/resources/identity - - product.conf - - content/bin - true - - - ../../../ - - LICENSE.txt - - content - - - - src/main/resources/licenses/${product.slot} - content/docs/licenses-${product.slot} - - licenses.xml - - - - target/licenses - content/docs/licenses-${product.slot} - - - diff --git a/distribution/feature-packs/server-feature-pack/feature-pack-build.xml b/distribution/feature-packs/server-feature-pack/feature-pack-build.xml deleted file mode 100644 index 9f2fc921148..00000000000 --- a/distribution/feature-packs/server-feature-pack/feature-pack-build.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/pom.xml b/distribution/feature-packs/server-feature-pack/pom.xml deleted file mode 100644 index 59a9db5a088..00000000000 --- a/distribution/feature-packs/server-feature-pack/pom.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - org.keycloak - feature-packs-parent - 999-SNAPSHOT - ../pom.xml - - 4.0.0 - - keycloak-server-feature-pack - - Keycloak Feature Pack: Server - pom - - - - org.keycloak - keycloak-server-feature-pack-dependencies - ${project.version} - pom - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-theme - validate - - unpack - - - - - org.keycloak - keycloak-themes - target/unpacked-themes - - - - - - unpack-cli - validate - - unpack - - - - - org.keycloak - keycloak-client-cli-dist - zip - target/ - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - - copy-resources - none - - copy-resources - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - assemble - package - - single - - - - assembly.xml - - true - ${project.build.finalName} - false - ${project.build.directory} - ${project.build.directory}/assembly/work - ${assembly.tarLongFileMode} - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/subsystems.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/subsystems.xml deleted file mode 100755 index eb26b613e11..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/subsystems.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - logging.xml - bean-validation.xml - core-management.xml - keycloak-datasources.xml - ee.xml - ejb3.xml - io.xml - keycloak-infinispan.xml - jaxrs.xml - jca.xml - jmx.xml - jpa.xml - mail.xml - naming.xml - remoting.xml - request-controller.xml - elytron.xml - security.xml - security-manager.xml - transactions.xml - keycloak-undertow.xml - keycloak-server.xml - - - - logging.xml - bean-validation.xml - core-management.xml - keycloak-datasources.xml - ee.xml - ejb3.xml - io.xml - keycloak-infinispan.xml - jaxrs.xml - jca.xml - jgroups.xml - jmx.xml - jpa.xml - mail.xml - mod_cluster.xml - naming.xml - remoting.xml - request-controller.xml - elytron.xml - security.xml - security-manager.xml - transactions.xml - keycloak-undertow.xml - keycloak-server.xml - - - logging.xml - io.xml - undertow-load-balancer.xml - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/template.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/template.xml deleted file mode 100755 index bb1ecceeb24..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/domain/template.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host-master.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host-master.xml deleted file mode 100755 index fe4021fb5de..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host-master.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host-slave.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host-slave.xml deleted file mode 100755 index a32c4d8a7d7..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host-slave.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host.xml deleted file mode 100755 index c5643cb5000..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/host.xml +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/subsystems.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/subsystems.xml deleted file mode 100644 index 67bc4cda9c5..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/host/subsystems.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - core-management.xml - jmx.xml - elytron.xml - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/subsystems-ha.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/subsystems-ha.xml deleted file mode 100755 index 2f66515baeb..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/subsystems-ha.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - bean-validation.xml - core-management.xml - deployment-scanner.xml - ee.xml - health.xml - io.xml - jaxrs.xml - jca.xml - jmx.xml - jpa.xml - keycloak-server.xml - logging.xml - mail.xml - metrics.xml - naming.xml - remoting.xml - request-controller.xml - security-manager.xml - security.xml - jgroups.xml - keycloak-datasources.xml - mod_cluster.xml - ejb3.xml - keycloak-infinispan.xml - keycloak-undertow.xml - elytron.xml - transactions.xml - weld.xml - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/subsystems.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/subsystems.xml deleted file mode 100755 index a3d8bc1477f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/subsystems.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - bean-validation.xml - core-management.xml - deployment-scanner.xml - ee.xml - ejb3.xml - health.xml - io.xml - jaxrs.xml - jca.xml - jmx.xml - jpa.xml - keycloak-infinispan.xml - keycloak-server.xml - keycloak-undertow.xml - logging.xml - mail.xml - metrics.xml - naming.xml - remoting.xml - request-controller.xml - security-manager.xml - security.xml - keycloak-datasources.xml - elytron.xml - transactions.xml - weld.xml - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/template.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/template.xml deleted file mode 100644 index b262e15ac9e..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/configuration/standalone/template.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/add-user-keycloak.bat b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/add-user-keycloak.bat deleted file mode 100644 index 0aa1dc9a63e..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/add-user-keycloak.bat +++ /dev/null @@ -1,79 +0,0 @@ -@echo off -rem ------------------------------------------------------------------------- -rem Add User script for Windows -rem ------------------------------------------------------------------------- -rem -rem A simple utility for adding new users to the properties file used -rem for domain management authentication out of the box. - -rem $Id$ - -@if not "%ECHO%" == "" echo %ECHO% -@if "%OS%" == "Windows_NT" setlocal - -if "%OS%" == "Windows_NT" ( - set "DIRNAME=%~dp0%" -) else ( - set DIRNAME=.\ -) - -pushd "%DIRNAME%.." -set "RESOLVED_JBOSS_HOME=%CD%" -popd - -if "x%JBOSS_HOME%" == "x" ( - set "JBOSS_HOME=%RESOLVED_JBOSS_HOME%" -) - -pushd "%JBOSS_HOME%" -set "SANITIZED_JBOSS_HOME=%CD%" -popd - -if /i "%RESOLVED_JBOSS_HOME%" NEQ "%SANITIZED_JBOSS_HOME%" ( - echo. - echo WARNING: The JBOSS_HOME ^("%SANITIZED_JBOSS_HOME%"^) that this script uses points to a different installation than the one that this script resides in ^("%RESOLVED_JBOSS_HOME%"^). Unpredictable results may occur. - echo. - echo JBOSS_HOME: "%JBOSS_HOME%" - echo. -) - -rem Setup JBoss specific properties -if "x%JAVA_HOME%" == "x" ( - set JAVA=java - echo JAVA_HOME is not set. Unexpected results may occur. - echo Set JAVA_HOME to the directory of your local JDK to avoid this message. -) else ( - set "JAVA=%JAVA_HOME%\bin\java" -) - -rem set default modular jvm parameters -setlocal EnableDelayedExpansion -call "!DIRNAME!common.bat" :setDefaultModularJvmOptions "!JAVA_OPTS!" -set "JAVA_OPTS=!JAVA_OPTS! !DEFAULT_MODULAR_JVM_OPTIONS!" -setlocal DisableDelayedExpansion - -rem Find jboss-modules.jar, or we can't continue -if exist "%JBOSS_HOME%\jboss-modules.jar" ( - set "RUNJAR=%JBOSS_HOME%\jboss-modules.jar" -) else ( - echo Could not locate "%JBOSS_HOME%\jboss-modules.jar". - echo Please check that you are in the bin directory when running this script. - goto END -) - -rem Set default module root paths -if "x%JBOSS_MODULEPATH%" == "x" ( - set "JBOSS_MODULEPATH=%JBOSS_HOME%\modules" -) - -rem Uncomment to override standalone and domain user location -rem set "JAVA_OPTS=%JAVA_OPTS% -Djboss.server.config.user.dir=..\standalone\configuration -Djboss.domain.config.user.dir=..\domain\configuration" - -"%JAVA%" %JAVA_OPTS% ^ - -jar "%JBOSS_HOME%\jboss-modules.jar" ^ - -mp "%JBOSS_MODULEPATH%" ^ - org.keycloak.keycloak-wildfly-adduser ^ - %* - -:END -if "x%NOPAUSE%" == "x" pause diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/add-user-keycloak.sh b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/add-user-keycloak.sh deleted file mode 100755 index 6999848e352..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/add-user-keycloak.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -# Add User Utility -# -# A simple utility for adding new users to the properties file used -# for domain management authentication out of the box. -# - -DIRNAME=`dirname "$0"` -GREP="grep" - - . "$DIRNAME/common.sh" - -# OS specific support (must be 'true' or 'false'). -cygwin=false; -if [ `uname|grep -i CYGWIN` ]; then - cygwin=true; -fi - -# For Cygwin, ensure paths are in UNIX format before anything is touched -if $cygwin ; then - [ -n "$JBOSS_HOME" ] && - JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --unix "$JAVA_HOME"` - [ -n "$JAVAC_JAR" ] && - JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"` -fi - -# Setup JBOSS_HOME -RESOLVED_JBOSS_HOME=`cd "$DIRNAME/.."; pwd` -if [ "x$JBOSS_HOME" = "x" ]; then - # get the full path (without any relative bits) - JBOSS_HOME=$RESOLVED_JBOSS_HOME -else - SANITIZED_JBOSS_HOME=`cd "$JBOSS_HOME"; pwd` - if [ "$RESOLVED_JBOSS_HOME" != "$SANITIZED_JBOSS_HOME" ]; then - echo "WARNING: The JBOSS_HOME ($SANITIZED_JBOSS_HOME) that this script uses points to a different installation than the one that this script resides in ($RESOLVED_JBOSS_HOME). Unpredictable results may occur." - echo "" - fi -fi -export JBOSS_HOME - -# Setup the JVM -if [ "x$JAVA" = "x" ]; then - if [ "x$JAVA_HOME" != "x" ]; then - JAVA="$JAVA_HOME/bin/java" - else - JAVA="java" - fi -fi - -# Set default modular JVM options -setDefaultModularJvmOptions $JAVA_OPTS -JAVA_OPTS="$JAVA_OPTS $DEFAULT_MODULAR_JVM_OPTIONS" - -if [ "x$JBOSS_MODULEPATH" = "x" ]; then - JBOSS_MODULEPATH="$JBOSS_HOME/modules" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` - JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` - JBOSS_MODULEPATH=`cygpath --path --windows "$JBOSS_MODULEPATH"` -fi - -# Sample JPDA settings for remote socket debugging -#JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=y" -# Uncomment to override standalone and domain user location -#JAVA_OPTS="$JAVA_OPTS -Djboss.server.config.user.dir=../standalone/configuration -Djboss.domain.config.user.dir=../domain/configuration" - -JAVA_OPTS="$JAVA_OPTS" - -eval \"$JAVA\" $JAVA_OPTS \ - -jar \""$JBOSS_HOME"/jboss-modules.jar\" \ - -mp \""${JBOSS_MODULEPATH}"\" \ - org.keycloak.keycloak-wildfly-adduser \ - '"$@"' diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/federation-sssd-setup.sh b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/federation-sssd-setup.sh deleted file mode 100644 index 1eddb95978f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/federation-sssd-setup.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -# Setup for SSSD -SSSD_FILE="/etc/sssd/sssd.conf" - -if [ -f "$SSSD_FILE" ]; -then - - if ! grep -q ^ldap_user_extra_attrs $SSSD_FILE; then - sed -i '/ldap_tls_cacert/a ldap_user_extra_attrs = mail:mail, sn:sn, givenname:givenname, telephoneNumber:telephoneNumber' $SSSD_FILE - fi - - if ! grep -q ^services.*ifp.* /etc/sssd/sssd.conf; then - sed -i '/^services/ s/$/, ifp/' $SSSD_FILE - fi - - if ! grep -q ^allowed_uids $SSSD_FILE; then - sed -i '/\[ifp\]/a allowed_uids = root' $SSSD_FILE - fi - - if ! grep -q ^user_attributes $SSSD_FILE; then - sed -i '/allowed_uids/a user_attributes = +mail, +telephoneNumber, +givenname, +sn' $SSSD_FILE - fi - - systemctl restart sssd - -else - echo "Please make sure you have $SSSD_FILE into your system! Aborting." - exit 1 -fi - -# Setup for PAM -PAM_FILE="/etc/pam.d/keycloak" - -if [ ! -f "$PAM_FILE" ]; -then -cat < $PAM_FILE - auth required pam_sss.so - account required pam_sss.so -EOF -else - echo "$PAM_FILE already exists. Skipping it..." - exit 0 -fi diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-clustered.cli b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-clustered.cli deleted file mode 100644 index 35307300680..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-clustered.cli +++ /dev/null @@ -1,753 +0,0 @@ -embed-host-controller --domain-config=domain.xml - -# Early versions of keycloak used "ha" for the clustered profile name. -# Yours maybe be something completely different. -set clusteredProfile=auth-server-clustered - -# keycloak-server.json is not normally on this path. -set pathToJson=../domain/configuration/keycloak-server.json - - -echo -echo *** Begin Migration of /profile=$clusteredProfile *** -echo - -# Migrate from 1.8.1 to 1.9.1 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/replicated-cache=work/:read-resource - echo Adding replicated-cache=work to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/replicated-cache=work/:add(mode=SYNC) - echo -end-if -# realmVersions cache deprecated in 2.1.0 -#if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource -# echo Adding local-cache=realmVersions to keycloak cache container... -# /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:add(indexing=NONE,start=LAZY) -# /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/component=transaction/:write-attribute(name=mode,value=BATCH) -# echo -#end-if - -# Migrate from 1.9.1 to 1.9.2 -if (result == NONE) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak users cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 1.9.2 to 2.0.0 -# NO CHANGES - -# Migrate from 2.0.0 to 2.1.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource - echo Removing deprecated cache 'realmVersions' - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:remove - echo -end-if - -# Migrate kecloak-server.json (deprecated in 2.2.0) -if (result == []) of /profile=$clusteredProfile/subsystem=keycloak-server/:read-children-names(child-type=spi) - echo Migrating keycloak-server.json to keycloak-server subsystem... - /profile=$clusteredProfile/subsystem=keycloak-server/:migrate-json(file=$pathToJson) - echo -end-if -if (result == [expression "classpath:${jboss.server.config.dir}/providers/*"]) of /profile=$clusteredProfile/subsystem=keycloak-server/:read-attribute(name=providers) - echo Updating provider to default value - /profile=$clusteredProfile/subsystem=keycloak-server/:write-attribute(name=providers,value=[classpath:${jboss.home.dir}/providers/*]) - echo -end-if -if (result == keycloak) of /profile=$clusteredProfile/subsystem=keycloak-server/theme=defaults:read-attribute(name=default) - echo Undefining default theme... - /profile=$clusteredProfile/subsystem=keycloak-server/theme=defaults:undefine-attribute(name=default) - echo -end-if -if (result == expression "${jboss.server.config.dir}/themes") of /profile=$clusteredProfile/subsystem=keycloak-server/theme=defaults:read-attribute(name=dir) - echo Updating theme dir to default value - /profile=$clusteredProfile/subsystem=keycloak-server/theme=defaults/:write-attribute(name=dir,value=${jboss.home.dir}/themes) - echo -end-if - -set persistenceProvider=jpa - -# Migrate from 2.1.0 to 2.2.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:read-resource - # In migration from 3.0.0 to 3.2.0 there is authorization distributed-cache replaced with local-cache - try - echo - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:add(mode=SYNC,owners=1) - echo Added distributed-cache=authorization - catch - end-try -end-if - -if (result == update) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-get(name=properties,key=databaseSchema) - echo Updating connectionsJpa default properties... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-remove(name=properties,key=databaseSchema) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=initializeEmpty,value=true) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationStrategy,value=update) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationExport,value=${jboss.home.dir}/keycloak-database-update.sql) - echo -end-if -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=userFederatedStorage/:read-resource - echo Adding spi=userFederatedStorage... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=userFederatedStorage/:add(default-provider=$persistenceProvider) - echo -end-if -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=jta-lookup/:read-resource - echo Adding spi=jta-lookup... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) - echo -end-if - -# Migrate from 2.2.0 to 2.2.1 -# NO CHANGES - -# Migrate from 2.2.1 to 2.3.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/:read-resource - echo Adding local-cache=keys to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction and expiration in local-cache=keys... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=max-entries,value=1000) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=expiration/:write-attribute(name=max-idle,value=3600000) - echo -end-if -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=publicKeyStorage/:read-resource - echo Adding spi=publicKeyStorage... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=publicKeyStorage/:add - /profile=$clusteredProfile/subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) - echo -end-if - -# Migrate from 2.3.0 to 2.4.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/:read-resource - echo Replacing invalidation-cache=users with local-cache=users - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/:add - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction in local-cache=users - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms/:read-resource - echo Replacing invalidation-cache=realms with local-cache=realms - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms/:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/:add - echo -end-if - - -# Migrate from 2.4.0 to 2.5.0 -if (result == NONE) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak realms cache... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 2.5.0 to 2.5.1 -# NO CHANGES - -# Migrate 2.5.1 to 2.5.4 -if (result != REPEATABLE_READ) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:read-attribute(name=isolation) - echo Changing ejb cache locking to REPEATABLE_READ - /profile=$clusteredProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:write-attribute(name=isolation,value=REPEATABLE_READ) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:read-resource - echo Removing Hibernate immutable-entity cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:remove -end-if - - -# Migrate from 2.5.4 to 3.0.0 -if (result == jpa) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=eventsStore/:read-attribute(name=default-provider,include-defaults=false) - echo Removing default provider for eventsStore - /profile=$clusteredProfile/subsystem=keycloak-server/spi=eventsStore/:undefine-attribute(name=default-provider) - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=realm/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=realm/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=user/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=user/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=userFederatedStorage/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for userFederatedStorage SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=userFederatedStorage/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=authorizationPersister/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for authorizationPersister SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=authorizationPersister/:remove - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=userCache/:read-resource - echo Adding userCache SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=userCache/:add - /profile=$clusteredProfile/subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=realmCache/:read-resource - echo Adding realmCache SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=realmCache/:add - /profile=$clusteredProfile/subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) - echo -end-if - -if ((result.default-provider == undefined) && (result.provider.default.enabled == true)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/:read-resource(recursive=true,include-defaults=false) - echo Adding 'default' as default provider for connectionsInfinispan - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/:write-attribute(name=default-provider,value=default) - echo -end-if - -# Migrate from 3.0.0 to 3.1.0 -# NO CHANGES - -# Migrate from 3.1.0 to 3.2.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/:read-resource - echo Adding distributed-cache=authenticationSessions to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/:read-resource - echo Adding distributed-cache=actionTokens to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/:add(indexing=NONE,mode=SYNC,owners=2) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=eviction/:write-attribute(name=strategy,value=NONE) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=eviction/:write-attribute(name=max-entries,value=-1) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=interval,value=300000) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=max-idle,value=-1) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:read-resource - echo Replacing distributed-cache=authorization with local-cache=authorization - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:add - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 3.2.0 to 3.2.1 -# NO CHANGES - -# Migrate from 3.2.1 to 3.3.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=core-management/:read-resource - try - echo Trying to add core-management extension - /extension=org.wildfly.extension.core-management/:add - echo - catch - echo Wasn't able to add core-management extension, it should be already added by migrate-domain-standalone.cli - echo - end-try - echo Adding subsystem core-management - /profile=$clusteredProfile/subsystem=core-management/:add - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/:read-resource - try - echo Trying to add elytron extension - /extension=org.wildfly.extension.elytron/:add - echo - catch - echo Wasn't able to add elytron extension, it should be already added by migrate-domain-standalone.cli - echo - end-try - echo Adding subsystem elytron - /profile=$clusteredProfile/subsystem=elytron/:add - /profile=$clusteredProfile/subsystem=elytron/provider-loader=elytron/:add(module=org.wildfly.security.elytron) - /profile=$clusteredProfile/subsystem=elytron/provider-loader=openssl/:add(module=org.wildfly.openssl) - /profile=$clusteredProfile/subsystem=elytron/aggregate-providers=combined-providers/:add(providers=[elytron,openssl]) - /profile=$clusteredProfile/subsystem=elytron/file-audit-log=local-audit/:add(path=audit.log,relative-to=jboss.server.log.dir,format=JSON) - /profile=$clusteredProfile/subsystem=elytron/identity-realm=local/:add(identity="$local") - /profile=$clusteredProfile/subsystem=elytron/properties-realm=ApplicationRealm/:add(users-properties={path=application-users.properties,relative-to=jboss.domain.config.dir,digest-realm-name=ApplicationRealm},groups-properties={path=application-roles.properties,relative-to=jboss.domain.config.dir}) - /profile=$clusteredProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper/:add(mapping-mode=first,permission-mappings=[{principals=[anonymous],permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]},{match-all=true,permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission},{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]}]) - /profile=$clusteredProfile/subsystem=elytron/constant-realm-mapper=local/:add(realm-name=local) - /profile=$clusteredProfile/subsystem=elytron/simple-role-decoder=groups-to-roles/:add(attribute=groups) - /profile=$clusteredProfile/subsystem=elytron/constant-role-mapper=super-user-mapper/:add(roles=[SuperUser]) - /profile=$clusteredProfile/subsystem=elytron/security-domain=ApplicationDomain/:add(default-realm=ApplicationRealm,permission-mapper=default-permission-mapper,realms=[{realm=ApplicationRealm,role-decoder=groups-to-roles},{realm=local}]) - /profile=$clusteredProfile/subsystem=elytron/provider-http-server-mechanism-factory=global/:add - /profile=$clusteredProfile/subsystem=elytron/http-authentication-factory=application-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=BASIC,mechanism-realm-configurations=[{realm-name=Application Realm}]},{mechanism-name=FORM}]) - /profile=$clusteredProfile/subsystem=elytron/provider-sasl-server-factory=global/:add - /profile=$clusteredProfile/subsystem=elytron/mechanism-provider-filtering-sasl-server-factory=elytron/:add(sasl-server-factory=global,filters=[{provider-name=WildFlyElytron}]) - /profile=$clusteredProfile/subsystem=elytron/configurable-sasl-server-factory=configured/:add(sasl-server-factory=elytron,properties={wildfly.sasl.local-user.default-user => "$local"}) - /profile=$clusteredProfile/subsystem=elytron/sasl-authentication-factory=application-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ApplicationRealm}]}]) - /profile=$clusteredProfile/subsystem=elytron/:write-attribute(name=final-providers,value=combined-providers) - /profile=$clusteredProfile/subsystem=elytron/:write-attribute(name=disallowed-providers,value=[OracleUcrypto]) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Adding channel-creation-options READ_TIMEOUT to ejb3 remote - /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:add(value="${prop.remoting-connector.read.timeout:20}",type=xnio) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:read-resource - echo Adding channel-creation-options MAX_OUTBOUND_MESSAGES to ejb3 remote - /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:add(value=1234,type=remoting) - echo -end-if - -if (result == ASYNC) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/distributed-cache=dist:read-attribute(name=mode) - echo Setting SYNC mode for web cache-container - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/distributed-cache=dist:write-attribute(name=mode,value=SYNC) - echo -end-if - -if (result == ASYNC) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=ejb/distributed-cache=dist:read-attribute(name=mode) - echo Setting SYNC mode for ejb cache-container - /profile=$clusteredProfile/subsystem=infinispan/cache-container=ejb/distributed-cache=dist:write-attribute(name=mode,value=SYNC) - echo -end-if - -if (result == undefined) of /profile=$clusteredProfile/subsystem=jgroups/channel=ee/:read-attribute(name=cluster) - echo Setting cluster attribute to ejb in jgroups subsystem - /profile=$clusteredProfile/subsystem=jgroups/channel=ee/:write-attribute(name=cluster,value=ejb) - echo -end-if - -if (result != undefined) of /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Unsetting socket-binding from udp FD_SOCK protocol - # it has to be done via remove and add, because socket-binding is not writable attribute - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:add - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD/:read-resource - echo Replacing tcp FD protocol with FD_ALL - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD/:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_ALL/:add - echo -end-if - -if (result != undefined) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Unsetting socket-binding from tcp FD_SOCK protocol - # it has to be done via remove and add, because socket-binding is not writable attribute - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:add - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:read-resource - echo Adding http-invoker to default-host - /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:add(security-realm=ApplicationRealm) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=undertow/server=default-server/http-listener=default/:read-attribute(name=enable-http2) - echo Enabling http2 for default http-listener - /profile=$clusteredProfile/subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=enable-http2,value=true) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=undertow/server=default-server/https-listener=https/:read-resource - echo Adding https-listener - /profile=$clusteredProfile/subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,security-realm=ApplicationRealm,enable-http2=true) - echo -end-if - -if (result == 224.0.1.105) of /socket-binding-group=ha-sockets/socket-binding=modcluster/:read-attribute(name=multicast-address) - echo Adding jboss.modcluster.multicast.address property to modcluster multicast-address - /socket-binding-group=ha-sockets/socket-binding=modcluster/:write-attribute(name=multicast-address,value=${jboss.modcluster.multicast.address:224.0.1.105}) - echo -end-if - -# Migrate from 3.3.0 to 3.4.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:read-resource - echo Removing X-Powered-By and Server headers from Keycloak responses... - /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:remove - /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=x-powered-by-header/:remove - /profile=$clusteredProfile/subsystem=undertow/configuration=filter/response-header=x-powered-by-header/:remove - /profile=$clusteredProfile/subsystem=undertow/configuration=filter/response-header=server-header/:remove -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jdr/:read-resource - echo Removing jdr subsystem and extension - /profile=$clusteredProfile/subsystem=jdr/:remove - echo - try - echo Trying to remove jdr extension - /extension=org.jboss.as.jdr/:remove - echo - catch - echo Wasn't able to remove jdr extension, Should be removed by migrate-domain-standalone.cli - echo - end-try -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jsf/:read-resource - echo Removing jsf subsystem and extension - /profile=$clusteredProfile/subsystem=jsf/:remove - echo - try - echo Trying to remove jsf extension - /extension=org.jboss.as.jsf/:remove - echo - catch - echo Wasn't able to remove jsf extension, Should be removed by migrate-domain-standalone.cli - echo - end-try -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/:read-resource - echo Adding distributed-cache=offlineClientSessions to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/:read-resource - echo Adding distributed-cache=clientSessions to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=x509cert-lookup/:read-resource - echo Adding spi=x509cert-lookup... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=x509cert-lookup/:add(default-provider=${keycloak.x509cert.lookup.provider:default}) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=x509cert-lookup/provider=default/:add(enabled=true) - echo -end-if - -# Migrate from 4.2.0 to 4.3.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:read-resource - echo Adding spi=hostname... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:add(default-provider=request) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/provider=fixed/:add(properties={hostname => "localhost",httpPort => "-1",httpsPort => "-1"},enabled=true) - echo -end-if - -# Migrate from 4.3.0 to 4.4.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/permission-set=login-permission/:read-resource - echo Adding permission-set=login-permission to elytron - /profile=$clusteredProfile/subsystem=elytron/permission-set=login-permission:add(permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission}]) - /profile=$clusteredProfile/subsystem=elytron/permission-set=default-permissions/:add(permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]) - /profile=$clusteredProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper/:undefine-attribute(name=permission-mappings) - /profile=$clusteredProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper:write-attribute(name=permission-mappings,value=[{permission-sets=[{permission-set=login-permission},{permission-set=default-permissions}],match-all=true},{permission-sets=[{permission-set=default-permissions}],principals=[anonymous]}]) - echo -end-if - -if (result == org.hibernate.infinispan) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate:read-attribute(name=module) - echo Update hibernate cache module - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate:write-attribute(name=module, value=org.infinispan.hibernate-cache) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate:read-attribute(name=default-cache) - echo Remove default cache from hibernate cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate:undefine-attribute(name=default-cache) - echo -end-if -if (result == ASYNC) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/replicated-cache=timestamps:read-attribute(name=mode) - echo Switching mode for timestamps cache from ASYNC to SYNC - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/replicated-cache=timestamps:write-attribute(name=mode, value=SYNC) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:read-resource - echo Removing eviction from hibernate entity cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/distributed-cache=local-query/eviction=EVICTION:read-resource - echo Removing eviction from hibernate local-query cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:read-resource - echo Removing eviction from keycloak realms cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:read-resource - echo Removing eviction from keycloak users cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:read-resource - echo Removing eviction from keycloak authorization cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:read-resource - echo Removing eviction from keycloak keys cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:read-resource - echo Changing JNDI reference in connectionsInfinispan SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:undefine-attribute(name=properties) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:write-attribute(name=properties,value={cacheContainer=java:jboss/infinispan/container/keycloak}) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FRAG2:read-resource - echo Upgrade jgroups protocol from FRAG2 to FRAG3 for tcp stack - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FRAG2:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FRAG3:add() - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FRAG2:read-resource - echo Upgrade jgroups protocol from FRAG2 to FRAG3 for udp stack - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FRAG2:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FRAG3:add() - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=remoting/configuration=endpoint:read-resource - echo Remove endpoint from remoting configuration - /profile=$clusteredProfile/subsystem=remoting/configuration=endpoint:remove - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/socket-binding-group=$clusteredProfile-sockets/socket-binding=jgroups-mping:read-attribute(name=port) - /profile=$clusteredProfile/socket-binding-group=$clusteredProfile-sockets/socket-binding=jgroups-mping:undefine-attribute(name=port) -end-if -if (outcome == success) of /socket-binding-group=$clusteredProfile-sockets/socket-binding=modcluster:read-attribute(name=port) - /profile=$clusteredProfile/socket-binding-group=$clusteredProfile-sockets/socket-binding=modcluster:undefine-attribute(name=port) -end-if - -# Migrate from 4.5.0 to 4.6.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=elytron/http-authentication-factory=application-http-authentication/:read-resource - echo Removing application-http-authentication from elytron subsystem - /profile=$clusteredProfile/subsystem=elytron/http-authentication-factory=application-http-authentication:remove - echo -end-if - -if (result == undefined) of /profile=$clusteredProfile/subsystem=transactions/:read-attribute(name=node-identifier,include-defaults=false) - echo Setting node-identifier attribute of core-environment element in transactions subsystem - /profile=$clusteredProfile/subsystem=transactions/:write-attribute(name=node-identifier,value=expression "${jboss.tx.node.id:1}") - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=udp/transport=UDP/property=port_range:read-attribute(name=value) - try - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/transport=UDP/property=port_range:remove - echo Remove port_range property from UDP transport type of udp stack - catch - echo - end-try -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:read-attribute(name=value) - try - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:remove - echo Remove port_range property from TCP transport type of tcp stack - catch - echo - end-try -end-if - -# Migrate from 4.8.3 to 5.0.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=logging/logger=io.jaegertracing.Configuration/:read-resource - echo Adding io.jaegertracing.Configuration logger - /profile=$clusteredProfile/subsystem=logging/logger=io.jaegertracing.Configuration/:add(category=io.jaegertracing.Configuration,level=WARN) - echo -end-if - -# Migrate from 5.0.0 to 6.0.0 -if (result == NON_XA) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:read-attribute(name=mode) - echo Removing NON_XA transaction mode from infinispan/hibernate/entity - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:undefine-attribute(name=mode) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=datasources/data-source=ExampleDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ExampleDS datasource - /profile=$clusteredProfile/subsystem=datasources/data-source=ExampleDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=datasources/data-source=KeycloakDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to KeycloakDS datasource - /profile=$clusteredProfile/subsystem=datasources/data-source=KeycloakDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=ejb3/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ejb3 subsystem - /profile=$clusteredProfile/subsystem=ejb3/:write-attribute(name=statistics-enabled,value=${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=transactions/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to transactions subsystem - /profile=$clusteredProfile/subsystem=transactions/:write-attribute(name=statistics-enabled,value=${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=undertow/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to undertow subsystem - /profile=$clusteredProfile/subsystem=undertow/:write-attribute(name=statistics-enabled,value=${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=webservices/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to webservices subsystem - /profile=$clusteredProfile/subsystem=webservices/:write-attribute(name=statistics-enabled,value=${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -# Migrate from 6.0.1 to 7.0.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem - /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:remove - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/distributed-cache=routing:read-resource - echo Adding distributed cache routing to web cache container to infinispan subsystem - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/distributed-cache=routing/:add - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/replicated-cache=sso:read-resource - echo Adding replicated cache sso to web cache container to infinispan subsystem - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/replicated-cache=sso/:add - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/replicated-cache=sso/component=locking/:add(isolation=REPEATABLE_READ) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/replicated-cache=sso/component=transaction/:add(mode=BATCH) - echo -end-if - -if (outcome == failed) of /socket-binding-group=ha-sockets/socket-binding=jgroups-tcp-fd/:read-resource - echo Adding jgroups-tcp-fd socket binding to ha-sockets binding group - /socket-binding-group=ha-sockets/socket-binding=jgroups-tcp-fd/:add(interface=private,port=57600) - echo -end-if - -if (outcome == failed) of /socket-binding-group=ha-sockets/socket-binding=jgroups-udp-fd/:read-resource - echo Adding jgroups-udp-fd socket binding to ha-sockets binding group - /socket-binding-group=ha-sockets/socket-binding=jgroups-udp-fd/:add(interface=private,port=54200) - echo -end-if - -if (result == undefined) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Adding socket-binding for FD_SOCK protocol for tcp stack in jgroups subsystem - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:write-attribute(name=socket-binding,value=jgroups-tcp-fd) - echo -end-if - -if (result == undefined) of /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Adding socket-binding for FD_SOCK protocol for udp stack in jgroups subsystem - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:write-attribute(name=socket-binding,value=jgroups-udp-fd) - echo -end-if - -if (result == "true") of /subsystem=keycloak-server/spi=truststore/provider=file:map-get(name=properties, key=disabled) - echo Disabling Truststore Provider - /subsystem=keycloak-server/spi=truststore/provider=file:write-attribute(name=enabled, value=false) - echo Removing deprecated option - /subsystem=keycloak-server/spi=truststore/provider=file:map-remove(name=properties, key=disabled) - echo -end-if - -# Migrate from 7.0.0 to 8.0.0 - -if ((result.time == 100L) && (result.unit == MILLISECONDS)) of /profile=$clusteredProfile/subsystem=ejb3/thread-pool=default:read-attribute(name=keepalive-time) - echo Changing thread pool keepalive of ejb3 subsystem - /profile=$clusteredProfile/subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.time, value=60) - /profile=$clusteredProfile/subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.unit,value=SECONDS) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/provider=default/:read-resource - echo Adding default hostname provider - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -end-if - -if (result == request) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - echo Switching from request to default hostname provider - - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:write-attribute(name=default-provider,value=default) -end-if - -if (result != fixed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - try - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/provider=fixed:remove - echo Removed config for unused fixed hostname provider - catch - end-try -end-if - -# Migrate from 10.0.2 to 11.0.0 (migration changes for infinispan update from 9.4.18.Final to 10.1.8.Final) - -if (result != org.keycloak.keycloak-model-infinispan) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak:read-attribute(name=module) - echo Setting class loader for keycloak cache-container in auth-server-clustered profile so JBoss Marshalling works properly with Infinispan 10.x - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak:write-attribute(name=module,value=org.keycloak.keycloak-model-infinispan) - echo -end-if - -# Migrate from 12.0.0 to 13.0.0 - -## Add ability to make use of automatically generated self-signed certificate with Elytron, -## introduced by WFCORE-5095 in Wildfly Core 14.0.0.Final - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/key-store=applicationKS:read-resource - echo Adding key store for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$clusteredProfile/subsystem=elytron/key-store=applicationKS:add(credential-reference={clear-text=password},type=JKS) - /profile=$clusteredProfile/subsystem=elytron/key-store=applicationKS:write-attribute(name=path,value=application.keystore) - /profile=$clusteredProfile/subsystem=elytron/key-store=applicationKS:write-attribute(name=relative-to,value=jboss.domain.config.dir) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/key-manager=applicationKM:read-resource - echo Adding key manager for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$clusteredProfile/subsystem=elytron/key-manager=applicationKM:add(key-store=applicationKS, credential-reference={clear-text=password}) - /profile=$clusteredProfile/subsystem=elytron/key-manager=applicationKM:write-attribute(name=generate-self-signed-certificate-host,value=localhost) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/server-ssl-context=applicationSSC:read-resource - echo Adding SSL context for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$clusteredProfile/subsystem=elytron/server-ssl-context=applicationSSC:add(key-manager=applicationKM) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-executor-service' from INT to LONG -if (result == 0) of /profile=$clusteredProfile/subsystem=ee/managed-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed executor service to default value (0 miliseconds) - /profile=$clusteredProfile/subsystem=ee/managed-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-scheduled-executor-service' from INT to LONG -if (result == 0) of /profile=$clusteredProfile/subsystem=ee/managed-scheduled-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed scheduled executor service to default value (0 miliseconds) - /profile=$clusteredProfile/subsystem=ee/managed-scheduled-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Set value of JPA default-datasource from empty string to 'undefined' -if (outcome == success) && (result == "") of /profile=$clusteredProfile/subsystem=jpa:read-attribute(name=default-datasource) - echo Setting value of to default-datasource attribute in JPA subsystem to 'undefined' - /profile=$clusteredProfile/subsystem=jpa:undefine-attribute(name=default-datasource) - echo -end-if - -echo *** End Migration of /profile=$clusteredProfile *** diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-standalone.cli b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-standalone.cli deleted file mode 100644 index 8b981789889..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-domain-standalone.cli +++ /dev/null @@ -1,654 +0,0 @@ -embed-host-controller --domain-config=domain.xml - -# Early versions of keycloak used "default" for the standalone profile name. -# Yours maybe be something completely different. -set standaloneProfile=auth-server-standalone - -# keycloak-server.json is not normally on this path. -set pathToJson=../domain/configuration/keycloak-server.json - - -echo *** Begin Migration of /profile=$standaloneProfile *** -echo - -# Migrate from 1.8.1 to 1.9.1 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=work/:read-resource - echo Adding local-cache=work to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=work/:add(indexing=NONE,start=LAZY) - echo -end-if -# realmVersions cache deprecated in 2.1.0 -#if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource -# echo Adding local-cache=realmVersions to keycloak cache container... -# /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:add(indexing=NONE,start=LAZY) -# /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/component=transaction/:write-attribute(name=mode,value=BATCH) -# echo -#end-if - - -# Migrate from 1.9.1 to 1.9.2 -if (result == NONE) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak users cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 1.9.2 to 1.9.8 -# NO CHANGES - -# Migrate from 1.9.8 to 2.0.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:read-resource - echo Adding local-cache=authorization to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating authorization cache container.. - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=100) - echo -end-if - -# Migrate from 2.0.0 to 2.1.0 -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource - echo Removing deprecated cache 'realmVersions' - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:remove - echo -end-if - -# Migrate kecloak-server.json (deprecated in 2.2.0) -if (result == []) of /profile=$standaloneProfile/subsystem=keycloak-server/:read-children-names(child-type=spi) - echo Migrating keycloak-server.json to keycloak-server subsystem... - /profile=$standaloneProfile/subsystem=keycloak-server/:migrate-json(file=$pathToJson) - echo -end-if -if (result == [expression "classpath:${jboss.server.config.dir}/providers/*"]) of /profile=$standaloneProfile/subsystem=keycloak-server/:read-attribute(name=providers) - echo Updating provider to default value - /profile=$standaloneProfile/subsystem=keycloak-server/:write-attribute(name=providers,value=[classpath:${jboss.home.dir}/providers/*]) - echo -end-if -if (result == keycloak) of /profile=$standaloneProfile/subsystem=keycloak-server/theme=defaults:read-attribute(name=default) - echo Undefining default theme... - /profile=$standaloneProfile/subsystem=keycloak-server/theme=defaults:undefine-attribute(name=default) - echo -end-if -if (result == expression "${jboss.server.config.dir}/themes") of /profile=$standaloneProfile/subsystem=keycloak-server/theme=defaults:read-attribute(name=dir) - echo Updating theme dir to default value - /profile=$standaloneProfile/subsystem=keycloak-server/theme=defaults/:write-attribute(name=dir,value=${jboss.home.dir}/themes) - echo -end-if - -set persistenceProvider=jpa - -# Migrate from 2.1.0 to 2.2.0 -if (result == update) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-get(name=properties,key=databaseSchema) - echo Updating connectionsJpa default properties... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-remove(name=properties,key=databaseSchema) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=initializeEmpty,value=true) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationStrategy,value=update) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationExport,value=${jboss.home.dir}/keycloak-database-update.sql) - echo -end-if -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=userFederatedStorage/:read-resource - echo Adding spi=userFederatedStorage... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=userFederatedStorage/:add(default-provider=$persistenceProvider) - echo -end-if -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=jta-lookup/:read-resource - echo Adding spi=jta-lookup... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) - echo -end-if - -# Migrate from 2.2.0 to 2.2.1 -# NO CHANGES - -# Migrate from 2.2.1 to 2.3.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/:read-resource - echo Adding local-cache=keys to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction and expiration in local-cache=keys... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=max-entries,value=1000) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=expiration/:write-attribute(name=max-idle,value=3600000) - echo -end-if -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=publicKeyStorage/:read-resource - echo Adding spi=publicKeyStorage... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=publicKeyStorage/:add - /profile=$standaloneProfile/subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) - echo -end-if - -# Migrate from 2.3.0 to 2.4.0 -# NO CHANGES - -# Migrate from 2.4.0 to 2.5.0 -if (result == NONE) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak realms cache... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 2.5.0 to 2.5.1 -# NO CHANGES - -# Migrate 2.5.1 to 2.5.4 -if (result != REPEATABLE_READ) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:read-attribute(name=isolation) - echo Changing ejb cache locking to REPEATABLE_READ - /profile=$standaloneProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:write-attribute(name=isolation,value=REPEATABLE_READ) - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:read-resource - echo Removing Hibernate immutable-entity cache - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:remove -end-if - - -# Migrate from 2.5.4 to 3.0.0 -if (result == jpa) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=eventsStore/:read-attribute(name=default-provider,include-defaults=false) - echo Removing default provider for eventsStore - /profile=$standaloneProfile/subsystem=keycloak-server/spi=eventsStore/:undefine-attribute(name=default-provider) - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=realm/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=realm/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=user/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=user/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=userFederatedStorage/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for userFederatedStorage SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=userFederatedStorage/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=authorizationPersister/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for authorizationPersister SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=authorizationPersister/:remove - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=userCache/:read-resource - echo Adding userCache SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=userCache/:add - /profile=$standaloneProfile/subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=realmCache/:read-resource - echo Adding realmCache SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=realmCache/:add - /profile=$standaloneProfile/subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) - echo -end-if - -if ((result.default-provider == undefined) && (result.provider.default.enabled == true)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/:read-resource(recursive=true,include-defaults=false) - echo Adding 'default' as default provider for connectionsInfinispan - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/:write-attribute(name=default-provider,value=default) - echo -end-if - -# Migrate from 3.0.0 to 3.1.0 -# NO CHANGES - -# Migrate from 3.1.0 to 3.2.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions/:read-resource - echo Adding local-cache=authenticationSessions to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/:read-resource - echo Adding local-cache=actionTokens to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/:add(indexing=NONE,start=LAZY) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=eviction/:write-attribute(name=strategy,value=NONE) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=eviction/:write-attribute(name=max-entries,value=-1) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=expiration/:write-attribute(name=interval,value=300000) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=expiration/:write-attribute(name=max-idle,value=-1) - echo -end-if - -if (result == 100L) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:read-attribute(name=max-entries) - echo Updating eviction in local-cache=authorization... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 3.2.0 to 3.2.1 -# NO CHANGES - -# Migrate from 3.2.1 to 3.3.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=core-management/:read-resource - try - echo Trying to add core-management extension - /extension=org.wildfly.extension.core-management/:add - echo - catch - echo Wasn't able to add core-management extension, it should be already added by migrate-domain-standalone.cli - echo - end-try - echo Adding subsystem core-management - /profile=$standaloneProfile/subsystem=core-management/:add - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/:read-resource - try - echo Trying to add elytron extension - /extension=org.wildfly.extension.elytron/:add - echo - catch - echo Wasn't able to add elytron extension, it should be already added by migrate-domain-standalone.cli - echo - end-try - echo Adding subsystem elytron - /profile=$standaloneProfile/subsystem=elytron/:add - /profile=$standaloneProfile/subsystem=elytron/provider-loader=elytron/:add(module=org.wildfly.security.elytron) - /profile=$standaloneProfile/subsystem=elytron/provider-loader=openssl/:add(module=org.wildfly.openssl) - /profile=$standaloneProfile/subsystem=elytron/aggregate-providers=combined-providers/:add(providers=[elytron,openssl]) - /profile=$standaloneProfile/subsystem=elytron/file-audit-log=local-audit/:add(path=audit.log,relative-to=jboss.server.log.dir,format=JSON) - /profile=$standaloneProfile/subsystem=elytron/identity-realm=local/:add(identity="$local") - /profile=$standaloneProfile/subsystem=elytron/properties-realm=ApplicationRealm/:add(users-properties={path=application-users.properties,relative-to=jboss.domain.config.dir,digest-realm-name=ApplicationRealm},groups-properties={path=application-roles.properties,relative-to=jboss.domain.config.dir}) - /profile=$standaloneProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper/:add(mapping-mode=first,permission-mappings=[{principals=[anonymous],permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]},{match-all=true,permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission},{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]}]) - /profile=$standaloneProfile/subsystem=elytron/constant-realm-mapper=local/:add(realm-name=local) - /profile=$standaloneProfile/subsystem=elytron/simple-role-decoder=groups-to-roles/:add(attribute=groups) - /profile=$standaloneProfile/subsystem=elytron/constant-role-mapper=super-user-mapper/:add(roles=[SuperUser]) - /profile=$standaloneProfile/subsystem=elytron/security-domain=ApplicationDomain/:add(default-realm=ApplicationRealm,permission-mapper=default-permission-mapper,realms=[{realm=ApplicationRealm,role-decoder=groups-to-roles},{realm=local}]) - /profile=$standaloneProfile/subsystem=elytron/provider-http-server-mechanism-factory=global/:add - /profile=$standaloneProfile/subsystem=elytron/http-authentication-factory=application-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=BASIC,mechanism-realm-configurations=[{realm-name=Application Realm}]},{mechanism-name=FORM}]) - /profile=$standaloneProfile/subsystem=elytron/provider-sasl-server-factory=global/:add - /profile=$standaloneProfile/subsystem=elytron/mechanism-provider-filtering-sasl-server-factory=elytron/:add(sasl-server-factory=global,filters=[{provider-name=WildFlyElytron}]) - /profile=$standaloneProfile/subsystem=elytron/configurable-sasl-server-factory=configured/:add(sasl-server-factory=elytron,properties={wildfly.sasl.local-user.default-user => "$local"}) - /profile=$standaloneProfile/subsystem=elytron/sasl-authentication-factory=application-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ApplicationRealm}]}]) - /profile=$standaloneProfile/subsystem=elytron/:write-attribute(name=final-providers,value=combined-providers) - /profile=$standaloneProfile/subsystem=elytron/:write-attribute(name=disallowed-providers,value=[OracleUcrypto]) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Adding channel-creation-options READ_TIMEOUT to ejb3 remote - /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:add(value="${prop.remoting-connector.read.timeout:20}",type=xnio) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:read-resource - echo Adding channel-creation-options MAX_OUTBOUND_MESSAGES to ejb3 remote - /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:add(value=1234,type=remoting) - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=persistent:read-resource - echo Removing local-cache persistent from web cache-container - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=persistent:remove - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent:read-resource - echo Removing local-cache persistent from ejb cache-container - /profile=$standaloneProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent:remove - echo -end-if - -if (result == local-query) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/:read-attribute(name=default-cache) - echo Removing default-cache from hibernate cache-container - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/:undefine-attribute(name=default-cache) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:read-resource - echo Adding http-invoker to default-host - /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:add(security-realm=ApplicationRealm) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=undertow/server=default-server/http-listener=default/:read-attribute(name=enable-http2) - echo Enabling http2 for default http-listener - /profile=$standaloneProfile/subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=enable-http2,value=true) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=undertow/server=default-server/https-listener=https/:read-resource - echo Adding https-listener - /profile=$standaloneProfile/subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,security-realm=ApplicationRealm,enable-http2=true) - echo -end-if - -if (result == 224.0.1.105) of /socket-binding-group=ha-sockets/socket-binding=modcluster/:read-attribute(name=multicast-address) - echo Adding jboss.modcluster.multicast.address property to modcluster multicast-address - /socket-binding-group=ha-sockets/socket-binding=modcluster/:write-attribute(name=multicast-address,value=${jboss.modcluster.multicast.address:224.0.1.105}) - echo -end-if - -# Migrate from 3.3.0 to 3.4.0 -if (outcome == success) of /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:read-resource - echo Removing X-Powered-By and Server headers from Keycloak responses... - /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:remove - /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=x-powered-by-header/:remove - /profile=$standaloneProfile/subsystem=undertow/configuration=filter/response-header=x-powered-by-header/:remove - /profile=$standaloneProfile/subsystem=undertow/configuration=filter/response-header=server-header/:remove - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=jdr/:read-resource - echo Removing jdr subsystem and extension - /profile=$standaloneProfile/subsystem=jdr/:remove - echo - try - echo Trying to remove jdr extension - /extension=org.jboss.as.jdr/:remove - echo - catch - echo Wasn't able to remove jdr extension, it should be removed by migrate-domain-standalone.cli - echo - end-try -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=jsf/:read-resource - echo Removing jsf subsystem and extension - /profile=$standaloneProfile/subsystem=jsf/:remove - echo - try - echo Trying to remove jsf extension - /extension=org.jboss.as.jsf/:remove - echo - catch - echo Wasn't able to remove jsf extension, Should be removed by migrate-domain-standalone.cli - echo - end-try -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions/:read-resource - echo Adding local-cache=clientSessions to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions/:read-resource - echo Adding local-cache=offlineClientSessions to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=x509cert-lookup/:read-resource - echo Adding spi=x509cert-lookup... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=x509cert-lookup/:add(default-provider=${keycloak.x509cert.lookup.provider:default}) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=x509cert-lookup/provider=default/:add(enabled=true) - echo -end-if - -# Migrate from 4.2.0 to 4.3.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:read-resource - echo Adding spi=hostname... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:add(default-provider=request) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/provider=fixed/:add(properties={hostname => "localhost",httpPort => "-1",httpsPort => "-1"},enabled=true) - echo -end-if - -# Migrate from 4.3.0 to 4.4.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/permission-set=login-permission/:read-resource - echo Adding permission-set=login-permission to elytron - /profile=$standaloneProfile/subsystem=elytron/permission-set=login-permission:add(permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission}]) - /profile=$standaloneProfile/subsystem=elytron/permission-set=default-permissions/:add(permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]) - /profile=$standaloneProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper/:undefine-attribute(name=permission-mappings) - /profile=$standaloneProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper:write-attribute(name=permission-mappings,value=[{permission-sets=[{permission-set=login-permission},{permission-set=default-permissions}],match-all=true},{permission-sets=[{permission-set=default-permissions}],principals=[anonymous]}]) - echo -end-if - -if (result == org.hibernate.infinispan) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate:read-attribute(name=module) - echo Update hibernate cache module - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate:write-attribute(name=module, value=org.infinispan.hibernate-cache) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:read-resource - echo Removing eviction from hibernate entity cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:read-resource - echo Removing eviction from hibernate local-query cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:read-resource - echo Removing eviction from keycloak realms cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:read-resource - echo Removing eviction from keycloak users cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:read-resource - echo Removing eviction from keycloak authorization cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:read-resource - echo Removing eviction from keycloak keys cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:read-resource - echo Changing JNDI reference in connectionsInfinispan SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:undefine-attribute(name=properties) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:write-attribute(name=properties,value={cacheContainer=java:jboss/infinispan/container/keycloak}) - echo -end-if - -# Migrate from 4.5.0 to 4.6.0 -if (outcome == success) of /profile=$standaloneProfile/subsystem=elytron/http-authentication-factory=application-http-authentication/:read-resource - echo Removing application-http-authentication from elytron subsystem - /profile=$standaloneProfile/subsystem=elytron/http-authentication-factory=application-http-authentication:remove - echo -end-if - -if (result == undefined) of /profile=$standaloneProfile/subsystem=transactions/:read-attribute(name=node-identifier,include-defaults=false) - echo Setting node-identifier attribute of core-environment element in transactions subsystem - /profile=$standaloneProfile/subsystem=transactions/:write-attribute(name=node-identifier,value=expression "${jboss.tx.node.id:1}") - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=jgroups/stack=udp/transport=UDP/property=port_range:read-attribute(name=value) - try - /profile=$standaloneProfile/subsystem=jgroups/stack=udp/transport=UDP/property=port_range:remove - echo Remove port_range property from UDP transport type of udp stack - catch - echo - end-try -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:read-attribute(name=value) - try - /profile=$standaloneProfile/subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:remove - echo Remove port_range property from TCP transport type of tcp stack - catch - echo - end-try -end-if - -# Migrate from 4.8.3 to 5.0.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=logging/logger=io.jaegertracing.Configuration/:read-resource - echo Adding io.jaegertracing.Configuration logger - /profile=$standaloneProfile/subsystem=logging/logger=io.jaegertracing.Configuration/:add(category=io.jaegertracing.Configuration,level=WARN) - echo -end-if - -# Migrate from 5.0.0 to 6.0.0 -if (result == NON_XA) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:read-attribute(name=mode) - echo Removing NON_XA transaction mode from infinispan/hibernate/entity - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:undefine-attribute(name=mode) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=datasources/data-source=ExampleDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ExampleDS datasource - /profile=$standaloneProfile/subsystem=datasources/data-source=ExampleDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=datasources/data-source=KeycloakDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to KeycloakDS datasource - /profile=$standaloneProfile/subsystem=datasources/data-source=KeycloakDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=ejb3/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ejb3 subsystem - /profile=$standaloneProfile/subsystem=ejb3/:write-attribute(name=statistics-enabled,value=${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=transactions/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to transactions subsystem - /profile=$standaloneProfile/subsystem=transactions/:write-attribute(name=statistics-enabled,value=${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=undertow/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to undertow subsystem - /profile=$standaloneProfile/subsystem=undertow/:write-attribute(name=statistics-enabled,value=${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=webservices/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to webservices subsystem - /profile=$standaloneProfile/subsystem=webservices/:write-attribute(name=statistics-enabled,value=${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -# Migrate from 6.0.1 to 7.0.0 -if (outcome == success) of /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem - /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:remove - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=routing:read-resource - echo Adding local cache routing to web cache container to infinispan subsystem - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=routing/:add - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=sso:read-resource - echo Adding local cache sso to web cache container to infinispan subsystem - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=sso/:add - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=sso/component=locking/:add(isolation=REPEATABLE_READ) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=sso/component=transaction/:add(mode=BATCH) - echo -end-if - -if (result == "true") of /subsystem=keycloak-server/spi=truststore/provider=file:map-get(name=properties, key=disabled) - echo Disabling Truststore Provider - /subsystem=keycloak-server/spi=truststore/provider=file:write-attribute(name=enabled, value=false) - echo Removing deprecated option - /subsystem=keycloak-server/spi=truststore/provider=file:map-remove(name=properties, key=disabled) - echo -end-if - -# Migrate from 7.0.0 to 8.0.0 - -if ((result.time == 100L) && (result.unit == MILLISECONDS)) of /profile=$standaloneProfile/subsystem=ejb3/thread-pool=default:read-attribute(name=keepalive-time) - echo Changing thread pool keepalive of ejb3 subsystem - /profile=$standaloneProfile/subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.time, value=60) - /profile=$standaloneProfile/subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.unit,value=SECONDS) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/provider=default/:read-resource - echo Adding default hostname provider - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -end-if - -if (result == request) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - echo Switching from request to default hostname provider - - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:write-attribute(name=default-provider,value=default) -end-if - -if (result != fixed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - try - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/provider=fixed:remove - echo Removed config for unused fixed hostname provider - catch - end-try -end-if - -# Migrate from 10.0.2 to 11.0.0 (migration changes for infinispan update from 9.4.18.Final to 10.1.8.Final) - -if (result != org.keycloak.keycloak-model-infinispan) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak:read-attribute(name=module) - echo Setting class loader for keycloak cache-container so JBoss Marshalling works properly with Infinispan 10.x - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak:write-attribute(name=module,value=org.keycloak.keycloak-model-infinispan) - echo -end-if - -# Migrate from 12.0.0 to 13.0.0 - -## Add ability to make use of automatically generated self-signed certificate with Elytron, -## introduced by WFCORE-5095 in Wildfly Core 14.0.0.Final - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/key-store=applicationKS:read-resource - echo Adding key store for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$standaloneProfile/subsystem=elytron/key-store=applicationKS:add(credential-reference={clear-text=password},type=JKS) - /profile=$standaloneProfile/subsystem=elytron/key-store=applicationKS:write-attribute(name=path,value=application.keystore) - /profile=$standaloneProfile/subsystem=elytron/key-store=applicationKS:write-attribute(name=relative-to,value=jboss.domain.config.dir) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/key-manager=applicationKM:read-resource - echo Adding key manager for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$standaloneProfile/subsystem=elytron/key-manager=applicationKM:add(key-store=applicationKS, credential-reference={clear-text=password}) - /profile=$standaloneProfile/subsystem=elytron/key-manager=applicationKM:write-attribute(name=generate-self-signed-certificate-host,value=localhost) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/server-ssl-context=applicationSSC:read-resource - echo Adding SSL context for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$standaloneProfile/subsystem=elytron/server-ssl-context=applicationSSC:add(key-manager=applicationKM) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-executor-service' from INT to LONG -if (result == 0) of /profile=$standaloneProfile/subsystem=ee/managed-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed executor service to default value (0 miliseconds) - /profile=$standaloneProfile/subsystem=ee/managed-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-scheduled-executor-service' from INT to LONG -if (result == 0) of /profile=$standaloneProfile/subsystem=ee/managed-scheduled-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed scheduled executor service to default value (0 miliseconds) - /profile=$standaloneProfile/subsystem=ee/managed-scheduled-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Set value of JPA default-datasource from empty string to 'undefined' -if (outcome == success) && (result == "") of /profile=$standaloneProfile/subsystem=jpa:read-attribute(name=default-datasource) - echo Setting value of to default-datasource attribute in JPA subsystem to 'undefined' - /profile=$standaloneProfile/subsystem=jpa:undefine-attribute(name=default-datasource) - echo -end-if - -echo *** End Migration of /profile=$standaloneProfile *** diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone-ha.cli b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone-ha.cli deleted file mode 100644 index ed1bae17356..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone-ha.cli +++ /dev/null @@ -1,891 +0,0 @@ -echo -echo *** WARNING *** -echo -echo ** If the following embed-server command fails, manual intervention is needed. -echo ** In such case, remove any and declarations referring -echo ** to the removed smallrye modules from the standalone-ha.xml file and rerun this script. -echo ** For details, see Migration Changes section in the Upgrading guide. -echo ** We apologize for this inconvenience. -echo - -embed-server --server-config=standalone-ha.xml - -echo *** Begin Migration *** -echo - -# Migrate from 1.8.1 to 1.9.1 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/replicated-cache=work/:read-resource - echo Adding replicated-cache=work to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/replicated-cache=work/:add(mode=SYNC) - echo -end-if -# realmVersions cache deprecated in 2.1.0 -#if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource -# echo Adding local-cache=realmVersions to keycloak cache container... -# /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:add(indexing=NONE,start=LAZY) -# /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/component=transaction/:write-attribute(name=mode,value=BATCH) -# echo -#end-if - -# Migrate from 1.9.1 to 1.9.2 -if (result == NONE) of /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak users cache container... - /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 1.9.2 to 2.0.0 -# NO CHANGES - -# Migrate from 2.0.0 to 2.1.0 -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource - echo Removing deprecated cache 'realmVersions' - /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:remove - echo -end-if - -# Migrate kecloak-server.json (deprecated in 2.2.0) -if (result == []) of /subsystem=keycloak-server/:read-children-names(child-type=spi) - echo Migrating keycloak-server.json to server cofig xml... - /subsystem=keycloak-server/:migrate-json - echo -end-if - -set persistenceProvider=jpa -if (result == [expression "classpath:${jboss.server.config.dir}/providers/*"]) of /subsystem=keycloak-server/:read-attribute(name=providers) - echo Updating provider to default value - /subsystem=keycloak-server/:write-attribute(name=providers,value=[classpath:${jboss.home.dir}/providers/*]) - echo -end-if -if (result == keycloak) of /subsystem=keycloak-server/theme=defaults:read-attribute(name=default) - echo Undefining default theme... - /subsystem=keycloak-server/theme=defaults:undefine-attribute(name=default) - echo -end-if -if (result == expression "${jboss.server.config.dir}/themes") of /subsystem=keycloak-server/theme=defaults:read-attribute(name=dir) - echo Updating theme dir to default value - /subsystem=keycloak-server/theme=defaults/:write-attribute(name=dir,value=${jboss.home.dir}/themes) - echo -end-if - -# Migrate from 2.1.0 to 2.2.0 -if (outcome == failed) of /extension=org.jboss.as.deployment-scanner/:read-resource - echo Adding deployment-scanner extension... - /extension=org.jboss.as.deployment-scanner/:add(module=org.jboss.as.deployment-scanner) - echo -end-if -if (outcome == failed) of /subsystem=deployment-scanner/:read-resource - echo Adding deployment-scanner... - /subsystem=deployment-scanner/:add - echo -end-if -if (outcome == failed) of /subsystem=deployment-scanner/scanner=default/:read-resource - echo Adding scanner=default - /subsystem=deployment-scanner/scanner=default/:add(path=deployments,relative-to=jboss.server.base.dir,runtime-failure-causes-rollback=${jboss.deployment.scanner.rollback.on.failure:false},scan-interval=5000) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:read-resource - # In migration from 3.0.0 to 3.2.0 there is authorization distributed-cache replaced with local-cache - try - echo - /subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:add(mode=SYNC,owners=1) - echo Added distributed-cache=authorization - catch - end-try -end-if - -if (result == update) of /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-get(name=properties,key=databaseSchema) - echo Updating connectionsJpa default properties... - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-remove(name=properties,key=databaseSchema) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=initializeEmpty,value=true) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationStrategy,value=update) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationExport,value=${jboss.home.dir}/keycloak-database-update.sql) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=userFederatedStorage/:read-resource - echo Adding spi=userFederatedStorage... - /subsystem=keycloak-server/spi=userFederatedStorage/:add(default-provider=$persistenceProvider) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=jta-lookup/:read-resource - echo Adding spi=jta-lookup... - /subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) - /subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) - echo -end-if - -# Migrate from 2.2.0 to 2.2.1 -# NO CHANGES - -# Migrate from 2.2.1 to 2.3.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/:read-resource - echo Adding local-cache=keys to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction and expiration in local-cache=keys... - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=max-entries,value=1000) - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=expiration/:write-attribute(name=max-idle,value=3600000) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=publicKeyStorage/:read-resource - echo Adding spi=publicKeyStorage... - /subsystem=keycloak-server/spi=publicKeyStorage/:add - /subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) - echo -end-if - -# Migrate from 2.3.0 to 2.4.0 -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/:read-resource - echo Replacing invalidation-cache=users with local-cache=users - /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=users/:add - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction in local-cache=users - /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms/:read-resource - echo Replacing invalidation-cache=realms with local-cache=realms - /subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms/:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/:add - echo -end-if - - -# Migrate from 2.4.0 to 2.5.0 -if (result == NONE) of /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak realms cache... - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 2.5.0 to 2.5.1 -# NO CHANGES - -# Migrate 2.5.1 to 2.5.4 -if (result != REPEATABLE_READ) of /subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:read-attribute(name=isolation) - echo Changing ejb cache locking to REPEATABLE_READ - /subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:write-attribute(name=isolation,value=REPEATABLE_READ) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:read-resource - echo Removing Hibernate immutable-entity cache - /subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:remove -end-if - - -# Migrate from 2.5.4 to 3.0.0 -if (result == jpa) of /subsystem=keycloak-server/spi=eventsStore/:read-attribute(name=default-provider,include-defaults=false) - echo Removing default provider for eventsStore - /subsystem=keycloak-server/spi=eventsStore/:undefine-attribute(name=default-provider) - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=realm/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /subsystem=keycloak-server/spi=realm/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=user/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /subsystem=keycloak-server/spi=user/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=userFederatedStorage/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for userFederatedStorage SPI - /subsystem=keycloak-server/spi=userFederatedStorage/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=authorizationPersister/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for authorizationPersister SPI - /subsystem=keycloak-server/spi=authorizationPersister/:remove - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=userCache/:read-resource - echo Adding userCache SPI - /subsystem=keycloak-server/spi=userCache/:add - /subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=realmCache/:read-resource - echo Adding realmCache SPI - /subsystem=keycloak-server/spi=realmCache/:add - /subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) - echo -end-if - -if ((result.default-provider == undefined) && (result.provider.default.enabled == true)) of /subsystem=keycloak-server/spi=connectionsInfinispan/:read-resource(recursive=true,include-defaults=false) - echo Adding 'default' as default provider for connectionsInfinispan - /subsystem=keycloak-server/spi=connectionsInfinispan/:write-attribute(name=default-provider,value=default) - echo -end-if - -# Migrate from 3.0.0 to 3.2.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/:read-resource - echo Adding distributed-cache=authenticationSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/:read-resource - echo Adding distributed-cache=actionTokens to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/:add(indexing=NONE,mode=SYNC,owners=2) - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=eviction/:write-attribute(name=strategy,value=NONE) - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=eviction/:write-attribute(name=max-entries,value=-1) - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=interval,value=300000) - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=max-idle,value=-1) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:read-resource - echo Replacing distributed-cache=authorization with local-cache=authorization - /subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:add - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 3.2.0 to 3.2.1 -# NO CHANGES - -# Migrate from 3.2.1 to 3.3.0 -if (outcome == failed) of /core-service=management/security-realm=ApplicationRealm/server-identity=ssl:read-resource - echo Adding keystore to ApplicationRealm... - /core-service=management/security-realm=ApplicationRealm/server-identity=ssl:add(keystore-path=application.keystore,keystore-relative-to=jboss.server.config.dir,keystore-password=password,alias=server,key-password=password,generate-self-signed-certificate-host=localhost) - echo -end-if - -if (outcome == failed) of /extension=org.wildfly.extension.elytron/:read-resource - echo Adding elytron extension... - /extension=org.wildfly.extension.elytron/:add(module=org.wildfly.extension.elytron) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/:read-resource - echo Adding elytron subsystem - /subsystem=elytron:add - /subsystem=elytron/provider-loader=elytron/:add(module=org.wildfly.security.elytron) - /subsystem=elytron/provider-loader=openssl/:add(module=org.wildfly.openssl) - /subsystem=elytron/aggregate-providers=combined-providers/:add(providers=[elytron,openssl]) - /subsystem=elytron/file-audit-log=local-audit/:add(path=audit.log,relative-to=jboss.server.log.dir,format=JSON) - /subsystem=elytron/identity-realm=local/:add(identity="$local") - /subsystem=elytron/properties-realm=ApplicationRealm/:add(users-properties={path=application-users.properties,relative-to=jboss.server.config.dir,digest-realm-name=ApplicationRealm},groups-properties={path=application-roles.properties,relative-to=jboss.server.config.dir}) - /subsystem=elytron/properties-realm=ManagementRealm/:add(users-properties={path=mgmt-users.properties,relative-to=jboss.server.config.dir,digest-realm-name=ManagementRealm},groups-properties={path=mgmt-groups.properties,relative-to=jboss.server.config.dir}) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper/:add(mapping-mode=first,permission-mappings=[{principals=[anonymous],permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]},{match-all=true,permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission},{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]}]) - /subsystem=elytron/constant-realm-mapper=local/:add(realm-name=local) - /subsystem=elytron/simple-role-decoder=groups-to-roles/:add(attribute=groups) - /subsystem=elytron/constant-role-mapper=super-user-mapper/:add(roles=[SuperUser]) - /subsystem=elytron/security-domain=ApplicationDomain/:add(default-realm=ApplicationRealm,permission-mapper=default-permission-mapper,realms=[{realm=ApplicationRealm,role-decoder=groups-to-roles},{realm=local}]) - /subsystem=elytron/security-domain=ManagementDomain/:add(default-realm=ManagementRealm,permission-mapper=default-permission-mapper,realms=[{realm=ManagementRealm,role-decoder=groups-to-roles},{realm=local,role-mapper=super-user-mapper}]) - /subsystem=elytron/provider-http-server-mechanism-factory=global/:add - /subsystem=elytron/http-authentication-factory=management-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ManagementDomain,mechanism-configurations=[{mechanism-name=DIGEST,mechanism-realm-configurations=[{realm-name=ManagementRealm}]}]) - /subsystem=elytron/http-authentication-factory=application-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=BASIC,mechanism-realm-configurations=[{realm-name=Application Realm}]},{mechanism-name=FORM}]) - /subsystem=elytron/provider-sasl-server-factory=global/:add - /subsystem=elytron/mechanism-provider-filtering-sasl-server-factory=elytron/:add(sasl-server-factory=global,filters=[{provider-name=WildFlyElytron}]) - /subsystem=elytron/configurable-sasl-server-factory=configured/:add(sasl-server-factory=elytron,properties={wildfly.sasl.local-user.default-user => "$local"}) - /subsystem=elytron/sasl-authentication-factory=management-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ManagementDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ManagementRealm}]}]) - /subsystem=elytron/sasl-authentication-factory=application-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ApplicationRealm}]}]) - /subsystem=elytron/:write-attribute(name=final-providers,value=combined-providers) - /subsystem=elytron/:write-attribute(name=disallowed-providers,value=[OracleUcrypto]) - echo -end-if - -if (outcome == failed) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Adding channel-creation-options READ_TIMEOUT to ejb3 remote - /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:add(value="${prop.remoting-connector.read.timeout:20}",type=xnio) - echo -end-if - -if (outcome == failed) of /subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:read-resource - echo Adding channel-creation-options MAX_OUTBOUND_MESSAGES to ejb3 remote - /subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:add(value=1234,type=remoting) - echo -end-if - -if (result == ASYNC) of /subsystem=infinispan/cache-container=web/distributed-cache=dist:read-attribute(name=mode) - echo Setting SYNC mode for web cache-container - /subsystem=infinispan/cache-container=web/distributed-cache=dist:write-attribute(name=mode,value=SYNC) - echo -end-if - -if (result == ASYNC) of /subsystem=infinispan/cache-container=ejb/distributed-cache=dist:read-attribute(name=mode) - echo Setting SYNC mode for ejb cache-container - /subsystem=infinispan/cache-container=ejb/distributed-cache=dist:write-attribute(name=mode,value=SYNC) - echo -end-if - -if (result == undefined) of /subsystem=jgroups/channel=ee/:read-attribute(name=cluster) - echo Setting cluster attribute to ejb in jgroups subsystem - /subsystem=jgroups/channel=ee/:write-attribute(name=cluster,value=ejb) - echo -end-if - -if (result != undefined) of /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Unsetting socket-binding from udp FD_SOCK protocol - # it has to be done via remove and add, because socket-binding is not writable attribute - /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:remove - /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:add - echo -end-if - -if (outcome == success) of /subsystem=jgroups/stack=tcp/protocol=FD/:read-resource - echo Replacing tcp FD protocol with FD_ALL - /subsystem=jgroups/stack=tcp/protocol=FD/:remove - /subsystem=jgroups/stack=tcp/protocol=FD_ALL/:add - echo -end-if - -if (result != undefined) of /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Unsetting socket-binding from tcp FD_SOCK protocol - # it has to be done via remove and add, because socket-binding is not writable attribute - /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:remove - /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:add - echo -end-if - -if (outcome == failed) of /subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:read-resource - echo Adding http-invoker to default-host - /subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:add(security-realm=ApplicationRealm) - echo -end-if - -if (result == false) of /subsystem=undertow/server=default-server/http-listener=default/:read-attribute(name=enable-http2) - echo Enabling http2 for default http-listener - /subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=enable-http2,value=true) - echo -end-if - -if (outcome == failed) of /subsystem=undertow/server=default-server/https-listener=https/:read-resource - echo Adding https-listener - /subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,security-realm=ApplicationRealm,enable-http2=true) - echo -end-if - -if (outcome == success) of /socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd/:read-resource - echo Removing socket-binding jgroups-tcp-fd - /socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd/:remove - echo -end-if - -if (outcome == success) of /socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd/:read-resource - echo Removing socket-binding jgroups-udp-fd - /socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd/:remove - echo -end-if - -if (result == 224.0.1.105) of /socket-binding-group=standard-sockets/socket-binding=modcluster/:read-attribute(name=multicast-address) - echo Adding jboss.modcluster.multicast.address property to modcluster multicast-address - /socket-binding-group=standard-sockets/socket-binding=modcluster/:write-attribute(name=multicast-address,value=${jboss.modcluster.multicast.address:224.0.1.105}) - echo -end-if - -# Migrate from 3.3.0 to 3.4.0 -if (outcome == success) of /subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:read-resource - echo Removing X-Powered-By and Server headers from Keycloak responses... - /subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:remove - /subsystem=undertow/server=default-server/host=default-host/filter-ref=x-powered-by-header/:remove - /subsystem=undertow/configuration=filter/response-header=x-powered-by-header/:remove - /subsystem=undertow/configuration=filter/response-header=server-header/:remove - echo -end-if - -if (outcome == success) of /subsystem=jdr/:read-resource - echo Removing jdr subsystem and extension - /subsystem=jdr/:remove - /extension=org.jboss.as.jdr/:remove - echo -end-if - -if (outcome == success) of /subsystem=jsf/:read-resource - echo Removing jsf subsystem and extension - /subsystem=jsf/:remove - /extension=org.jboss.as.jsf/:remove - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/:read-resource - echo Adding distributed-cache=clientSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/:read-resource - echo Adding distributed-cache=offlineClientSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=x509cert-lookup/:read-resource - echo Adding spi=x509cert-lookup... - /subsystem=keycloak-server/spi=x509cert-lookup/:add(default-provider=${keycloak.x509cert.lookup.provider:default}) - /subsystem=keycloak-server/spi=x509cert-lookup/provider=default/:add(enabled=true) - echo -end-if - -# Migrate from 4.2.0 to 4.3.0 -if (outcome == failed) of /subsystem=keycloak-server/spi=hostname/:read-resource - echo Adding spi=hostname... - /subsystem=keycloak-server/spi=hostname/:add(default-provider=request) - /subsystem=keycloak-server/spi=hostname/provider=fixed/:add(properties={hostname => "localhost",httpPort => "-1",httpsPort => "-1"},enabled=true) - echo -end-if - -# Migrate from 4.3.0 to 4.4.0 -if (outcome == failed) of /subsystem=elytron/permission-set=login-permission/:read-resource - echo Adding permission-set=login-permission to elytron - /subsystem=elytron/permission-set=login-permission:add(permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission}]) - /subsystem=elytron/permission-set=default-permissions/:add(permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper/:undefine-attribute(name=permission-mappings) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper:write-attribute(name=permission-mappings,value=[{permission-sets=[{permission-set=login-permission},{permission-set=default-permissions}],match-all=true},{permission-sets=[{permission-set=default-permissions}],principals=[anonymous]}]) - echo -end-if - - -if (result == org.hibernate.infinispan) of /subsystem=infinispan/cache-container=hibernate:read-attribute(name=module) - echo Update hibernate cache module - /subsystem=infinispan/cache-container=hibernate:write-attribute(name=module, value=org.infinispan.hibernate-cache) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate:read-attribute(name=default-cache) - echo Remove default cache from hibernate cache - /subsystem=infinispan/cache-container=hibernate:undefine-attribute(name=default-cache) - echo -end-if -if (result == ASYNC) of /subsystem=infinispan/cache-container=hibernate/replicated-cache=timestamps:read-attribute(name=mode) - echo Switching mode for timestamps cache from ASYNC to SYNC - /subsystem=infinispan/cache-container=hibernate/replicated-cache=timestamps:write-attribute(name=mode, value=SYNC) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:read-resource - echo Removing eviction from hibernate entity cache and replacing with object-memory - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/distributed-cache=local-query/eviction=EVICTION:read-resource - echo Removing eviction from hibernate local-query cache and replacing with object-memory - /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/memory=object:add(size=10000) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:read-resource - echo Removing eviction from keycloak realms cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:read-resource - echo Removing eviction from keycloak users cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:read-resource - echo Removing eviction from keycloak authorization cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:read-resource - echo Removing eviction from keycloak keys cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) - echo -end-if - -if (outcome == success) of /subsystem=jgroups/stack=tcp/protocol=FRAG2:read-resource - echo Upgrade jgroups protocol from FRAG2 to FRAG3 for tcp stack - /subsystem=jgroups/stack=tcp/protocol=FRAG2:remove - /subsystem=jgroups/stack=tcp/protocol=FRAG3:add() - echo -end-if -if (outcome == success) of /subsystem=jgroups/stack=udp/protocol=FRAG2:read-resource - echo Upgrade jgroups protocol from FRAG2 to FRAG3 for udp stack - /subsystem=jgroups/stack=udp/protocol=FRAG2:remove - /subsystem=jgroups/stack=udp/protocol=FRAG3:add() - echo -end-if -if (outcome == success) of /subsystem=remoting/configuration=endpoint:read-resource - echo Remove endpoint from remoting configuration - /subsystem=remoting/configuration=endpoint:remove - echo -end-if -if (outcome == success) of /socket-binding-group=standard-sockets/socket-binding=jgroups-mping:read-attribute(name=port) - /socket-binding-group=standard-sockets/socket-binding=jgroups-mping:undefine-attribute(name=port) -end-if -if (outcome == success) of /socket-binding-group=standard-sockets/socket-binding=modcluster:read-attribute(name=port) - /socket-binding-group=standard-sockets/socket-binding=modcluster:undefine-attribute(name=port) -end-if - -if (outcome == success) of /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:read-resource - echo Changing JNDI reference in connectionsInfinispan SPI - /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:undefine-attribute(name=properties) - /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:write-attribute(name=properties,value={cacheContainer=java:jboss/infinispan/container/keycloak}) - echo -end-if - -# Migrate from 4.4.0 to 4.5.0 -if (outcome == failed) of /subsystem=core-management/:read-resource - echo Adding core-management extension - /extension=org.wildfly.extension.core-management/:add - echo Adding subsystem core-management - /subsystem=core-management/:add - echo -end-if - -# Migrate from 4.5.0 to 4.6.0 -if (outcome == success) of /subsystem=elytron/http-authentication-factory=application-http-authentication/:read-resource - echo Removing application-http-authentication from elytron subsystem - /subsystem=elytron/http-authentication-factory=application-http-authentication:remove - echo -end-if - -if (result == undefined) of /subsystem=transactions/:read-attribute(name=node-identifier,include-defaults=false) - echo Setting node-identifier attribute of core-environment element in transactions subsystem - /subsystem=transactions/:write-attribute(name=node-identifier,value=expression "${jboss.tx.node.id:1}") - echo -end-if - -if (outcome == success) of /subsystem=jgroups/stack=udp/transport=UDP/property=port_range:read-attribute(name=value) - try - /subsystem=jgroups/stack=udp/transport=UDP/property=port_range:remove - echo Remove port_range property from UDP transport type of udp stack - catch - echo - end-try -end-if - -if (outcome == success) of /subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:read-attribute(name=value) - try - /subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:remove - echo Remove port_range property from TCP transport type of tcp stack - catch - echo - end-try -end-if - -# Migrate from 4.8.3 to 5.0.0 -if (outcome == failed) of /subsystem=logging/logger=io.jaegertracing.Configuration/:read-resource - echo Adding io.jaegertracing.Configuration logger - /subsystem=logging/logger=io.jaegertracing.Configuration/:add(category=io.jaegertracing.Configuration,level=WARN) - echo -end-if - -# Migrate from 5.0.0 to 6.0.0 -if (result == NON_XA) of /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:read-attribute(name=mode) - echo Removing NON_XA transaction mode from infinispan/hibernate/entity - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:undefine-attribute(name=mode) - echo -end-if - -if (result == false) of /subsystem=datasources/data-source=ExampleDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ExampleDS datasource - /subsystem=datasources/data-source=ExampleDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=datasources/data-source=KeycloakDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to KeycloakDS datasource - /subsystem=datasources/data-source=KeycloakDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=ejb3/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ejb3 subsystem - /subsystem=ejb3/:write-attribute(name=statistics-enabled,value=${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=transactions/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to transactions subsystem - /subsystem=transactions/:write-attribute(name=statistics-enabled,value=${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=undertow/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to undertow subsystem - /subsystem=undertow/:write-attribute(name=statistics-enabled,value=${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=webservices/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to webservices subsystem - /subsystem=webservices/:write-attribute(name=statistics-enabled,value=${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (outcome == failed) of /extension=org.jboss.as.weld/:read-resource - echo Adding weld extension - /extension=org.jboss.as.weld/:add - echo -end-if - -if (outcome == failed) of /subsystem=weld/:read-resource - echo Adding weld subsystem - /subsystem=weld/:add - echo -end-if - -## KEYCLOAK-16723 / KEYCLOAK-16907: -## -## Loading of MicroProfile SmallRye config, health, and metrics extensions & subsystems got removed -## as part of upgrading to Wildfly 22. See [WFLY-14203], [WFLY-14151], and [WFLY-14108] for details - -# Migrate from 6.0.1 to 7.0.0 -if (outcome == success) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem - /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:remove - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=web/distributed-cache=routing:read-resource - echo Adding distributed cache routing to web cache container to infinispan subsystem - /subsystem=infinispan/cache-container=web/distributed-cache=routing/:add - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=web/replicated-cache=sso:read-resource - echo Adding replicated cache sso to web cache container to infinispan subsystem - /subsystem=infinispan/cache-container=web/replicated-cache=sso/:add - /subsystem=infinispan/cache-container=web/replicated-cache=sso/component=locking/:add(isolation=REPEATABLE_READ) - /subsystem=infinispan/cache-container=web/replicated-cache=sso/component=transaction/:add(mode=BATCH) - echo -end-if - -if (outcome == failed) of /socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd/:read-resource - echo Adding jgroups-tcp-fd socket binding to socket binding group - /socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd/:add(interface=private,port=57600) - echo -end-if - -if (outcome == failed) of /socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd/:read-resource - echo Adding jgroups-udp-fd socket binding to socket binding group - /socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd/:add(interface=private,port=54200) - echo -end-if - -if (result == undefined) of /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Adding socket-binding for FD_SOCK protocol for tcp stack in jgroups subsystem - /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:write-attribute(name=socket-binding,value=jgroups-tcp-fd) - echo -end-if - -if (result == undefined) of /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Adding socket-binding for FD_SOCK protocol for udp stack in jgroups subsystem - /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:write-attribute(name=socket-binding,value=jgroups-udp-fd) - echo -end-if - -if (result == "true") of /subsystem=keycloak-server/spi=truststore/provider=file:map-get(name=properties, key=disabled) - echo Disabling Truststore Provider - /subsystem=keycloak-server/spi=truststore/provider=file:write-attribute(name=enabled, value=false) - echo Removing deprecated option - /subsystem=keycloak-server/spi=truststore/provider=file:map-remove(name=properties, key=disabled) - echo -end-if - -# Migrate from 7.0.0 to 8.0.0 - -if ((result.time == 100L) && (result.unit == MILLISECONDS)) of /subsystem=ejb3/thread-pool=default:read-attribute(name=keepalive-time) - echo Changing thread pool keepalive of ejb3 subsystem - /subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.time, value=60) - /subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.unit,value=SECONDS) - echo -end-if - -if (result == UP) of /subsystem=microprofile-health-smallrye:read-attribute(name=empty-liveness-checks-status) - echo Adding empty-liveness-checks-status attribute to microprofile-health-smallrye subsystem - /subsystem=microprofile-health-smallrye:write-attribute(name=empty-liveness-checks-status, value=${env.MP_HEALTH_EMPTY_LIVENESS_CHECKS_STATUS:UP}) - echo -end-if - -if (result == UP) of /subsystem=microprofile-health-smallrye:read-attribute(name=empty-readiness-checks-status) - echo Adding empty-readiness-checks-status attribute to microprofile-health-smallrye subsystem - /subsystem=microprofile-health-smallrye:write-attribute(name=empty-readiness-checks-status, value=${env.MP_HEALTH_EMPTY_READINESS_CHECKS_STATUS:UP}) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=hostname/provider=default/:read-resource - echo Adding default hostname provider - /subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -end-if - -if (result == request) of /subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - echo Switching from request to default hostname provider - - /subsystem=keycloak-server/spi=hostname/:write-attribute(name=default-provider,value=default) -end-if - -if (result != fixed) of /subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - try - /subsystem=keycloak-server/spi=hostname/provider=fixed:remove - echo Removed config for unused fixed hostname provider - catch - end-try -end-if - -# Migrate from 10.0.2 to 11.0.0 (migration changes for infinispan update from 9.4.18.Final to 10.1.8.Final) - -if (result != org.keycloak.keycloak-model-infinispan) of /subsystem=infinispan/cache-container=keycloak:read-attribute(name=module) - echo Setting class loader for keycloak cache-container so JBoss Marshalling works properly with Infinispan 10.x - /subsystem=infinispan/cache-container=keycloak:write-attribute(name=module,value=org.keycloak.keycloak-model-infinispan) - echo -end-if - -# Migrate from 11.0.0 to 12.0.0 - -if (result != expression "${jboss.mail.server.host:localhost}") of /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-attribute(name=host) - echo Adding host expression to the SMTP configuration of a remote destination outbound socket binding in the mail subsystem - /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:write-attribute(name=host, value=expression "${jboss.mail.server.host:localhost}") - echo -end-if - -if (result != expression "${jboss.mail.server.port:25}") of /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-attribute(name=port) - echo Adding port expression to the SMTP configuration of a remote destination outbound socket binding in the mail subsystem - /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:write-attribute(name=port, value=expression "${jboss.mail.server.port:25}") - echo -end-if - -# Migrate from 12.0.0 to 13.0.0 - -## KEYCLOAK-16723 / KEYCLOAK-16907: -## -## Based on [WFLY-14203], [WFLY-14151], and [WFLY-14108] remove MicroProfile SmallRye config, health, and metrics if present - -if (outcome == success) of /subsystem=microprofile-config-smallrye/:read-resource - echo Removing microprofile-config-smallrye subsystem... - /subsystem=microprofile-config-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.config-smallrye/:read-resource - echo Removing microprofile.config-smallrye extension... - /extension=org.wildfly.extension.microprofile.config-smallrye/:remove - echo -end-if - -if (outcome == success) of /subsystem=microprofile-health-smallrye/:read-resource - echo Removing microprofile-health-smallrye subsystem... - /subsystem=microprofile-health-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.health-smallrye/:read-resource - echo Removing microprofile.health-smallrye extension... - /extension=org.wildfly.extension.microprofile.health-smallrye/:remove - echo -end-if - -if (outcome == success) of /subsystem=microprofile-metrics-smallrye/:read-resource - echo Removing microprofile-metrics-smallrye subsystem... - /subsystem=microprofile-metrics-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.metrics-smallrye/:read-resource - echo Removing microprofile.metrics-smallrye extension... - /extension=org.wildfly.extension.microprofile.metrics-smallrye/:remove - echo -end-if - -## Yet based on [WFLY-14203], [WFLY-14151], and [WFLY-14108] load -## org.wildfly.extension.health/org.wildfly.extension.metrics extensions & subsystems instead - -if (outcome == failed) of /extension=org.wildfly.extension.health:read-resource - echo Adding WildFly extension for health... - /extension=org.wildfly.extension.health:add(module=org.wildfly.extension.health) - echo -end-if - -if (outcome == failed) of /subsystem=health:read-resource - echo Adding Wildfly subsystem for health... - /subsystem=health:add(security-enabled=false) - echo -end-if - -if (outcome == failed) of /extension=org.wildfly.extension.metrics:read-resource - echo Adding Wildfly extension for base metrics... - /extension=org.wildfly.extension.metrics:add(module=org.wildfly.extension.metrics) - echo -end-if - -if (outcome == failed) of /subsystem=metrics:read-resource - echo Adding Wildfly subsystem for base metrics... - /subsystem=metrics:add(exposed-subsystems=[*],security-enabled=false) - echo -end-if - -if (result == "Keycloak") of :read-attribute(name=product-name) - echo Adding base metrics subsystem prefix to Keycloak... - /subsystem=metrics:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly}) - echo -else - echo Adding base metrics subsystem prefix to RH-SSO... - /subsystem=metrics:write-attribute(name=prefix,value=${wildfly.metrics.prefix:jboss}) - echo -end-if - -## Add ability to make use of automatically generated self-signed certificate with Elytron, -## introduced by WFCORE-5095 in Wildfly Core 14.0.0.Final - -if (outcome == failed) of /subsystem=elytron/key-store=applicationKS:read-resource - echo Adding key store for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/key-store=applicationKS:add(credential-reference={clear-text=password},type=JKS) - /subsystem=elytron/key-store=applicationKS:write-attribute(name=path,value=application.keystore) - /subsystem=elytron/key-store=applicationKS:write-attribute(name=relative-to,value=jboss.server.config.dir) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/key-manager=applicationKM:read-resource - echo Adding key manager for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/key-manager=applicationKM:add(key-store=applicationKS, credential-reference={clear-text=password}) - /subsystem=elytron/key-manager=applicationKM:write-attribute(name=generate-self-signed-certificate-host,value=localhost) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/server-ssl-context=applicationSSC:read-resource - echo Adding SSL context for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/server-ssl-context=applicationSSC:add(key-manager=applicationKM) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-executor-service' from INT to LONG -if (result == 0) of /subsystem=ee/managed-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed executor service to default value (0 miliseconds) - /subsystem=ee/managed-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-scheduled-executor-service' from INT to LONG -if (result == 0) of /subsystem=ee/managed-scheduled-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed scheduled executor service to default value (0 miliseconds) - /subsystem=ee/managed-scheduled-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Set value of JPA default-datasource from empty string to 'undefined' -if (outcome == success) && (result == "") of /subsystem=jpa:read-attribute(name=default-datasource) - echo Setting value of to default-datasource attribute in JPA subsystem to 'undefined' - /subsystem=jpa:undefine-attribute(name=default-datasource) - echo -end-if - -echo *** End Migration *** diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone.cli b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone.cli deleted file mode 100644 index d614898d437..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/migrate-standalone.cli +++ /dev/null @@ -1,744 +0,0 @@ -echo -echo *** WARNING *** -echo -echo ** If the following embed-server command fails, manual intervention is needed. -echo ** In such case, remove any and declarations referring -echo ** to the removed smallrye modules from the standalone.xml file and rerun this script. -echo ** For details, see Migration Changes section in the Upgrading guide. -echo ** We apologize for this inconvenience. -echo - -embed-server --server-config=standalone.xml - -echo *** Begin Migration *** -echo - -# Migrate from 1.8.1 to 1.9.1 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=work/:read-resource - echo Adding local-cache=work to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=work/:add(indexing=NONE,start=LAZY) - echo -end-if -# realmVersions cache deprecated in 2.1.0 -#if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource -# echo Adding local-cache=realmVersions to keycloak cache container... -# /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:add(indexing=NONE,start=LAZY) -# /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/component=transaction/:write-attribute(name=mode,value=BATCH) -# echo -#end-if - - -# Migrate from 1.9.1 to 1.9.2 -if (result == NONE) of /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak users cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 1.9.2 to 1.9.8 -# NO CHANGES - -# Migrate from 1.9.8 to 2.0.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:read-resource - echo Adding local-cache=authorization to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating authorization cache container.. - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=100) - echo -end-if - -# Migrate from 2.0.0 to 2.1.0 -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource - echo Removing deprecated cache 'realmVersions' - /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:remove - echo -end-if - -# Migrate kecloak-server.json (deprecated in 2.2.0) -if (result == []) of /subsystem=keycloak-server/:read-children-names(child-type=spi) - echo Migrating keycloak-server.json to server cofig xml... - /subsystem=keycloak-server/:migrate-json - echo -end-if -if (result == [expression "classpath:${jboss.server.config.dir}/providers/*"]) of /subsystem=keycloak-server/:read-attribute(name=providers) - echo Updating provider to default value - /subsystem=keycloak-server/:write-attribute(name=providers,value=[classpath:${jboss.home.dir}/providers/*]) - echo -end-if -if (result == keycloak) of /subsystem=keycloak-server/theme=defaults:read-attribute(name=default) - echo Undefining default theme... - /subsystem=keycloak-server/theme=defaults:undefine-attribute(name=default) - echo -end-if -if (result == expression "${jboss.server.config.dir}/themes") of /subsystem=keycloak-server/theme=defaults:read-attribute(name=dir) - echo Updating theme dir to default value - /subsystem=keycloak-server/theme=defaults/:write-attribute(name=dir,value=${jboss.home.dir}/themes) - echo -end-if - -set persistenceProvider=jpa - -# Migrate from 2.1.0 to 2.2.0 -if (outcome == failed) of /extension=org.jboss.as.deployment-scanner/:read-resource - echo Adding deployment-scanner extension... - /extension=org.jboss.as.deployment-scanner/:add(module=org.jboss.as.deployment-scanner) - echo -end-if -if (outcome == failed) of /subsystem=deployment-scanner/:read-resource - echo Adding deployment-scanner... - /subsystem=deployment-scanner/:add - echo -end-if -if (outcome == failed) of /subsystem=deployment-scanner/scanner=default/:read-resource - echo Adding scanner=default - /subsystem=deployment-scanner/scanner=default/:add(path=deployments,relative-to=jboss.server.base.dir,runtime-failure-causes-rollback=${jboss.deployment.scanner.rollback.on.failure:false},scan-interval=5000) - echo -end-if -if (result == update) of /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-get(name=properties,key=databaseSchema) - echo Updating connectionsJpa default properties... - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-remove(name=properties,key=databaseSchema) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=initializeEmpty,value=true) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationStrategy,value=update) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationExport,value=${jboss.home.dir}/keycloak-database-update.sql) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=userFederatedStorage/:read-resource - echo Adding spi=userFederatedStorage... - /subsystem=keycloak-server/spi=userFederatedStorage/:add(default-provider=$persistenceProvider) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=jta-lookup/:read-resource - echo Adding spi=jta-lookup... - /subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) - /subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) - echo -end-if - -# Migrate from 2.2.0 to 2.2.1 -# NO CHANGES - -# Migrate from 2.2.1 to 2.3.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/:read-resource - echo Adding local-cache=keys to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction and expiration in local-cache=keys... - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=max-entries,value=1000) - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=expiration/:write-attribute(name=max-idle,value=3600000) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=publicKeyStorage/:read-resource - echo Adding spi=publicKeyStorage... - /subsystem=keycloak-server/spi=publicKeyStorage/:add - /subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) - echo -end-if - -# Migrate from 2.3.0 to 2.4.0 -# NO CHANGES - -# Migrate from 2.4.0 to 2.5.0 -if (result == NONE) of /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak realms cache... - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 2.5.0 to 2.5.1 -# NO CHANGES - -# Migrate 2.5.1 to 2.5.4 -if (result != REPEATABLE_READ) of /subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:read-attribute(name=isolation) - echo Changing ejb cache locking to REPEATABLE_READ - /subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:write-attribute(name=isolation,value=REPEATABLE_READ) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:read-resource - echo Removing Hibernate immutable-entity cache - /subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:remove -end-if - - -# Migrate from 2.5.4 to 3.0.0 -if (result == jpa) of /subsystem=keycloak-server/spi=eventsStore/:read-attribute(name=default-provider,include-defaults=false) - echo Removing default provider for eventsStore - /subsystem=keycloak-server/spi=eventsStore/:undefine-attribute(name=default-provider) - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=realm/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /subsystem=keycloak-server/spi=realm/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=user/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /subsystem=keycloak-server/spi=user/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=userFederatedStorage/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for userFederatedStorage SPI - /subsystem=keycloak-server/spi=userFederatedStorage/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=authorizationPersister/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for authorizationPersister SPI - /subsystem=keycloak-server/spi=authorizationPersister/:remove - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=userCache/:read-resource - echo Adding userCache SPI - /subsystem=keycloak-server/spi=userCache/:add - /subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=realmCache/:read-resource - echo Adding realmCache SPI - /subsystem=keycloak-server/spi=realmCache/:add - /subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) - echo -end-if - -if ((result.default-provider == undefined) && (result.provider.default.enabled == true)) of /subsystem=keycloak-server/spi=connectionsInfinispan/:read-resource(recursive=true,include-defaults=false) - echo Adding 'default' as default provider for connectionsInfinispan - /subsystem=keycloak-server/spi=connectionsInfinispan/:write-attribute(name=default-provider,value=default) - echo -end-if - -# Migrate from 3.0.0 to 3.1.0 -# NO CHANGES - -# Migrate from 3.1.0 to 3.2.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions/:read-resource - echo Adding local-cache=authenticationSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/:read-resource - echo Adding local-cache=actionTokens to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/:add(indexing=NONE,start=LAZY) - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=eviction/:write-attribute(name=strategy,value=NONE) - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=eviction/:write-attribute(name=max-entries,value=-1) - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=expiration/:write-attribute(name=interval,value=300000) - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=expiration/:write-attribute(name=max-idle,value=-1) - echo -end-if - -if (result == 100L) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:read-attribute(name=max-entries) - echo Updating eviction in local-cache=authorization... - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 3.2.0 to 3.2.1 -# NO CHANGES - -# Migrate from 3.2.1 to 3.3.0 -if (outcome == failed) of /core-service=management/security-realm=ApplicationRealm/server-identity=ssl:read-resource - echo Adding keystore to ApplicationRealm... - /core-service=management/security-realm=ApplicationRealm/server-identity=ssl:add(keystore-path=application.keystore,keystore-relative-to=jboss.server.config.dir,keystore-password=password,alias=server,key-password=password,generate-self-signed-certificate-host=localhost) - echo -end-if - -if (outcome == failed) of /extension=org.wildfly.extension.elytron/:read-resource - echo Adding elytron extension... - /extension=org.wildfly.extension.elytron/:add(module=org.wildfly.extension.elytron) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/:read-resource - echo Adding elytron subsystem - /subsystem=elytron:add - /subsystem=elytron/provider-loader=elytron/:add(module=org.wildfly.security.elytron) - /subsystem=elytron/provider-loader=openssl/:add(module=org.wildfly.openssl) - /subsystem=elytron/aggregate-providers=combined-providers/:add(providers=[elytron,openssl]) - /subsystem=elytron/file-audit-log=local-audit/:add(path=audit.log,relative-to=jboss.server.log.dir,format=JSON) - /subsystem=elytron/identity-realm=local/:add(identity="$local") - /subsystem=elytron/properties-realm=ApplicationRealm/:add(users-properties={path=application-users.properties,relative-to=jboss.server.config.dir,digest-realm-name=ApplicationRealm},groups-properties={path=application-roles.properties,relative-to=jboss.server.config.dir}) - /subsystem=elytron/properties-realm=ManagementRealm/:add(users-properties={path=mgmt-users.properties,relative-to=jboss.server.config.dir,digest-realm-name=ManagementRealm},groups-properties={path=mgmt-groups.properties,relative-to=jboss.server.config.dir}) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper/:add(mapping-mode=first,permission-mappings=[{principals=[anonymous],permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]},{match-all=true,permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission},{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]}]) - /subsystem=elytron/constant-realm-mapper=local/:add(realm-name=local) - /subsystem=elytron/simple-role-decoder=groups-to-roles/:add(attribute=groups) - /subsystem=elytron/constant-role-mapper=super-user-mapper/:add(roles=[SuperUser]) - /subsystem=elytron/security-domain=ApplicationDomain/:add(default-realm=ApplicationRealm,permission-mapper=default-permission-mapper,realms=[{realm=ApplicationRealm,role-decoder=groups-to-roles},{realm=local}]) - /subsystem=elytron/security-domain=ManagementDomain/:add(default-realm=ManagementRealm,permission-mapper=default-permission-mapper,realms=[{realm=ManagementRealm,role-decoder=groups-to-roles},{realm=local,role-mapper=super-user-mapper}]) - /subsystem=elytron/provider-http-server-mechanism-factory=global/:add - /subsystem=elytron/http-authentication-factory=management-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ManagementDomain,mechanism-configurations=[{mechanism-name=DIGEST,mechanism-realm-configurations=[{realm-name=ManagementRealm}]}]) - /subsystem=elytron/http-authentication-factory=application-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=BASIC,mechanism-realm-configurations=[{realm-name=Application Realm}]},{mechanism-name=FORM}]) - /subsystem=elytron/provider-sasl-server-factory=global/:add - /subsystem=elytron/mechanism-provider-filtering-sasl-server-factory=elytron/:add(sasl-server-factory=global,filters=[{provider-name=WildFlyElytron}]) - /subsystem=elytron/configurable-sasl-server-factory=configured/:add(sasl-server-factory=elytron,properties={wildfly.sasl.local-user.default-user => "$local"}) - /subsystem=elytron/sasl-authentication-factory=management-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ManagementDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ManagementRealm}]}]) - /subsystem=elytron/sasl-authentication-factory=application-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ApplicationRealm}]}]) - /subsystem=elytron/:write-attribute(name=final-providers,value=combined-providers) - /subsystem=elytron/:write-attribute(name=disallowed-providers,value=[OracleUcrypto]) - echo -end-if - -if (outcome == failed) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Adding channel-creation-options READ_TIMEOUT to ejb3 remote - /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:add(value="${prop.remoting-connector.read.timeout:20}",type=xnio) - echo -end-if - -if (outcome == failed) of /subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:read-resource - echo Adding channel-creation-options MAX_OUTBOUND_MESSAGES to ejb3 remote - /subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:add(value=1234,type=remoting) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=web/local-cache=persistent:read-resource - echo Removing local-cache persistent from web cache-container - /subsystem=infinispan/cache-container=web/local-cache=persistent:remove - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=ejb/local-cache=persistent:read-resource - echo Removing local-cache persistent from ejb cache-container - /subsystem=infinispan/cache-container=ejb/local-cache=persistent:remove - echo -end-if - -if (result == local-query) of /subsystem=infinispan/cache-container=hibernate/:read-attribute(name=default-cache) - echo Removing default-cache from hibernate cache-container - /subsystem=infinispan/cache-container=hibernate/:undefine-attribute(name=default-cache) - echo -end-if - -if (outcome == failed) of /subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:read-resource - echo Adding http-invoker to default-host - /subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:add(security-realm=ApplicationRealm) - echo -end-if - -if (result == false) of /subsystem=undertow/server=default-server/http-listener=default/:read-attribute(name=enable-http2) - echo Enabling http2 for default http-listener - /subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=enable-http2,value=true) - echo -end-if - -if (outcome == failed) of /subsystem=undertow/server=default-server/https-listener=https/:read-resource - echo Adding https-listener - /subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,security-realm=ApplicationRealm,enable-http2=true) - echo -end-if - -# Migrate from 3.3.0 to 3.4.0 -if (outcome == success) of /subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:read-resource - echo Removing X-Powered-By and Server headers from Keycloak responses... - /subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:remove - /subsystem=undertow/server=default-server/host=default-host/filter-ref=x-powered-by-header/:remove - /subsystem=undertow/configuration=filter/response-header=x-powered-by-header/:remove - /subsystem=undertow/configuration=filter/response-header=server-header/:remove - echo -end-if - -if (outcome == success) of /subsystem=jdr/:read-resource - echo Removing jdr subsystem and extension - /subsystem=jdr/:remove - /extension=org.jboss.as.jdr/:remove - echo -end-if - -if (outcome == success) of /subsystem=jsf/:read-resource - echo Removing jsf subsystem and extension - /subsystem=jsf/:remove - /extension=org.jboss.as.jsf/:remove - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions/:read-resource - echo Adding local-cache=offlineClientSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions/:read-resource - echo Adding local-cache=clientSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=x509cert-lookup/:read-resource - echo Adding spi=x509cert-lookup... - /subsystem=keycloak-server/spi=x509cert-lookup/:add(default-provider=${keycloak.x509cert.lookup.provider:default}) - /subsystem=keycloak-server/spi=x509cert-lookup/provider=default/:add(enabled=true) - echo -end-if - -# Migrate from 4.2.0 to 4.3.0 -if (outcome == failed) of /subsystem=keycloak-server/spi=hostname/:read-resource - echo Adding spi=hostname... - /subsystem=keycloak-server/spi=hostname/:add(default-provider=request) - /subsystem=keycloak-server/spi=hostname/provider=fixed/:add(properties={hostname => "localhost",httpPort => "-1",httpsPort => "-1"},enabled=true) - echo -end-if - -# Migrate from 4.3.0 to 4.4.0 -if (outcome == failed) of /subsystem=elytron/permission-set=login-permission/:read-resource - echo Adding permission-set=login-permission to elytron - /subsystem=elytron/permission-set=login-permission:add(permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission}]) - /subsystem=elytron/permission-set=default-permissions/:add(permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper/:undefine-attribute(name=permission-mappings) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper:write-attribute(name=permission-mappings,value=[{permission-sets=[{permission-set=login-permission},{permission-set=default-permissions}],match-all=true},{permission-sets=[{permission-set=default-permissions}],principals=[anonymous]}]) - echo -end-if - -if (result == org.hibernate.infinispan) of /subsystem=infinispan/cache-container=hibernate:read-attribute(name=module) - echo Update hibernate cache module - /subsystem=infinispan/cache-container=hibernate:write-attribute(name=module, value=org.infinispan.hibernate-cache) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:read-resource - echo Removing eviction from hibernate entity cache and replacing with object-memory - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:read-resource - echo Removing eviction from hibernate local-query cache and replacing with object-memory - /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:read-resource - echo Removing eviction from keycloak realms cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:read-resource - echo Removing eviction from keycloak users cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:read-resource - echo Removing eviction from keycloak authorization cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:read-resource - echo Removing eviction from keycloak keys cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) - echo -end-if - -if (outcome == success) of /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:read-resource - echo Changing JNDI reference in connectionsInfinispan SPI - /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:undefine-attribute(name=properties) - /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:write-attribute(name=properties,value={cacheContainer=java:jboss/infinispan/container/keycloak}) - echo -end-if - -# Migrate from 4.4.0 to 4.5.0 -if (outcome == failed) of /subsystem=core-management/:read-resource - echo Adding core-management extension - /extension=org.wildfly.extension.core-management/:add - echo Adding subsystem core-management - /subsystem=core-management/:add - echo -end-if - -# Migrate from 4.5.0 to 4.6.0 -if (outcome == success) of /subsystem=elytron/http-authentication-factory=application-http-authentication/:read-resource - echo Removing application-http-authentication from elytron subsystem - /subsystem=elytron/http-authentication-factory=application-http-authentication:remove - echo -end-if - -if (result == undefined) of /subsystem=transactions/:read-attribute(name=node-identifier,include-defaults=false) - echo Setting node-identifier attribute of core-environment element in transactions subsystem - /subsystem=transactions/:write-attribute(name=node-identifier,value=expression "${jboss.tx.node.id:1}") - echo -end-if - -# Migrate from 4.8.3 to 5.0.0 -if (outcome == failed) of /subsystem=logging/logger=io.jaegertracing.Configuration/:read-resource - echo Adding io.jaegertracing.Configuration logger - /subsystem=logging/logger=io.jaegertracing.Configuration/:add(category=io.jaegertracing.Configuration,level=WARN) - echo -end-if - -# Migrate from 5.0.0 to 6.0.0 -if (result == NON_XA) of /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:read-attribute(name=mode) - echo Removing NON_XA transaction mode from infinispan/hibernate/entity - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:undefine-attribute(name=mode) - echo -end-if - -if (result == false) of /subsystem=datasources/data-source=ExampleDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ExampleDS datasource - /subsystem=datasources/data-source=ExampleDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=datasources/data-source=KeycloakDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to KeycloakDS datasource - /subsystem=datasources/data-source=KeycloakDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=ejb3/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ejb3 subsystem - /subsystem=ejb3/:write-attribute(name=statistics-enabled,value=${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=transactions/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to transactions subsystem - /subsystem=transactions/:write-attribute(name=statistics-enabled,value=${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=undertow/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to undertow subsystem - /subsystem=undertow/:write-attribute(name=statistics-enabled,value=${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=webservices/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to webservices subsystem - /subsystem=webservices/:write-attribute(name=statistics-enabled,value=${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (outcome == failed) of /extension=org.jboss.as.weld/:read-resource - echo Adding weld extension - /extension=org.jboss.as.weld/:add - echo -end-if - -if (outcome == failed) of /subsystem=weld/:read-resource - echo Adding weld subsystem - /subsystem=weld/:add - echo -end-if - -## KEYCLOAK-16723 / KEYCLOAK-16907: -## -## Loading of MicroProfile SmallRye config, health, and metrics extensions & subsystems got removed -## as part of upgrading to Wildfly 22. See [WFLY-14203], [WFLY-14151], and [WFLY-14108] for details - -# Migrate from 6.0.1 to 7.0.0 -if (outcome == success) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem - /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:remove - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=web/local-cache=routing:read-resource - echo Adding local cache routing to web cache container to infinispan subsystem - /subsystem=infinispan/cache-container=web/local-cache=routing/:add - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=web/local-cache=sso:read-resource - echo Adding local cache sso to web cache container to infinispan subsystem - /subsystem=infinispan/cache-container=web/local-cache=sso/:add - /subsystem=infinispan/cache-container=web/local-cache=sso/component=locking/:add(isolation=REPEATABLE_READ) - /subsystem=infinispan/cache-container=web/local-cache=sso/component=transaction/:add(mode=BATCH) - echo -end-if - -if (result == "true") of /subsystem=keycloak-server/spi=truststore/provider=file:map-get(name=properties, key=disabled) - echo Disabling Truststore Provider - /subsystem=keycloak-server/spi=truststore/provider=file:write-attribute(name=enabled, value=false) - echo Removing deprecated option - /subsystem=keycloak-server/spi=truststore/provider=file:map-remove(name=properties, key=disabled) - echo -end-if - -# Migrate from 7.0.0 to 8.0.0 - -if ((result.time == 100L) && (result.unit == MILLISECONDS)) of /subsystem=ejb3/thread-pool=default:read-attribute(name=keepalive-time) - echo Changing thread pool keepalive of ejb3 subsystem - /subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.time, value=60) - /subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.unit,value=SECONDS) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=hostname/provider=default/:read-resource - echo Adding default hostname provider - /subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -end-if - -if (result == request) of /subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - echo Switching from request to default hostname provider - - /subsystem=keycloak-server/spi=hostname/:write-attribute(name=default-provider,value=default) -end-if - -if (result != fixed) of /subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - try - /subsystem=keycloak-server/spi=hostname/provider=fixed:remove - echo Removed config for unused fixed hostname provider - catch - end-try -end-if - -# Migrate from 10.0.2 to 11.0.0 (migration changes for infinispan update from 9.4.18.Final to 10.1.8.Final) - -if (result != org.keycloak.keycloak-model-infinispan) of /subsystem=infinispan/cache-container=keycloak:read-attribute(name=module) - echo Setting class loader for keycloak cache-container so JBoss Marshalling works properly with Infinispan 10.x - /subsystem=infinispan/cache-container=keycloak:write-attribute(name=module,value=org.keycloak.keycloak-model-infinispan) - echo -end-if - -# Migrate from 11.0.0 to 12.0.0 - -if (result != expression "${jboss.mail.server.host:localhost}") of /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-attribute(name=host) - echo Adding host expression to the SMTP configuration of a remote destination outbound socket binding in the mail subsystem - /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:write-attribute(name=host, value=expression "${jboss.mail.server.host:localhost}") - echo -end-if - -if (result != expression "${jboss.mail.server.port:25}") of /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-attribute(name=port) - echo Adding port expression to the SMTP configuration of a remote destination outbound socket binding in the mail subsystem - /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:write-attribute(name=port, value=expression "${jboss.mail.server.port:25}") - echo -end-if - -# Migrate from 12.0.0 to 13.0.0 - -## KEYCLOAK-16723 / KEYCLOAK-16907: -## -## Based on [WFLY-14203], [WFLY-14151], and [WFLY-14108] remove MicroProfile SmallRye config, health, and metrics if present - -if (outcome == success) of /subsystem=microprofile-config-smallrye/:read-resource - echo Removing microprofile-config-smallrye subsystem... - /subsystem=microprofile-config-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.config-smallrye/:read-resource - echo Removing microprofile.config-smallrye extension... - /extension=org.wildfly.extension.microprofile.config-smallrye/:remove - echo -end-if - -if (outcome == success) of /subsystem=microprofile-health-smallrye/:read-resource - echo Removing microprofile-health-smallrye subsystem... - /subsystem=microprofile-health-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.health-smallrye/:read-resource - echo Removing microprofile.health-smallrye extension... - /extension=org.wildfly.extension.microprofile.health-smallrye/:remove - echo -end-if - -if (outcome == success) of /subsystem=microprofile-metrics-smallrye/:read-resource - echo Removing microprofile-metrics-smallrye subsystem... - /subsystem=microprofile-metrics-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.metrics-smallrye/:read-resource - echo Removing microprofile.metrics-smallrye extension... - /extension=org.wildfly.extension.microprofile.metrics-smallrye/:remove - echo -end-if - -## Yet based on [WFLY-14203], [WFLY-14151], and [WFLY-14108] load -## org.wildfly.extension.health/org.wildfly.extension.metrics extensions & subsystems instead - -if (outcome == failed) of /extension=org.wildfly.extension.health:read-resource - echo Adding WildFly extension for health... - /extension=org.wildfly.extension.health:add(module=org.wildfly.extension.health) - echo -end-if - -if (outcome == failed) of /subsystem=health:read-resource - echo Adding Wildfly subsystem for health... - /subsystem=health:add(security-enabled=false) - echo -end-if - -if (outcome == failed) of /extension=org.wildfly.extension.metrics:read-resource - echo Adding Wildfly extension for base metrics... - /extension=org.wildfly.extension.metrics:add(module=org.wildfly.extension.metrics) - echo -end-if - -if (outcome == failed) of /subsystem=metrics:read-resource - echo Adding Wildfly subsystem for base metrics... - /subsystem=metrics:add(exposed-subsystems=[*],security-enabled=false) - echo -end-if - -if (result == "Keycloak") of :read-attribute(name=product-name) - echo Adding base metrics subsystem prefix to Keycloak... - /subsystem=metrics:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly}) - echo -else - echo Adding base metrics subsystem prefix to RH-SSO... - /subsystem=metrics:write-attribute(name=prefix,value=${wildfly.metrics.prefix:jboss}) - echo -end-if - -## Add ability to make use of automatically generated self-signed certificate with Elytron, -## introduced by WFCORE-5095 in Wildfly Core 14.0.0.Final - -if (outcome == failed) of /subsystem=elytron/key-store=applicationKS:read-resource - echo Adding key store for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/key-store=applicationKS:add(credential-reference={clear-text=password},type=JKS) - /subsystem=elytron/key-store=applicationKS:write-attribute(name=path,value=application.keystore) - /subsystem=elytron/key-store=applicationKS:write-attribute(name=relative-to,value=jboss.server.config.dir) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/key-manager=applicationKM:read-resource - echo Adding key manager for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/key-manager=applicationKM:add(key-store=applicationKS, credential-reference={clear-text=password}) - /subsystem=elytron/key-manager=applicationKM:write-attribute(name=generate-self-signed-certificate-host,value=localhost) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/server-ssl-context=applicationSSC:read-resource - echo Adding SSL context for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/server-ssl-context=applicationSSC:add(key-manager=applicationKM) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-executor-service' from INT to LONG -if (result == 0) of /subsystem=ee/managed-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed executor service to default value (0 miliseconds) - /subsystem=ee/managed-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-scheduled-executor-service' from INT to LONG -if (result == 0) of /subsystem=ee/managed-scheduled-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed scheduled executor service to default value (0 miliseconds) - /subsystem=ee/managed-scheduled-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Set value of JPA default-datasource from empty string to 'undefined' -if (outcome == success) && (result == "") of /subsystem=jpa:read-attribute(name=default-datasource) - echo Setting value of to default-datasource attribute in JPA subsystem to 'undefined' - /subsystem=jpa:undefine-attribute(name=default-datasource) - echo -end-if - -echo *** End Migration *** diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/themes/README.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/content/themes/README.txt deleted file mode 100644 index 475b9574666..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/themes/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -Themes are used to configure the look and feel of login pages and the account management console. It is not recommended to -modify the existing 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. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/identity/module/dir/META-INF/MANIFEST.MF b/distribution/feature-packs/server-feature-pack/src/main/resources/identity/module/dir/META-INF/MANIFEST.MF deleted file mode 100644 index a467c06b87e..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/identity/module/dir/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -JBoss-Product-Release-Name: ${product.name.full} -JBoss-Product-Release-Version: ${product.version} -JBoss-Product-Console-Slot: ${product.wildfly.console.slot} diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/identity/module/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/identity/module/module.xml deleted file mode 100644 index 272eb54de54..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/identity/module/module.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/identity/product.conf b/distribution/feature-packs/server-feature-pack/src/main/resources/identity/product.conf deleted file mode 100644 index 523592f81b3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/identity/product.conf +++ /dev/null @@ -1 +0,0 @@ -slot=${product.slot} diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@emotion,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@emotion,MIT.txt deleted file mode 100644 index 56e808dea14..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@emotion,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Emotion team and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@patternfly,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@patternfly,MIT.txt deleted file mode 100644 index 8d9091a9e25..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@patternfly,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Red Hat, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@pika-react,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@pika-react,MIT.txt deleted file mode 100644 index b96dcb0480a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@pika-react,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Facebook, Inc. and its affiliates. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@pika-react-dom,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@pika-react-dom,MIT.txt deleted file mode 100644 index b96dcb0480a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/@pika-react-dom,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Facebook, Inc. and its affiliates. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Ace Code Editor,BSD 3-clause New or Revised License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Ace Code Editor,BSD 3-clause New or Revised License.txt deleted file mode 100644 index 4760be2a622..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Ace Code Editor,BSD 3-clause New or Revised License.txt +++ /dev/null @@ -1,24 +0,0 @@ -Copyright (c) 2010, Ajax.org B.V. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of Ajax.org B.V. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Angular Treeview,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Angular Treeview,MIT License.txt deleted file mode 100644 index 514acd345a7..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Angular Treeview,MIT License.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 Steve - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/AngularJS,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/AngularJS,MIT License.txt deleted file mode 100644 index fbd4c1d6b3d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/AngularJS,MIT License.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2010-2015 Google, Inc. http://angularjs.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/FileSaver.js,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/FileSaver.js,MIT License.txt deleted file mode 100644 index f4e447e0b0a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/FileSaver.js,MIT License.txt +++ /dev/null @@ -1,9 +0,0 @@ -Copyright © 2016 [Eli Grey][1]. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - [1]: http://eligrey.com diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Font Awesome (Font),SIL Open Font License 1.1.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Font Awesome (Font),SIL Open Font License 1.1.txt deleted file mode 100644 index 0fe8669659d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Font Awesome (Font),SIL Open Font License 1.1.txt +++ /dev/null @@ -1,87 +0,0 @@ -#[Font Awesome v4.3.0](http://fontawesome.io) -###The iconic font and CSS framework - -Font Awesome is a full suite of 519 pictographic icons for easy scalable vector graphics on websites, -created and maintained by [Dave Gandy](http://twitter.com/davegandy). -Stay up to date with the latest release and announcements on Twitter: -[@fontawesome](http://twitter.com/fontawesome). - -Get started at http://fontawesome.io! - -##License -- The Font Awesome font is licensed under the SIL OFL 1.1: - - http://scripts.sil.org/OFL -- Font Awesome CSS, LESS, and Sass files are licensed under the MIT License: - - http://opensource.org/licenses/mit-license.html -- The Font Awesome documentation is licensed under the CC BY 3.0 License: - - http://creativecommons.org/licenses/by/3.0/ -- Attribution is no longer required as of Font Awesome 3.0, but much appreciated: - - `Font Awesome by Dave Gandy - http://fontawesome.io` -- Full details: http://fontawesome.io/license - -##Changelog -- v3.0.0 - all icons redesigned from scratch, optimized for Bootstrap's 14px default -- v3.0.1 - much improved rendering in webkit, various bug fixes -- v3.0.2 - much improved rendering and alignment in IE7 -- v3.1.0 - Added 54 icons, icon stacking styles, flipping and rotating icons, removed Sass support -- [v3.1.1 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=4&page=1&state=closed) -- [v3.2.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=3&page=1&state=closed) -- [v3.2.1 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=5&page=1&state=closed) -- [v4.0.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=2&page=1&state=closed) -- [v4.0.1 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=7&page=1&state=closed) -- [v4.0.2 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=8&page=1&state=closed) -- [v4.0.3 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=9&page=1&state=closed) -- [v4.1.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=6&page=1&state=closed) -- [v4.2.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=12&page=1&state=closed) -- [v4.3.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?q=milestone%3A4.3.0+is%3Aclosed) - -## Contributing - -Please read through our [contributing guidelines](https://github.com/FortAwesome/Font-Awesome/blob/master/CONTRIBUTING.md). -Included are directions for opening issues, coding standards, and notes on development. - -##Versioning - -Font Awesome will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered -with the following format: - -`..` - -And constructed with the following guidelines: - -* Breaking backward compatibility bumps the major (and resets the minor and patch) -* New additions, including new icons, without breaking backward compatibility bumps the minor (and resets the patch) -* Bug fixes and misc changes bumps the patch - -For more information on SemVer, please visit http://semver.org. - -##Author -- Email: dave@fontawesome.io -- Twitter: http://twitter.com/davegandy -- GitHub: https://github.com/davegandy - -##Component -To include as a [component](http://github.com/component/component), just run - - $ component install FortAwesome/Font-Awesome - -Or add - - "FortAwesome/Font-Awesome": "*" - -to the `dependencies` in your `component.json`. - -## Hacking on Font Awesome - -From the root of the repository, install the tools used to develop. - - $ bundle install - $ npm install - -Build the project and documentation: - - $ bundle exec jekyll build - -Or serve it on a local server on http://localhost:7998/Font-Awesome/: - - $ bundle exec jekyll -w serve diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Glyphicons Halflings,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Glyphicons Halflings,MIT License.txt deleted file mode 100644 index 8d94aa9ac9f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Glyphicons Halflings,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2011-2014 Twitter, Inc - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/OpenSans,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/OpenSans,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/OpenSans,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Patternfly,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Patternfly,MIT License.txt deleted file mode 100644 index 8d9091a9e25..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Patternfly,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Red Hat, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/RCUE,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/RCUE,Apache Software License 2.0.txt deleted file mode 100644 index cc698cdf497..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/RCUE,Apache Software License 2.0.txt +++ /dev/null @@ -1,205 +0,0 @@ -Modifications to Bootstrap are copyright 2013 Red Hat, Inc. and licensed -under the Apache License 2.0. - - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Select2,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Select2,Apache Software License 2.0.txt deleted file mode 100644 index 3c98f3df42a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Select2,Apache Software License 2.0.txt +++ /dev/null @@ -1,18 +0,0 @@ -Copyright 2012 Igor Vaynberg - -Version: @@ver@@ Timestamp: @@timestamp@@ - -This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU -General Public License version 2 (the "GPL License"). You may choose either license to govern your -use of this software only upon the condition that you accept all of the terms of either the Apache -License or the GPL License. - -You may obtain a copy of the Apache License and the GPL License at: - -http://www.apache.org/licenses/LICENSE-2.0 -http://www.gnu.org/licenses/gpl-2.0.html - -Unless required by applicable law or agreed to in writing, software distributed under the Apache License -or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -either express or implied. See the Apache License and the GPL License for the specific language governing -permissions and limitations under the Apache License and the GPL License. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Select2,GNU General Public License v2.0 only.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Select2,GNU General Public License v2.0 only.txt deleted file mode 100644 index 3c98f3df42a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/Select2,GNU General Public License v2.0 only.txt +++ /dev/null @@ -1,18 +0,0 @@ -Copyright 2012 Igor Vaynberg - -Version: @@ver@@ Timestamp: @@timestamp@@ - -This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU -General Public License version 2 (the "GPL License"). You may choose either license to govern your -use of this software only upon the condition that you accept all of the terms of either the Apache -License or the GPL License. - -You may obtain a copy of the Apache License and the GPL License at: - -http://www.apache.org/licenses/LICENSE-2.0 -http://www.gnu.org/licenses/gpl-2.0.html - -Unless required by applicable law or agreed to in writing, software distributed under the Apache License -or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -either express or implied. See the Apache License and the GPL License for the specific language governing -permissions and limitations under the Apache License and the GPL License. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/UI.Ace,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/UI.Ace,MIT License.txt deleted file mode 100644 index dfc5e0ca17c..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/UI.Ace,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2012 the AngularUI Team, http://angular-ui.github.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-file-upload,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-file-upload,MIT License.txt deleted file mode 100644 index 7ebd53ccf41..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-file-upload,MIT License.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 danialfarid - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-translate,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-translate,MIT License.txt deleted file mode 100644 index d4d931c2954..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-translate,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013-2017 The angular-translate team and Pascal Precht - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-ui-bootstrap,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-ui-bootstrap,MIT License.txt deleted file mode 100644 index 7c4ffa8431b..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/angular-ui-bootstrap,MIT License.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2012-2014 the AngularUI Team, https://github.com/organizations/angular-ui/teams/291112 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/attr-accept,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/attr-accept,MIT.txt deleted file mode 100644 index 067aa110ec1..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/attr-accept,MIT.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Andrey Okonetchnikov - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/change-case,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/change-case,MIT.txt deleted file mode 100644 index 983fbe8aec3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/change-case,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.fasterxml.jackson.dataformat,jackson-dataformat-cbor,2.12.1,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.fasterxml.jackson.dataformat,jackson-dataformat-cbor,2.12.1,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.fasterxml.jackson.dataformat,jackson-dataformat-cbor,2.12.1,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.github.ua-parser,uap-java,1.4.3,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.github.ua-parser,uap-java,1.4.3,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.github.ua-parser,uap-java,1.4.3,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.google.zxing,core,3.4.0,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.google.zxing,core,3.4.0,Apache Software License 2.0.txt deleted file mode 100644 index 510991edab0..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.google.zxing,core,3.4.0,Apache Software License 2.0.txt +++ /dev/null @@ -1,245 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - -======================================================================== -jai-imageio -======================================================================== - -Copyright (c) 2005 Sun Microsystems, Inc. -Copyright © 2010-2014 University of Manchester -Copyright © 2010-2015 Stian Soiland-Reyes -Copyright © 2015 Peter Hull -All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistribution of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -- Redistribution in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -Neither the name of Sun Microsystems, Inc. or the names of -contributors may be used to endorse or promote products derived -from this software without specific prior written permission. - -This software is provided "AS IS," without a warranty of any -kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND -WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY -EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL -NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF -USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS -DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR -ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, -CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND -REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR -INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - -You acknowledge that this software is not designed or intended for -use in the design, construction, operation or maintenance of any -nuclear facility. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.google.zxing,javase,3.4.0,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.google.zxing,javase,3.4.0,Apache Software License 2.0.txt deleted file mode 100644 index 510991edab0..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.google.zxing,javase,3.4.0,Apache Software License 2.0.txt +++ /dev/null @@ -1,245 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - -======================================================================== -jai-imageio -======================================================================== - -Copyright (c) 2005 Sun Microsystems, Inc. -Copyright © 2010-2014 University of Manchester -Copyright © 2010-2015 Stian Soiland-Reyes -Copyright © 2015 Peter Hull -All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistribution of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -- Redistribution in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -Neither the name of Sun Microsystems, Inc. or the names of -contributors may be used to endorse or promote products derived -from this software without specific prior written permission. - -This software is provided "AS IS," without a warranty of any -kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND -WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY -EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL -NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF -USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS -DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR -ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, -CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND -REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR -INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - -You acknowledge that this software is not designed or intended for -use in the design, construction, operation or maintenance of any -nuclear facility. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.googlecode.owasp-java-html-sanitizer,owasp-java-html-sanitizer,20191001.1,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.googlecode.owasp-java-html-sanitizer,owasp-java-html-sanitizer,20191001.1,Apache Software License 2.0.txt deleted file mode 100644 index 379d6e417da..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.googlecode.owasp-java-html-sanitizer,owasp-java-html-sanitizer,20191001.1,Apache Software License 2.0.txt +++ /dev/null @@ -1,234 +0,0 @@ -You may use under either the Apache License Version 2.0 or the BSD -3-Clause License. - ------------------------------------------------------------------- - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - ------------------------------------------------------------------- - -Copyright (c) 2011, Mike Samuel -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.openshift,openshift-restclient-java,8.0.0.Final,Eclipse Public License 1.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.openshift,openshift-restclient-java,8.0.0.Final,Eclipse Public License 1.0.txt deleted file mode 100644 index 2c5408d5645..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.openshift,openshift-restclient-java,8.0.0.Final,Eclipse Public License 1.0.txt +++ /dev/null @@ -1,10 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Red Hat, Inc. - * Distributed under license by Red Hat, Inc. All rights reserved. - * This program is made available under the terms of the - * Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Red Hat, Inc. - initial API and implementation - ******************************************************************************/ \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.webauthn4j,webauthnj4-core,0.12.0.RELEASE,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.webauthn4j,webauthnj4-core,0.12.0.RELEASE,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.webauthn4j,webauthnj4-core,0.12.0.RELEASE,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.webauthn4j,webauthnj4-util,0.12.0.RELEASE,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.webauthn4j,webauthnj4-util,0.12.0.RELEASE,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/com.webauthn4j,webauthnj4-util,0.12.0.RELEASE,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/commons-lang,commons-lang,2.6,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/commons-lang,commons-lang,2.6,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/commons-lang,commons-lang,2.6,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/commons-lang,commons-lang3,3-3.11,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/commons-lang,commons-lang3,3-3.11,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/commons-lang,commons-lang3,3-3.11,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/file-selector,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/file-selector,MIT.txt deleted file mode 100644 index eda448f49ab..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/file-selector,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020 Roland Groza - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/focus-trap,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/focus-trap,MIT.txt deleted file mode 100644 index 693c454faf5..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/focus-trap,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015-2016 David Clark - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/history,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/history,MIT.txt deleted file mode 100644 index dc15fe3fd49..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/history,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) React Training 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/hoist-non-react-statics,BSD-3-Clause.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/hoist-non-react-statics,BSD-3-Clause.txt deleted file mode 100644 index 2464f59ec1f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/hoist-non-react-statics,BSD-3-Clause.txt +++ /dev/null @@ -1,29 +0,0 @@ -Software License Agreement (BSD License) -======================================== - -Copyright (c) 2015, Yahoo! Inc. All rights reserved. ----------------------------------------------------- - -Redistribution and use of this software in source and binary forms, with or -without modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of Yahoo! Inc. nor the names of YUI's contributors may be - used to endorse or promote products derived from this software without - specific prior written permission of Yahoo! Inc. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/invariant,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/invariant,MIT.txt deleted file mode 100644 index 188fb2b0bd8..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/invariant,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/isarray,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/isarray,MIT.txt deleted file mode 100644 index de3226673c3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/isarray,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013 Julian Gruber - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/jQuery,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/jQuery,MIT License.txt deleted file mode 100644 index e4e5e00ef0a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/jQuery,MIT License.txt +++ /dev/null @@ -1,36 +0,0 @@ -Copyright JS Foundation and other contributors, https://js.foundation/ - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/jquery - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -All files located in the node_modules and external directories are -externally maintained libraries used by this software which have their -own licenses; we recommend you read them, as their terms may differ from -the terms above. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/licenses.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/licenses.xml deleted file mode 100644 index 1bf3b9252b4..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/licenses.xml +++ /dev/null @@ -1,824 +0,0 @@ - - - - - com.openshift - openshift-restclient-java - 8.0.0.Final - - - Eclipse Public License 1.0 - https://raw.githubusercontent.com/openshift/openshift-restclient-java/openshift-restclient-java-8.0.0.Final/license - - - - - com.googlecode.owasp-java-html-sanitizer - owasp-java-html-sanitizer - 20191001.1 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/OWASP/java-html-sanitizer/release-20191001.1/COPYING - - - - - com.google.zxing - core - 3.4.0 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/zxing/zxing/zxing-3.4.0/LICENSE - - - - - com.google.zxing - javase - 3.4.0 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/zxing/zxing/zxing-3.4.0/LICENSE - - - - - commons-lang - commons-lang3 - 3-3.11 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - commons-lang - commons-lang - 2.6 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - com.github.ua-parser - uap-java - 1.4.3 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - org.liquibase - liquibase-core - 4.8.0 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/liquibase/liquibase/v4.8.0/LICENSE.txt - - - - - org.twitter4j - twitter4j-core - 4.0.7 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/yusuke/twitter4j/4.0.7/LICENSE.txt - - - - - org.freemarker - freemarker - 2.3.31 - - - Apache Software License 2.0 - https://git-wip-us.apache.org/repos/asf?p=freemarker.git;a=blob_plain;f=LICENSE;hb=v2.3.31 - - - - - org.apache.maven - maven-core - 3.3.9 - - - Apache Software License 2.0 - https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=LICENSE;hb=maven-3.3.9 - - - - - org.apache.maven - maven-plugin-api - 3.3.9 - - - Apache Software License 2.0 - https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=LICENSE;hb=maven-3.3.9 - - - - - com.webauthn4j - webauthnj4-core - 0.20.0.RELEASE - - - Apache Software License 2.0 - https://raw.githubusercontent.com/webauthn4j/webauthn4j/0.20.0.RELEASE/LICENSE.txt - - - - - com.webauthn4j - webauthnj4-util - 0.20.0.RELEASE - - - Apache Software License 2.0 - https://raw.githubusercontent.com/webauthn4j/webauthn4j/0.20.0.RELEASE/LICENSE.txt - - - - - org.apache.kerby - kerby-asn1 - 2.0.0 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/apache/directory-kerby/kerby-all-2.0.0/LICENSE - - - - - org.infinispan - infinispan-jboss-marshalling - 11.0.9.Final - - - Apache Software License 2.0 - https://raw.githubusercontent.com/infinispan/infinispan/master/LICENSE.md - - - - - org.jboss.marshalling - jboss-marshalling - 2.0.11.Final - - - Apache Software License 2.0 - https://raw.githubusercontent.com/jboss-remoting/jboss-marshalling/main/LICENSE.txt - - - - - org.jboss.marshalling - jboss-marshalling-river - 2.0.11.Final - - - Apache Software License 2.0 - https://raw.githubusercontent.com/jboss-remoting/jboss-marshalling/main/LICENSE.txt - - - - - com.fasterxml.jackson.dataformat - jackson-dataformat-cbor - 2.12.1 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - - - jQuery - - themes/keycloak/common/resources/node_modules/jquery/dist - - - - MIT License - https://raw.githubusercontent.com/jquery/jquery/3.2.1/LICENSE.txt - - - - - AngularJS - - themes/keycloak/common/resources/lib/angular - - - - MIT License - https://raw.githubusercontent.com/angular/angular.js/v1.4.4/LICENSE - - - - - angular-translate - - themes/keycloak/common/resources/node_modules/angular-translate/dist - themes/keycloak/common/resources/node_modules/angular-translate-loader-url - themes/keycloak/common/resources/node_modules/angular-translate/dist/angular-translate-loader-partial - - - - MIT License - https://raw.githubusercontent.com/angular-translate/angular-translate/2.15.1/LICENSE - - - - - ui-select2 - - themes/keycloak/common/resources/node_modules/angular-ui-select2 - - - - MIT License - https://raw.githubusercontent.com/angular-ui/ui-select2/v0.0.5/LICENSE - - - - - angular-ui-bootstrap - - themes/keycloak/common/resources/lib/angular/ui-bootstrap-tpls-0.11.0.js - - - - MIT License - https://raw.githubusercontent.com/angular-ui/bootstrap/0.11.0/LICENSE - - - - - Angular Treeview - - themes/keycloak/common/resources/lib/angular/treeview - - - - MIT License - https://raw.githubusercontent.com/eu81273/angular.treeview/master/LICENSE - - - - - safename - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/safename - - - - MIT License - https://raw.githubusercontent.com/jacoborus/safename/master/LICENSE - - - - - Select2 - - themes/keycloak/common/resources/node_modules/select2 - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/select2/select2/3.4.1/LICENSE - - - GNU General Public License v2.0 only - https://raw.githubusercontent.com/select2/select2/3.4.1/LICENSE - - - - - text-security - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/text-security - - - - MIT License - https://raw.githubusercontent.com/noppa/text-security/master/LICENSE.txt - - - - - FileSaver.js - - themes/keycloak/common/resources/lib/filesaver/FileSaver.js - - - - MIT License - https://raw.githubusercontent.com/eligrey/FileSaver.js/1.3.2/LICENSE.md - - - - - angular-file-upload - - themes/keycloak/common/resources/lib/fileupload - - - - MIT License - https://raw.githubusercontent.com/danialfarid/ng-file-upload/1.1.10/LICENSE - - - - - UI.Ace - - themes/keycloak/common/resources/lib/ui-ace/ui-ace.min.js - themes/keycloak/common/resources/lib/ui-ace/ui-ace.js - - - - MIT License - https://raw.githubusercontent.com/angular-ui/ui-ace/src0.2.3/LICENSE - - - - - Ace Code Editor - - themes/keycloak/common/resources/lib/ui-ace - - - - BSD 3-clause New or Revised License - https://raw.githubusercontent.com/ajaxorg/ace-builds/v1.2.3/LICENSE - - - - - Font Awesome (Font) - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/font-awesome/fonts - - - - SIL Open Font License 1.1 - https://raw.githubusercontent.com/FortAwesome/Font-Awesome/v4.3.0/README.md - - - - - RCUE - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/rcue - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/redhat-rcue/rcue/master/LICENSE.txt - - - - - Glyphicons Halflings - - themes/keycloak/common/resources/lib/components/bootstrap/dist/fonts - - - - MIT License - https://raw.githubusercontent.com/twbs/bootstrap/v3.3.1-130-gadd44ca/LICENSE - - - - - Patternfly - - themes/keycloak/common/resources/lib/patternfly - - - - MIT License - https://raw.githubusercontent.com/patternfly/patternfly/v3.59.4/LICENSE.txt - - - - - OpenSans - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.woff2 - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/google/fonts/master/apache/opensans/LICENSE.txt - - - - - rfc4648.js - - services/src/main/resources/theme-resources/resources/base64url.js - - - - MIT License - https://raw.githubusercontent.com/swansontec/rfc4648.js/master/package.json - - - - - @emotion - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/emotion-js/emotion/master/LICENSE - - - - - stylis-rule-sheet - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/thysultan/stylis.js/master/LICENSE - - - - - change-case - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/blakeembrey/change-case/master/LICENSE - - - - - @patternfly - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/patternfly/patternfly-react/master/LICENSE - - - - - tabbable - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/davidtheclark/tabbable/master/LICENSE - - - - - xtend - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/Raynos/xtend/master/LICENSE - - - - - focus-trap - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/davidtheclark/focus-trap/master/LICENSE - - - - - prop-types - - themes/keycloak/common/resources/web_modules/common/index-fd2ed651.js - - - - MIT - https://raw.githubusercontent.com/facebook/prop-types/master/LICENSE - - - - - popper.js - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/FezVrasta/popper.js/master/LICENSE.md - - - - - tippy.js - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/atomiks/tippyjs/master/LICENSE - - - - - tslib - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - Apache-2.0 - https://raw.githubusercontent.com/Microsoft/tslib/master/LICENSE.txt - - - - - file-selector - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/react-dropzone/file-selector/master/LICENSE - - - - - attr-accept - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/okonet/attr-accept/master/LICENSE - - - - - react-dropzone - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/react-dropzone/react-dropzone/master/LICENSE - - - - - @pika-react - - themes/keycloak/common/resources/web_modules/react.js - - - - MIT - https://raw.githubusercontent.com/facebook/react/master/LICENSE - - - - - @pika-react-dom - - themes/keycloak/common/resources/web_modules/react-dom.js - - - - MIT - https://raw.githubusercontent.com/facebook/react/master/LICENSE - - - - - warning - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://github.com/BerkeleyTrue/warning/raw/master/LICENSE.md - - - - - invariant - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/zertosh/invariant/master/LICENSE - - - - - resolve-pathname - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/mjackson/resolve-pathname/master/LICENSE - - - - - value-equal - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/mjackson/value-equal/master/LICENSE - - - - - history - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/history/master/LICENSE - - - - - react-router - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/react-router/master/LICENSE - - - - - react-router-dom - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/react-router/master/LICENSE - - - - - isarray - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/juliangruber/isarray/master/LICENSE - - - - - path-to-regexp - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/pillarjs/path-to-regexp/master/LICENSE - - - - - hoist-non-react-statics - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - BSD-3-Clause - https://raw.githubusercontent.com/mridgway/hoist-non-react-statics/master/LICENSE.md - - - - - object-assign - - themes/keycloak/common/resources/web_modules/common/index-fd2ed651.js - - - - MIT - https://raw.githubusercontent.com/sindresorhus/object-assign/master/license - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/object-assign,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/object-assign,MIT.txt deleted file mode 100644 index 654d0bfe943..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/object-assign,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.kerby,kerby-asn1,2.0.0,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.kerby,kerby-asn1,2.0.0,Apache Software License 2.0.txt deleted file mode 100644 index e06d2081865..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.kerby,kerby-asn1,2.0.0,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.maven,maven-core,3.3.9,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.maven,maven-core,3.3.9,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.maven,maven-core,3.3.9,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.maven,maven-plugin-api,3.3.9,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.maven,maven-plugin-api,3.3.9,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.apache.maven,maven-plugin-api,3.3.9,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.freemarker,freemarker,2.3.31,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.freemarker,freemarker,2.3.31,Apache Software License 2.0.txt deleted file mode 100644 index 1121ebaa2a2..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.freemarker,freemarker,2.3.31,Apache Software License 2.0.txt +++ /dev/null @@ -1,223 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - -========================================================================= - -The source code contains the following binaries, -which were created at the Apache FreeMarker project, and hence are -covered by the same license as the other source files of it: - - src/main/misc/overloadedNumberRules/prices.ods - src/manual/en_US/docgen-originals/figures/overview.odg - src/manual/en_US/docgen-originals/figures/model2sketch_with_alpha.png - src/manual/en_US/docgen-originals/figures/tree_with_alpha.png - src/manual/en_US/favicon.png - src/manual/en_US/figures/model2sketch.png - src/manual/en_US/figures/overview.png - src/manual/en_US/figures/tree.png - src/manual/en_US/logo.png - src/manual/zh_CN/favicon.png - src/manual/zh_CN/figures/model2sketch.png - src/manual/zh_CN/figures/overview.png - src/manual/zh_CN/figures/tree.png - src/manual/zh_CN/logo.png diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.infinispan,infinispan-jboss-marshalling,11.0.9.Final,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.infinispan,infinispan-jboss-marshalling,11.0.9.Final,Apache Software License 2.0.txt deleted file mode 100644 index 200361e46be..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.infinispan,infinispan-jboss-marshalling,11.0.9.Final,Apache Software License 2.0.txt +++ /dev/null @@ -1,191 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - Copyright Red Hat Inc. and/or its affiliates. - - 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 - - https://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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.jboss.marshalling,jboss-marshalling,2.0.11.Final,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.jboss.marshalling,jboss-marshalling,2.0.11.Final,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.jboss.marshalling,jboss-marshalling,2.0.11.Final,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.jboss.marshalling,jboss-marshalling-river,2.0.11.Final,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.jboss.marshalling,jboss-marshalling-river,2.0.11.Final,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.jboss.marshalling,jboss-marshalling-river,2.0.11.Final,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.liquibase,liquibase-core,4.8.0,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.liquibase,liquibase-core,4.8.0,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.liquibase,liquibase-core,4.8.0,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.twitter4j,twitter4j-core,4.0.7,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.twitter4j,twitter4j-core,4.0.7,Apache Software License 2.0.txt deleted file mode 100644 index f0751f2fd61..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/org.twitter4j,twitter4j-core,4.0.7,Apache Software License 2.0.txt +++ /dev/null @@ -1,177 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/path-to-regexp,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/path-to-regexp,MIT.txt deleted file mode 100644 index 983fbe8aec3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/path-to-regexp,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/popper.js,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/popper.js,MIT.txt deleted file mode 100644 index 0370c4581eb..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/popper.js,MIT.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019 Federico Zivolo - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/prop-types,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/prop-types,MIT.txt deleted file mode 100644 index 188fb2b0bd8..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/prop-types,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-dropzone,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-dropzone,MIT.txt deleted file mode 100644 index 3f894344e92..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-dropzone,MIT.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 Param Aggarwal - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-router,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-router,MIT.txt deleted file mode 100644 index dc15fe3fd49..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-router,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) React Training 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-router-dom,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-router-dom,MIT.txt deleted file mode 100644 index dc15fe3fd49..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/react-router-dom,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) React Training 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/resolve-pathname,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/resolve-pathname,MIT.txt deleted file mode 100644 index 54ff40f6e24..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/resolve-pathname,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Michael Jackson 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/rfc4648.js,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/rfc4648.js,MIT License.txt deleted file mode 100644 index 4705b4512dc..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/rfc4648.js,MIT License.txt +++ /dev/null @@ -1,83 +0,0 @@ -{ - "name": "rfc4648", - "version": "1.5.0", - "description": "Encoding and decoding for base64, base32, base16, and friends", - "keywords": [ - "Uint8Array", - "base16", - "base32", - "base32hex", - "base64", - "base64url", - "hex" - ], - "repository": { - "type": "git", - "url": "git@github.com:swansontec/rfc4648.js.git" - }, - "license": "MIT", - "author": "William Swanson", - "exports": { - ".": { - "import": "./lib/index.mjs", - "require": "./lib/index.js" - }, - "./package.json": "./package.json" - }, - "main": "./lib/index.js", - "module": "./lib/rfc4648.js", - "types": "./lib/src/index.d.ts", - "files": [ - "CHANGELOG.md", - "lib/*", - "README.md", - "src/*" - ], - "scripts": { - "clean": "rimraf lib", - "fix": "eslint . --fix", - "lib": "rollup -c", - "lint": "eslint .", - "precommit": "lint-staged && npm-run-all types test", - "prepare": "npm-run-all clean -p lib types", - "test": "nyc mocha 'test/**/*.ts'", - "types": "tsc", - "verify": "npm-run-all lint types test" - }, - "lint-staged": { - "*.{js,ts}": "eslint" - }, - "devDependencies": { - "@babel/core": "^7.14.0", - "@babel/preset-env": "^7.14.1", - "@babel/preset-typescript": "^7.13.0", - "@rollup/plugin-babel": "^5.3.0", - "@rollup/plugin-node-resolve": "^13.0.0", - "@types/chai": "^4.2.18", - "@types/mocha": "^8.2.2", - "@typescript-eslint/eslint-plugin": "^4.8.2", - "@typescript-eslint/parser": "^4.8.2", - "babel-eslint": "^10.1.0", - "chai": "^4.3.4", - "eslint": "^7.14.0", - "eslint-config-standard-kit": "0.15.1", - "eslint-plugin-flowtype": "^5.2.0", - "eslint-plugin-import": "^2.22.1", - "eslint-plugin-prettier": "^3.1.4", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-simple-import-sort": "^6.0.1", - "husky": "^6.0.0", - "lint-staged": "^10.5.3", - "mocha": "^8.4.0", - "npm-run-all": "^4.1.5", - "nyc": "^15.1.0", - "prettier": "^2.2.0", - "rimraf": "^3.0.2", - "rollup": "^2.47.0", - "rollup-plugin-filesize": "^9.1.1", - "rollup-plugin-flow-entry": "^0.3.5", - "rollup-plugin-mjs-entry": "^0.1.1", - "sucrase": "^3.18.1", - "typescript": "^4.1.2" - } -} diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/safename,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/safename,MIT License.txt deleted file mode 100644 index fdda45a0e0c..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/safename,MIT License.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 jacoborus - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/stylis-rule-sheet,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/stylis-rule-sheet,MIT.txt deleted file mode 100644 index f0b1a9a465e..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/stylis-rule-sheet,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2016-present Sultan Tarimo - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tabbable,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tabbable,MIT.txt deleted file mode 100644 index 6d347c0662d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tabbable,MIT.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 David Clark - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/text-security,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/text-security,MIT License.txt deleted file mode 100644 index 857422e9486..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/text-security,MIT License.txt +++ /dev/null @@ -1,93 +0,0 @@ - -This Font Software is licensed under the SIL Open Font License, -Version 1.1. - -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font -creation efforts of academic and linguistic communities, and to -provide a free and open framework in which fonts may be shared and -improved in partnership with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply to -any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software -components as distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, -deleting, or substituting -- in part or in whole -- any of the -components of the Original Version, by changing formats or by porting -the Font Software to a new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, -modify, redistribute, and sell modified and unmodified copies of the -Font Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, in -Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the -corresponding Copyright Holder. This restriction only applies to the -primary font name as presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created using -the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tippy.js,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tippy.js,MIT.txt deleted file mode 100644 index 93cdcb652db..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tippy.js,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017-present atomiks - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tslib,Apache-2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tslib,Apache-2.0.txt deleted file mode 100644 index fa7d1bdf94d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/tslib,Apache-2.0.txt +++ /dev/null @@ -1,12 +0,0 @@ -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/ui-select2,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/ui-select2,MIT License.txt deleted file mode 100644 index dfc5e0ca17c..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/ui-select2,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2012 the AngularUI Team, http://angular-ui.github.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/value-equal,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/value-equal,MIT.txt deleted file mode 100644 index 54ff40f6e24..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/value-equal,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Michael Jackson 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/warning,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/warning,MIT.txt deleted file mode 100644 index 188fb2b0bd8..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/warning,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/xtend,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/xtend,MIT.txt deleted file mode 100644 index 0099f4f6c77..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/keycloak/xtend,MIT.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) -Copyright (c) 2012-2014 Raynos. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@emotion,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@emotion,MIT.txt deleted file mode 100644 index 56e808dea14..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@emotion,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Emotion team and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@patternfly,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@patternfly,MIT.txt deleted file mode 100644 index 8d9091a9e25..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@patternfly,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Red Hat, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@pika-react,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@pika-react,MIT.txt deleted file mode 100644 index b96dcb0480a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@pika-react,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Facebook, Inc. and its affiliates. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@pika-react-dom,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@pika-react-dom,MIT.txt deleted file mode 100644 index b96dcb0480a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/@pika-react-dom,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Facebook, Inc. and its affiliates. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Ace Code Editor,BSD 3-clause New or Revised License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Ace Code Editor,BSD 3-clause New or Revised License.txt deleted file mode 100644 index 4760be2a622..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Ace Code Editor,BSD 3-clause New or Revised License.txt +++ /dev/null @@ -1,24 +0,0 @@ -Copyright (c) 2010, Ajax.org B.V. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of Ajax.org B.V. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Angular Treeview,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Angular Treeview,MIT License.txt deleted file mode 100644 index 514acd345a7..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Angular Treeview,MIT License.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 Steve - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/AngularJS,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/AngularJS,MIT License.txt deleted file mode 100644 index fbd4c1d6b3d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/AngularJS,MIT License.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2010-2015 Google, Inc. http://angularjs.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/FileSaver.js,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/FileSaver.js,MIT License.txt deleted file mode 100644 index f4e447e0b0a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/FileSaver.js,MIT License.txt +++ /dev/null @@ -1,9 +0,0 @@ -Copyright © 2016 [Eli Grey][1]. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - [1]: http://eligrey.com diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Font Awesome (Font),SIL Open Font License 1.1.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Font Awesome (Font),SIL Open Font License 1.1.txt deleted file mode 100644 index 0fe8669659d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Font Awesome (Font),SIL Open Font License 1.1.txt +++ /dev/null @@ -1,87 +0,0 @@ -#[Font Awesome v4.3.0](http://fontawesome.io) -###The iconic font and CSS framework - -Font Awesome is a full suite of 519 pictographic icons for easy scalable vector graphics on websites, -created and maintained by [Dave Gandy](http://twitter.com/davegandy). -Stay up to date with the latest release and announcements on Twitter: -[@fontawesome](http://twitter.com/fontawesome). - -Get started at http://fontawesome.io! - -##License -- The Font Awesome font is licensed under the SIL OFL 1.1: - - http://scripts.sil.org/OFL -- Font Awesome CSS, LESS, and Sass files are licensed under the MIT License: - - http://opensource.org/licenses/mit-license.html -- The Font Awesome documentation is licensed under the CC BY 3.0 License: - - http://creativecommons.org/licenses/by/3.0/ -- Attribution is no longer required as of Font Awesome 3.0, but much appreciated: - - `Font Awesome by Dave Gandy - http://fontawesome.io` -- Full details: http://fontawesome.io/license - -##Changelog -- v3.0.0 - all icons redesigned from scratch, optimized for Bootstrap's 14px default -- v3.0.1 - much improved rendering in webkit, various bug fixes -- v3.0.2 - much improved rendering and alignment in IE7 -- v3.1.0 - Added 54 icons, icon stacking styles, flipping and rotating icons, removed Sass support -- [v3.1.1 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=4&page=1&state=closed) -- [v3.2.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=3&page=1&state=closed) -- [v3.2.1 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=5&page=1&state=closed) -- [v4.0.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=2&page=1&state=closed) -- [v4.0.1 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=7&page=1&state=closed) -- [v4.0.2 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=8&page=1&state=closed) -- [v4.0.3 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=9&page=1&state=closed) -- [v4.1.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=6&page=1&state=closed) -- [v4.2.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?milestone=12&page=1&state=closed) -- [v4.3.0 GitHub milestones](https://github.com/FortAwesome/Font-Awesome/issues?q=milestone%3A4.3.0+is%3Aclosed) - -## Contributing - -Please read through our [contributing guidelines](https://github.com/FortAwesome/Font-Awesome/blob/master/CONTRIBUTING.md). -Included are directions for opening issues, coding standards, and notes on development. - -##Versioning - -Font Awesome will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered -with the following format: - -`..` - -And constructed with the following guidelines: - -* Breaking backward compatibility bumps the major (and resets the minor and patch) -* New additions, including new icons, without breaking backward compatibility bumps the minor (and resets the patch) -* Bug fixes and misc changes bumps the patch - -For more information on SemVer, please visit http://semver.org. - -##Author -- Email: dave@fontawesome.io -- Twitter: http://twitter.com/davegandy -- GitHub: https://github.com/davegandy - -##Component -To include as a [component](http://github.com/component/component), just run - - $ component install FortAwesome/Font-Awesome - -Or add - - "FortAwesome/Font-Awesome": "*" - -to the `dependencies` in your `component.json`. - -## Hacking on Font Awesome - -From the root of the repository, install the tools used to develop. - - $ bundle install - $ npm install - -Build the project and documentation: - - $ bundle exec jekyll build - -Or serve it on a local server on http://localhost:7998/Font-Awesome/: - - $ bundle exec jekyll -w serve diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Glyphicons Halflings,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Glyphicons Halflings,MIT License.txt deleted file mode 100644 index 8d94aa9ac9f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Glyphicons Halflings,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2011-2014 Twitter, Inc - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/OpenSans,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/OpenSans,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/OpenSans,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Patternfly,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Patternfly,MIT License.txt deleted file mode 100644 index 8d9091a9e25..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Patternfly,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Red Hat, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/RCUE,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/RCUE,Apache Software License 2.0.txt deleted file mode 100644 index cc698cdf497..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/RCUE,Apache Software License 2.0.txt +++ /dev/null @@ -1,205 +0,0 @@ -Modifications to Bootstrap are copyright 2013 Red Hat, Inc. and licensed -under the Apache License 2.0. - - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Select2,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Select2,Apache Software License 2.0.txt deleted file mode 100644 index 3c98f3df42a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Select2,Apache Software License 2.0.txt +++ /dev/null @@ -1,18 +0,0 @@ -Copyright 2012 Igor Vaynberg - -Version: @@ver@@ Timestamp: @@timestamp@@ - -This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU -General Public License version 2 (the "GPL License"). You may choose either license to govern your -use of this software only upon the condition that you accept all of the terms of either the Apache -License or the GPL License. - -You may obtain a copy of the Apache License and the GPL License at: - -http://www.apache.org/licenses/LICENSE-2.0 -http://www.gnu.org/licenses/gpl-2.0.html - -Unless required by applicable law or agreed to in writing, software distributed under the Apache License -or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -either express or implied. See the Apache License and the GPL License for the specific language governing -permissions and limitations under the Apache License and the GPL License. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Select2,GNU General Public License v2.0 only.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Select2,GNU General Public License v2.0 only.txt deleted file mode 100644 index 3c98f3df42a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/Select2,GNU General Public License v2.0 only.txt +++ /dev/null @@ -1,18 +0,0 @@ -Copyright 2012 Igor Vaynberg - -Version: @@ver@@ Timestamp: @@timestamp@@ - -This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU -General Public License version 2 (the "GPL License"). You may choose either license to govern your -use of this software only upon the condition that you accept all of the terms of either the Apache -License or the GPL License. - -You may obtain a copy of the Apache License and the GPL License at: - -http://www.apache.org/licenses/LICENSE-2.0 -http://www.gnu.org/licenses/gpl-2.0.html - -Unless required by applicable law or agreed to in writing, software distributed under the Apache License -or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -either express or implied. See the Apache License and the GPL License for the specific language governing -permissions and limitations under the Apache License and the GPL License. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/UI.Ace,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/UI.Ace,MIT License.txt deleted file mode 100644 index dfc5e0ca17c..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/UI.Ace,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2012 the AngularUI Team, http://angular-ui.github.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-file-upload,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-file-upload,MIT License.txt deleted file mode 100644 index 7ebd53ccf41..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-file-upload,MIT License.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 danialfarid - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-translate,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-translate,MIT License.txt deleted file mode 100644 index d4d931c2954..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-translate,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013-2017 The angular-translate team and Pascal Precht - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-ui-bootstrap,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-ui-bootstrap,MIT License.txt deleted file mode 100644 index 7c4ffa8431b..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/angular-ui-bootstrap,MIT License.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2012-2014 the AngularUI Team, https://github.com/organizations/angular-ui/teams/291112 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/attr-accept,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/attr-accept,MIT.txt deleted file mode 100644 index 067aa110ec1..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/attr-accept,MIT.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Andrey Okonetchnikov - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/change-case,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/change-case,MIT.txt deleted file mode 100644 index 983fbe8aec3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/change-case,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.fasterxml.jackson.dataformat,jackson-dataformat-cbor,2.12.1.redhat-00002,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.fasterxml.jackson.dataformat,jackson-dataformat-cbor,2.12.1.redhat-00002,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.fasterxml.jackson.dataformat,jackson-dataformat-cbor,2.12.1.redhat-00002,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.github.ua-parser,uap-java,1.4.3.redhat-00003,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.github.ua-parser,uap-java,1.4.3.redhat-00003,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.github.ua-parser,uap-java,1.4.3.redhat-00003,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.google.zxing,core,3.4.0.redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.google.zxing,core,3.4.0.redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index 510991edab0..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.google.zxing,core,3.4.0.redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,245 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - -======================================================================== -jai-imageio -======================================================================== - -Copyright (c) 2005 Sun Microsystems, Inc. -Copyright © 2010-2014 University of Manchester -Copyright © 2010-2015 Stian Soiland-Reyes -Copyright © 2015 Peter Hull -All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistribution of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -- Redistribution in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -Neither the name of Sun Microsystems, Inc. or the names of -contributors may be used to endorse or promote products derived -from this software without specific prior written permission. - -This software is provided "AS IS," without a warranty of any -kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND -WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY -EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL -NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF -USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS -DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR -ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, -CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND -REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR -INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - -You acknowledge that this software is not designed or intended for -use in the design, construction, operation or maintenance of any -nuclear facility. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.google.zxing,javase,3.4.0.redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.google.zxing,javase,3.4.0.redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index 510991edab0..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.google.zxing,javase,3.4.0.redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,245 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - -======================================================================== -jai-imageio -======================================================================== - -Copyright (c) 2005 Sun Microsystems, Inc. -Copyright © 2010-2014 University of Manchester -Copyright © 2010-2015 Stian Soiland-Reyes -Copyright © 2015 Peter Hull -All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistribution of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -- Redistribution in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -Neither the name of Sun Microsystems, Inc. or the names of -contributors may be used to endorse or promote products derived -from this software without specific prior written permission. - -This software is provided "AS IS," without a warranty of any -kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND -WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY -EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL -NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF -USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS -DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR -ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, -CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND -REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR -INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - -You acknowledge that this software is not designed or intended for -use in the design, construction, operation or maintenance of any -nuclear facility. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.googlecode.owasp-java-html-sanitizer,owasp-java-html-sanitizer,20191001.1.0.redhat-00002,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.googlecode.owasp-java-html-sanitizer,owasp-java-html-sanitizer,20191001.1.0.redhat-00002,Apache Software License 2.0.txt deleted file mode 100644 index 379d6e417da..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.googlecode.owasp-java-html-sanitizer,owasp-java-html-sanitizer,20191001.1.0.redhat-00002,Apache Software License 2.0.txt +++ /dev/null @@ -1,234 +0,0 @@ -You may use under either the Apache License Version 2.0 or the BSD -3-Clause License. - ------------------------------------------------------------------- - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - ------------------------------------------------------------------- - -Copyright (c) 2011, Mike Samuel -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.openshift,openshift-restclient-java,8.0.0.Final-redhat-00001,Eclipse Public License 1.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.openshift,openshift-restclient-java,8.0.0.Final-redhat-00001,Eclipse Public License 1.0.txt deleted file mode 100644 index 2c5408d5645..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.openshift,openshift-restclient-java,8.0.0.Final-redhat-00001,Eclipse Public License 1.0.txt +++ /dev/null @@ -1,10 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Red Hat, Inc. - * Distributed under license by Red Hat, Inc. All rights reserved. - * This program is made available under the terms of the - * Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Red Hat, Inc. - initial API and implementation - ******************************************************************************/ \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.webauthn4j,webauthnj4-core,0.12.0.RELEASE-redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.webauthn4j,webauthnj4-core,0.12.0.RELEASE-redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.webauthn4j,webauthnj4-core,0.12.0.RELEASE-redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.webauthn4j,webauthnj4-util,0.12.0.RELEASE-redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.webauthn4j,webauthnj4-util,0.12.0.RELEASE-redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/com.webauthn4j,webauthnj4-util,0.12.0.RELEASE-redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/commons-lang,commons-lang,2.6.0.redhat-7,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/commons-lang,commons-lang,2.6.0.redhat-7,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/commons-lang,commons-lang,2.6.0.redhat-7,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/commons-lang,commons-lang3,3-3.11.0.redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/commons-lang,commons-lang3,3-3.11.0.redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/commons-lang,commons-lang3,3-3.11.0.redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/file-selector,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/file-selector,MIT.txt deleted file mode 100644 index eda448f49ab..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/file-selector,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020 Roland Groza - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/focus-trap,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/focus-trap,MIT.txt deleted file mode 100644 index 693c454faf5..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/focus-trap,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015-2016 David Clark - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/history,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/history,MIT.txt deleted file mode 100644 index dc15fe3fd49..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/history,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) React Training 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/hoist-non-react-statics,BSD-3-Clause.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/hoist-non-react-statics,BSD-3-Clause.txt deleted file mode 100644 index 2464f59ec1f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/hoist-non-react-statics,BSD-3-Clause.txt +++ /dev/null @@ -1,29 +0,0 @@ -Software License Agreement (BSD License) -======================================== - -Copyright (c) 2015, Yahoo! Inc. All rights reserved. ----------------------------------------------------- - -Redistribution and use of this software in source and binary forms, with or -without modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of Yahoo! Inc. nor the names of YUI's contributors may be - used to endorse or promote products derived from this software without - specific prior written permission of Yahoo! Inc. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/invariant,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/invariant,MIT.txt deleted file mode 100644 index 188fb2b0bd8..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/invariant,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/isarray,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/isarray,MIT.txt deleted file mode 100644 index de3226673c3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/isarray,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013 Julian Gruber - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/jQuery,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/jQuery,MIT License.txt deleted file mode 100644 index e4e5e00ef0a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/jQuery,MIT License.txt +++ /dev/null @@ -1,36 +0,0 @@ -Copyright JS Foundation and other contributors, https://js.foundation/ - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/jquery - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -All files located in the node_modules and external directories are -externally maintained libraries used by this software which have their -own licenses; we recommend you read them, as their terms may differ from -the terms above. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/licenses.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/licenses.xml deleted file mode 100644 index 23bfe041e69..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/licenses.xml +++ /dev/null @@ -1,824 +0,0 @@ - - - - - com.openshift - openshift-restclient-java - 8.0.0.Final-redhat-00001 - - - Eclipse Public License 1.0 - https://raw.githubusercontent.com/openshift/openshift-restclient-java/openshift-restclient-java-8.0.0.Final/license - - - - - com.googlecode.owasp-java-html-sanitizer - owasp-java-html-sanitizer - 20191001.1.0.redhat-00002 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/OWASP/java-html-sanitizer/release-20191001.1/COPYING - - - - - com.google.zxing - core - 3.4.0.redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/zxing/zxing/zxing-3.4.0/LICENSE - - - - - com.google.zxing - javase - 3.4.0.redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/zxing/zxing/zxing-3.4.0/LICENSE - - - - - commons-lang - commons-lang3 - 3-3.11.0.redhat-00001 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - commons-lang - commons-lang - 2.6.0.redhat-7 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - com.github.ua-parser - uap-java - 1.4.3.redhat-00003 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - org.liquibase - liquibase-core - 4.8.0.redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/liquibase/liquibase/v4.8.0/LICENSE.txt - - - - - org.twitter4j - twitter4j-core - 4.0.7.redhat-00002 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/yusuke/twitter4j/4.0.7/LICENSE.txt - - - - - org.freemarker - freemarker - 2.3.31.redhat-00001 - - - Apache Software License 2.0 - https://git-wip-us.apache.org/repos/asf?p=freemarker.git;a=blob_plain;f=LICENSE;hb=v2.3.31 - - - - - org.apache.maven - maven-core - 3.3.9.redhat-2 - - - Apache Software License 2.0 - https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=LICENSE;hb=maven-3.3.9 - - - - - org.apache.maven - maven-plugin-api - 3.3.9.redhat-2 - - - Apache Software License 2.0 - https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=LICENSE;hb=maven-3.3.9 - - - - - com.webauthn4j - webauthnj4-core - 0.12.0.RELEASE-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/webauthn4j/webauthn4j/0.12.0.RELEASE/LICENSE.txt - - - - - com.webauthn4j - webauthnj4-util - 0.12.0.RELEASE-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/webauthn4j/webauthn4j/0.12.0.RELEASE/LICENSE.txt - - - - - org.apache.kerby - kerby-asn1 - 2.0.0.redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/apache/directory-kerby/kerby-all-2.0.0/LICENSE - - - - - org.infinispan - infinispan-jboss-marshalling - 11.0.9.Final-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/infinispan/infinispan/master/LICENSE.md - - - - - org.jboss.marshalling - jboss-marshalling - 2.0.11.Final-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/jboss-remoting/jboss-marshalling/main/LICENSE.txt - - - - - org.jboss.marshalling - jboss-marshalling-river - 2.0.11.Final-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/jboss-remoting/jboss-marshalling/main/LICENSE.txt - - - - - com.fasterxml.jackson.dataformat - jackson-dataformat-cbor - 2.12.1.redhat-00002 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - - - jQuery - - themes/keycloak/common/resources/node_modules/jquery/dist - - - - MIT License - https://raw.githubusercontent.com/jquery/jquery/3.2.1/LICENSE.txt - - - - - AngularJS - - themes/keycloak/common/resources/lib/angular - - - - MIT License - https://raw.githubusercontent.com/angular/angular.js/v1.4.4/LICENSE - - - - - angular-translate - - themes/keycloak/common/resources/node_modules/angular-translate/dist - themes/keycloak/common/resources/node_modules/angular-translate-loader-url - themes/keycloak/common/resources/node_modules/angular-translate/dist/angular-translate-loader-partial - - - - MIT License - https://raw.githubusercontent.com/angular-translate/angular-translate/2.15.1/LICENSE - - - - - ui-select2 - - themes/keycloak/common/resources/node_modules/angular-ui-select2 - - - - MIT License - https://raw.githubusercontent.com/angular-ui/ui-select2/v0.0.5/LICENSE - - - - - angular-ui-bootstrap - - themes/keycloak/common/resources/lib/angular/ui-bootstrap-tpls-0.11.0.js - - - - MIT License - https://raw.githubusercontent.com/angular-ui/bootstrap/0.11.0/LICENSE - - - - - Angular Treeview - - themes/keycloak/common/resources/lib/angular/treeview - - - - MIT License - https://raw.githubusercontent.com/eu81273/angular.treeview/master/LICENSE - - - - - safename - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/safename - - - - MIT License - https://raw.githubusercontent.com/jacoborus/safename/master/LICENSE - - - - - Select2 - - themes/keycloak/common/resources/node_modules/select2 - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/select2/select2/3.4.1/LICENSE - - - GNU General Public License v2.0 only - https://raw.githubusercontent.com/select2/select2/3.4.1/LICENSE - - - - - text-security - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/text-security - - - - MIT License - https://raw.githubusercontent.com/noppa/text-security/master/LICENSE.txt - - - - - FileSaver.js - - themes/keycloak/common/resources/lib/filesaver/FileSaver.js - - - - MIT License - https://raw.githubusercontent.com/eligrey/FileSaver.js/1.3.2/LICENSE.md - - - - - angular-file-upload - - themes/keycloak/common/resources/lib/fileupload - - - - MIT License - https://raw.githubusercontent.com/danialfarid/ng-file-upload/1.1.10/LICENSE - - - - - UI.Ace - - themes/keycloak/common/resources/lib/ui-ace/ui-ace.min.js - themes/keycloak/common/resources/lib/ui-ace/ui-ace.js - - - - MIT License - https://raw.githubusercontent.com/angular-ui/ui-ace/src0.2.3/LICENSE - - - - - Ace Code Editor - - themes/keycloak/common/resources/lib/ui-ace - - - - BSD 3-clause New or Revised License - https://raw.githubusercontent.com/ajaxorg/ace-builds/v1.2.3/LICENSE - - - - - Font Awesome (Font) - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/font-awesome/fonts - - - - SIL Open Font License 1.1 - https://raw.githubusercontent.com/FortAwesome/Font-Awesome/v4.3.0/README.md - - - - - RCUE - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/rcue - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/redhat-rcue/rcue/master/LICENSE.txt - - - - - Glyphicons Halflings - - themes/keycloak/common/resources/lib/components/bootstrap/dist/fonts - - - - MIT License - https://raw.githubusercontent.com/twbs/bootstrap/v3.3.1-130-gadd44ca/LICENSE - - - - - Patternfly - - themes/keycloak/common/resources/lib/patternfly - - - - MIT License - https://raw.githubusercontent.com/patternfly/patternfly/v3.59.4/LICENSE.txt - - - - - OpenSans - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.woff2 - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/google/fonts/master/apache/opensans/LICENSE.txt - - - - - rfc4648.js - - services/src/main/resources/theme-resources/resources/base64url.js - - - - MIT License - https://raw.githubusercontent.com/swansontec/rfc4648.js/master/package.json - - - - - @emotion - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/emotion-js/emotion/master/LICENSE - - - - - stylis-rule-sheet - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/thysultan/stylis.js/master/LICENSE - - - - - change-case - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/blakeembrey/change-case/master/LICENSE - - - - - @patternfly - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/patternfly/patternfly-react/master/LICENSE - - - - - tabbable - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/davidtheclark/tabbable/master/LICENSE - - - - - xtend - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/Raynos/xtend/master/LICENSE - - - - - focus-trap - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/davidtheclark/focus-trap/master/LICENSE - - - - - prop-types - - themes/keycloak/common/resources/web_modules/common/index-fd2ed651.js - - - - MIT - https://raw.githubusercontent.com/facebook/prop-types/master/LICENSE - - - - - popper.js - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/FezVrasta/popper.js/master/LICENSE.md - - - - - tippy.js - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/atomiks/tippyjs/master/LICENSE - - - - - tslib - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - Apache-2.0 - https://raw.githubusercontent.com/Microsoft/tslib/master/LICENSE.txt - - - - - file-selector - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/react-dropzone/file-selector/master/LICENSE - - - - - attr-accept - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/okonet/attr-accept/master/LICENSE - - - - - react-dropzone - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/react-dropzone/react-dropzone/master/LICENSE - - - - - @pika-react - - themes/keycloak/common/resources/web_modules/react.js - - - - MIT - https://raw.githubusercontent.com/facebook/react/master/LICENSE - - - - - @pika-react-dom - - themes/keycloak/common/resources/web_modules/react-dom.js - - - - MIT - https://raw.githubusercontent.com/facebook/react/master/LICENSE - - - - - warning - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://github.com/BerkeleyTrue/warning/raw/master/LICENSE.md - - - - - invariant - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/zertosh/invariant/master/LICENSE - - - - - resolve-pathname - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/mjackson/resolve-pathname/master/LICENSE - - - - - value-equal - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/mjackson/value-equal/master/LICENSE - - - - - history - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/history/master/LICENSE - - - - - react-router - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/react-router/master/LICENSE - - - - - react-router-dom - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/react-router/master/LICENSE - - - - - isarray - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/juliangruber/isarray/master/LICENSE - - - - - path-to-regexp - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/pillarjs/path-to-regexp/master/LICENSE - - - - - hoist-non-react-statics - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - BSD-3-Clause - https://raw.githubusercontent.com/mridgway/hoist-non-react-statics/master/LICENSE.md - - - - - object-assign - - themes/keycloak/common/resources/web_modules/common/index-fd2ed651.js - - - - MIT - https://raw.githubusercontent.com/sindresorhus/object-assign/master/license - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/object-assign,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/object-assign,MIT.txt deleted file mode 100644 index 654d0bfe943..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/object-assign,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.kerby,kerby-asn1,2.0.0.redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.kerby,kerby-asn1,2.0.0.redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index e06d2081865..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.kerby,kerby-asn1,2.0.0.redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.maven,maven-core,3.3.9.redhat-2,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.maven,maven-core,3.3.9.redhat-2,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.maven,maven-core,3.3.9.redhat-2,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.maven,maven-plugin-api,3.3.9.redhat-2,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.maven,maven-plugin-api,3.3.9.redhat-2,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.apache.maven,maven-plugin-api,3.3.9.redhat-2,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.freemarker,freemarker,2.3.31.redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.freemarker,freemarker,2.3.31.redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index 1121ebaa2a2..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.freemarker,freemarker,2.3.31.redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,223 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - -========================================================================= - -The source code contains the following binaries, -which were created at the Apache FreeMarker project, and hence are -covered by the same license as the other source files of it: - - src/main/misc/overloadedNumberRules/prices.ods - src/manual/en_US/docgen-originals/figures/overview.odg - src/manual/en_US/docgen-originals/figures/model2sketch_with_alpha.png - src/manual/en_US/docgen-originals/figures/tree_with_alpha.png - src/manual/en_US/favicon.png - src/manual/en_US/figures/model2sketch.png - src/manual/en_US/figures/overview.png - src/manual/en_US/figures/tree.png - src/manual/en_US/logo.png - src/manual/zh_CN/favicon.png - src/manual/zh_CN/figures/model2sketch.png - src/manual/zh_CN/figures/overview.png - src/manual/zh_CN/figures/tree.png - src/manual/zh_CN/logo.png diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.infinispan,infinispan-jboss-marshalling,11.0.9.Final-redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.infinispan,infinispan-jboss-marshalling,11.0.9.Final-redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index 200361e46be..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.infinispan,infinispan-jboss-marshalling,11.0.9.Final-redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,191 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - Copyright Red Hat Inc. and/or its affiliates. - - 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 - - https://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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.jboss.marshalling,jboss-marshalling,2.0.11.Final-redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.jboss.marshalling,jboss-marshalling,2.0.11.Final-redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.jboss.marshalling,jboss-marshalling,2.0.11.Final-redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.jboss.marshalling,jboss-marshalling-river,2.0.11.Final-redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.jboss.marshalling,jboss-marshalling-river,2.0.11.Final-redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.jboss.marshalling,jboss-marshalling-river,2.0.11.Final-redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.liquibase,liquibase-core,4.8.0.redhat-00001,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.liquibase,liquibase-core,4.8.0.redhat-00001,Apache Software License 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.liquibase,liquibase-core,4.8.0.redhat-00001,Apache Software License 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.twitter4j,twitter4j-core,4.0.7.redhat-00002,Apache Software License 2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.twitter4j,twitter4j-core,4.0.7.redhat-00002,Apache Software License 2.0.txt deleted file mode 100644 index f0751f2fd61..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/org.twitter4j,twitter4j-core,4.0.7.redhat-00002,Apache Software License 2.0.txt +++ /dev/null @@ -1,177 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/path-to-regexp,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/path-to-regexp,MIT.txt deleted file mode 100644 index 983fbe8aec3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/path-to-regexp,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/popper.js,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/popper.js,MIT.txt deleted file mode 100644 index 0370c4581eb..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/popper.js,MIT.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019 Federico Zivolo - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/prop-types,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/prop-types,MIT.txt deleted file mode 100644 index 188fb2b0bd8..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/prop-types,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-dropzone,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-dropzone,MIT.txt deleted file mode 100644 index 3f894344e92..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-dropzone,MIT.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 Param Aggarwal - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-router,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-router,MIT.txt deleted file mode 100644 index dc15fe3fd49..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-router,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) React Training 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-router-dom,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-router-dom,MIT.txt deleted file mode 100644 index dc15fe3fd49..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/react-router-dom,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) React Training 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/resolve-pathname,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/resolve-pathname,MIT.txt deleted file mode 100644 index 54ff40f6e24..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/resolve-pathname,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Michael Jackson 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/rfc4648.js,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/rfc4648.js,MIT License.txt deleted file mode 100644 index 4705b4512dc..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/rfc4648.js,MIT License.txt +++ /dev/null @@ -1,83 +0,0 @@ -{ - "name": "rfc4648", - "version": "1.5.0", - "description": "Encoding and decoding for base64, base32, base16, and friends", - "keywords": [ - "Uint8Array", - "base16", - "base32", - "base32hex", - "base64", - "base64url", - "hex" - ], - "repository": { - "type": "git", - "url": "git@github.com:swansontec/rfc4648.js.git" - }, - "license": "MIT", - "author": "William Swanson", - "exports": { - ".": { - "import": "./lib/index.mjs", - "require": "./lib/index.js" - }, - "./package.json": "./package.json" - }, - "main": "./lib/index.js", - "module": "./lib/rfc4648.js", - "types": "./lib/src/index.d.ts", - "files": [ - "CHANGELOG.md", - "lib/*", - "README.md", - "src/*" - ], - "scripts": { - "clean": "rimraf lib", - "fix": "eslint . --fix", - "lib": "rollup -c", - "lint": "eslint .", - "precommit": "lint-staged && npm-run-all types test", - "prepare": "npm-run-all clean -p lib types", - "test": "nyc mocha 'test/**/*.ts'", - "types": "tsc", - "verify": "npm-run-all lint types test" - }, - "lint-staged": { - "*.{js,ts}": "eslint" - }, - "devDependencies": { - "@babel/core": "^7.14.0", - "@babel/preset-env": "^7.14.1", - "@babel/preset-typescript": "^7.13.0", - "@rollup/plugin-babel": "^5.3.0", - "@rollup/plugin-node-resolve": "^13.0.0", - "@types/chai": "^4.2.18", - "@types/mocha": "^8.2.2", - "@typescript-eslint/eslint-plugin": "^4.8.2", - "@typescript-eslint/parser": "^4.8.2", - "babel-eslint": "^10.1.0", - "chai": "^4.3.4", - "eslint": "^7.14.0", - "eslint-config-standard-kit": "0.15.1", - "eslint-plugin-flowtype": "^5.2.0", - "eslint-plugin-import": "^2.22.1", - "eslint-plugin-prettier": "^3.1.4", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-simple-import-sort": "^6.0.1", - "husky": "^6.0.0", - "lint-staged": "^10.5.3", - "mocha": "^8.4.0", - "npm-run-all": "^4.1.5", - "nyc": "^15.1.0", - "prettier": "^2.2.0", - "rimraf": "^3.0.2", - "rollup": "^2.47.0", - "rollup-plugin-filesize": "^9.1.1", - "rollup-plugin-flow-entry": "^0.3.5", - "rollup-plugin-mjs-entry": "^0.1.1", - "sucrase": "^3.18.1", - "typescript": "^4.1.2" - } -} diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/safename,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/safename,MIT License.txt deleted file mode 100644 index fdda45a0e0c..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/safename,MIT License.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 jacoborus - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/stylis-rule-sheet,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/stylis-rule-sheet,MIT.txt deleted file mode 100644 index f0b1a9a465e..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/stylis-rule-sheet,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2016-present Sultan Tarimo - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tabbable,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tabbable,MIT.txt deleted file mode 100644 index 6d347c0662d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tabbable,MIT.txt +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 David Clark - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/text-security,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/text-security,MIT License.txt deleted file mode 100644 index 857422e9486..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/text-security,MIT License.txt +++ /dev/null @@ -1,93 +0,0 @@ - -This Font Software is licensed under the SIL Open Font License, -Version 1.1. - -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font -creation efforts of academic and linguistic communities, and to -provide a free and open framework in which fonts may be shared and -improved in partnership with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply to -any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software -components as distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, -deleting, or substituting -- in part or in whole -- any of the -components of the Original Version, by changing formats or by porting -the Font Software to a new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, -modify, redistribute, and sell modified and unmodified copies of the -Font Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, in -Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the -corresponding Copyright Holder. This restriction only applies to the -primary font name as presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created using -the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tippy.js,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tippy.js,MIT.txt deleted file mode 100644 index 93cdcb652db..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tippy.js,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017-present atomiks - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tslib,Apache-2.0.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tslib,Apache-2.0.txt deleted file mode 100644 index fa7d1bdf94d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/tslib,Apache-2.0.txt +++ /dev/null @@ -1,12 +0,0 @@ -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/ui-select2,MIT License.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/ui-select2,MIT License.txt deleted file mode 100644 index dfc5e0ca17c..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/ui-select2,MIT License.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2012 the AngularUI Team, http://angular-ui.github.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/value-equal,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/value-equal,MIT.txt deleted file mode 100644 index 54ff40f6e24..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/value-equal,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Michael Jackson 2016-2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/warning,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/warning,MIT.txt deleted file mode 100644 index 188fb2b0bd8..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/warning,MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/xtend,MIT.txt b/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/xtend,MIT.txt deleted file mode 100644 index 0099f4f6c77..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/licenses/rh-sso/xtend,MIT.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) -Copyright (c) 2012-2014 Raynos. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/main/module.xml deleted file mode 100644 index 26b0c3bfd1f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/main/module.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/github/ua-parser/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/github/ua-parser/main/module.xml deleted file mode 100644 index 1cc14b728c3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/github/ua-parser/main/module.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/core/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/core/main/module.xml deleted file mode 100644 index 460d1ab4007..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/core/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/javase/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/javase/main/module.xml deleted file mode 100644 index ec43b82343b..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/javase/main/module.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/googlecode/owasp-java-html-sanitizer/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/googlecode/owasp-java-html-sanitizer/main/module.xml deleted file mode 100644 index 4a1bbbe5d7d..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/googlecode/owasp-java-html-sanitizer/main/module.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/openshift/openshift-restclient-java/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/openshift/openshift-restclient-java/main/module.xml deleted file mode 100644 index 7b1ffe138ca..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/openshift/openshift-restclient-java/main/module.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-core/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-core/main/module.xml deleted file mode 100644 index 7588fd24233..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-core/main/module.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-util/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-util/main/module.xml deleted file mode 100644 index 983db6552f8..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-util/main/module.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang/main/module.xml deleted file mode 100644 index 3f80945d518..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang3/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang3/main/module.xml deleted file mode 100644 index 019af8ab157..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang3/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/kerby/kerby-asn1/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/kerby/kerby-asn1/main/module.xml deleted file mode 100644 index e38d6bdc94f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/apache/kerby/kerby-asn1/main/module.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/freemarker/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/freemarker/main/module.xml deleted file mode 100644 index ea4990c5615..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/freemarker/main/module.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/infinispan/jboss-marshalling/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/infinispan/jboss-marshalling/main/module.xml deleted file mode 100644 index ed453387275..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/infinispan/jboss-marshalling/main/module.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/main/module.xml deleted file mode 100644 index eeb46e7003e..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/main/module.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/river/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/river/main/module.xml deleted file mode 100644 index 73f0fe72b26..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/river/main/module.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-authz-policy-common/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-authz-policy-common/main/module.xml deleted file mode 100644 index 96b1b6b6fc3..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-authz-policy-common/main/module.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-common/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-common/main/module.xml deleted file mode 100755 index 899b399e942..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-common/main/module.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-core/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-core/main/module.xml deleted file mode 100755 index 9142ab1c353..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-core/main/module.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-crypto-default/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-crypto-default/main/module.xml deleted file mode 100644 index d9962f6b124..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-crypto-default/main/module.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-js-adapter/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-js-adapter/main/module.xml deleted file mode 100644 index 1b5fb5c6d9c..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-js-adapter/main/module.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-kerberos-federation/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-kerberos-federation/main/module.xml deleted file mode 100755 index 954e2fa04f7..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-kerberos-federation/main/module.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-ldap-federation/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-ldap-federation/main/module.xml deleted file mode 100755 index 443eead9db0..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-ldap-federation/main/module.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-infinispan/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-infinispan/main/module.xml deleted file mode 100755 index 15e67071010..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-infinispan/main/module.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-jpa/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-jpa/main/module.xml deleted file mode 100755 index dec63a67de8..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-jpa/main/module.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-private/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-private/main/module.xml deleted file mode 100755 index 5d1f29b163e..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-private/main/module.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-services/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-services/main/module.xml deleted file mode 100755 index ff949884d8b..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-services/main/module.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy/main/module.xml deleted file mode 100755 index 15b91050c3f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy/main/module.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-map/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-map/main/module.xml deleted file mode 100755 index 41ee706f064..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-map/main/module.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core-public/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core-public/main/module.xml deleted file mode 100755 index 0b888dd1e75..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core-public/main/module.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core/main/module.xml deleted file mode 100755 index 3eef1c5cbf5..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core/main/module.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi-private/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi-private/main/module.xml deleted file mode 100755 index f8f5af1d072..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi-private/main/module.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi/main/module.xml deleted file mode 100755 index 9505d5fafb7..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi/main/module.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/dependencies/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/dependencies/main/module.xml deleted file mode 100755 index 5161617bcf0..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/dependencies/main/module.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/module.xml deleted file mode 100644 index 92b6d10511b..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml deleted file mode 100755 index 79f3aef1e0f..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/web.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/web.xml deleted file mode 100755 index 5b8d4a61db0..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/web.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - auth - - - Keycloak REST Interface - org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher - - javax.ws.rs.Application - org.keycloak.services.resources.KeycloakApplication - - - resteasy.servlet.mapping.prefix - / - - 1 - true - - - - resteasy.disable.html.sanitizer - true - - - - org.keycloak.provider.wildfly.WildflyLifecycleListener - - - - Client Connection Filter - org.keycloak.provider.wildfly.WildFlyRequestFilter - true - - - - Client Connection Filter - /* - - - - Keycloak REST Interface - /* - - - - infinispan/Keycloak - org.infinispan.manager.EmbeddedCacheManager - java:jboss/infinispan/container/keycloak - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-services/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-services/main/module.xml deleted file mode 100755 index 272d65a5b6b..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-services/main/module.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-sssd-federation/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-sssd-federation/main/module.xml deleted file mode 100644 index 4267945ef1b..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-sssd-federation/main/module.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-adduser/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-adduser/main/module.xml deleted file mode 100755 index 88548016561..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-adduser/main/module.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-extensions/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-extensions/main/module.xml deleted file mode 100755 index a1540ddcffb..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-extensions/main/module.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-server-subsystem/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-server-subsystem/main/module.xml deleted file mode 100644 index 8160c417138..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-server-subsystem/main/module.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/liquibase/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/liquibase/main/module.xml deleted file mode 100644 index ff712061f8a..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/liquibase/main/module.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/twitter4j/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/twitter4j/main/module.xml deleted file mode 100644 index 5ecdf979005..00000000000 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/keycloak/org/twitter4j/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/pom.xml b/distribution/galleon-feature-packs/pom.xml deleted file mode 100644 index 84749dcd0c9..00000000000 --- a/distribution/galleon-feature-packs/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - keycloak-distribution-parent - org.keycloak - 999-SNAPSHOT - - - Galleon Feature Pack Builds - - 4.0.0 - - galleon-feature-packs-parent - pom - - - server-galleon-pack - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/assembly.xml b/distribution/galleon-feature-packs/server-galleon-pack/assembly.xml deleted file mode 100644 index a4f8e11c46d..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/assembly.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - galleon-pack-src - - zip - - false - - - src/main/resources - - - - - target/unpacked-themes/theme - content/themes - - - target/keycloak-client-tools/bin - content/bin - - - src/main/resources/identity/module - - **/** - - modules/system/layers/keycloak/org/jboss/as/product/${product.slot} - true - - - src/main/resources/identity - - product.conf - - content/bin - true - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/keycloak-server-galleon-pack-build.xml b/distribution/galleon-feature-packs/server-galleon-pack/keycloak-server-galleon-pack-build.xml deleted file mode 100644 index a8fb68e29e0..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/keycloak-server-galleon-pack-build.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - org.wildfly:wildfly-ee-galleon-pack - - - - - - - - - - org.wildfly:wildfly-galleon-pack - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.keycloak.keycloak-server-subsystem - - - org.keycloak.keycloak-server-subsystem - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/pom.xml b/distribution/galleon-feature-packs/server-galleon-pack/pom.xml deleted file mode 100644 index e3decb7f908..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/pom.xml +++ /dev/null @@ -1,518 +0,0 @@ - - - - - 4.0.0 - - - org.keycloak - galleon-feature-packs-parent - 999-SNAPSHOT - - - org.keycloak - keycloak-server-galleon-pack - - Keycloak Galleon Feature Pack: Server - pom - - - ${project.build.directory}/resources/content/docs/licenses - - - - - - - org.wildfly.core - wildfly-core-feature-pack-common - pom - provided - - - - org.wildfly.core - wildfly-core-feature-pack-ee-8-api - pom - provided - - - - org.wildfly.core - wildfly-core-feature-pack-galleon-common - pom - provided - - - - org.wildfly.core - wildfly-core-galleon-pack - pom - provided - - - - ${ee.maven.groupId} - wildfly-servlet-feature-pack-common - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-servlet-feature-pack-ee-8-api - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-servlet-feature-pack-galleon-common - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-servlet-feature-pack-galleon-legacy - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-ee-feature-pack-common - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-ee-feature-pack-ee-8-api - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-ee-feature-pack-galleon-common - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-ee-feature-pack-galleon-content - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-ee-feature-pack-pruned - ${ee.maven.version} - pom - provided - - - - ${ee.maven.groupId} - wildfly-ee-galleon-pack - ${ee.maven.version} - zip - - - - ${ee.maven.groupId} - wildfly-servlet-galleon-pack - ${ee.maven.version} - zip - - - - org.wildfly.galleon-plugins - wildfly-galleon-plugins - provided - - - - org.wildfly.galleon-plugins - wildfly-config-gen - provided - - - - org.keycloak - keycloak-server-feature-pack - ${project.version} - pom - provided - - - * - * - - - - - - - org.keycloak - keycloak-server-feature-pack-dependencies - ${project.version} - pom - provided - - - - org.keycloak - keycloak-client-registration-cli - provided - - - - org.keycloak - keycloak-admin-cli - provided - - - - - - - - - maven-clean-plugin - - - auto-clean - initialize - - clean - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - copy-resources - process-resources - - copy-resources - - - ${basedir}/target/resources - - - ${basedir}/src/main/resources - - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-theme - process-resources - - unpack - - - - - org.keycloak - keycloak-themes - target/resources/packages/themes/content/themes - theme/*/** - - - ^\Qtheme/\E - ./ - - - - - - - - unpack-cli - process-resources - - unpack - - - - - org.keycloak - keycloak-client-cli-dist - zip - */** - - - ^\Qkeycloak-client-tools/\E - ./ - - - target/resources/packages/client-cli/content - - - - - - - - - - org.wildfly.galleon-plugins - wildfly-galleon-maven-plugin - - - keycloak-server-galleon-pack-build - - build-feature-pack - - prepare-package - - Keycloak - ${galleon.fork.embedded} - ${product.slot}-server-galleon-pack-build.xml - - ${product.name} - ${product.name.full} - ${product.slot} - ${product.wildfly.console.slot} - ${project.version} - ${product.rhsso.version} - ${project.basedir} - - - - - - - - - - - community - - - !product - - - - - - org.wildfly - wildfly-galleon-pack - zip - - - * - * - - - - - - - - product - - - product - - - - - - ${ee.maven.groupId} - wildfly-ee-galleon-pack - ${ee.maven.version} - zip - - - * - * - - - - - - - - enforce - - - !skip-enforce - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - ban-transitive-deps - - enforce - - - - - - - com.sun:tools - sun.jdk:jconsole - - org.wildfly.core:wildfly-core-feature-pack-common - org.wildfly.core:wildfly-core-feature-pack-ee-8-api - org.wildfly.core:wildfly-core-feature-pack-galleon-common - ${ee.maven.groupId}:wildfly-servlet-feature-pack-common - ${ee.maven.groupId}:wildfly-servlet-feature-pack-ee-8-api - ${ee.maven.groupId}:wildfly-servlet-feature-pack-galleon-legacy - ${ee.maven.groupId}:wildfly-ee-feature-pack-common - ${ee.maven.groupId}:wildfly-ee-feature-pack-ee-8-api - ${ee.maven.groupId}:wildfly-ee-feature-pack-pruned - ${ee.maven.groupId}:wildfly-ee-feature-pack-galleon-content - - org.keycloak:keycloak-server-feature-pack-dependencies - org.keycloak:keycloak-client-registration-cli - org.keycloak:keycloak-admin-cli - - - - - - - - - - - - - enforce-product - - - enforce-product - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - org.jboss.maven.plugins.enforcer.rules - version-enforcer-rule - 1.0.0 - - - - - ban-non-product-deps - - enforce - - - - - ^((?!redhat).)*$ - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/rh-sso-server-galleon-pack-build.xml b/distribution/galleon-feature-packs/server-galleon-pack/rh-sso-server-galleon-pack-build.xml deleted file mode 100644 index a44af3cb1f6..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/rh-sso-server-galleon-pack-build.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - org.wildfly:wildfly-ee-galleon-pack - - - - - - - - - - org.wildfly:wildfly-ee-galleon-pack - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.keycloak.keycloak-server-subsystem - - - org.keycloak.keycloak-server-subsystem - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/license/keycloak-server-galleon-pack-licenses.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/license/keycloak-server-galleon-pack-licenses.xml deleted file mode 100644 index 359ab6a5a1f..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/license/keycloak-server-galleon-pack-licenses.xml +++ /dev/null @@ -1,861 +0,0 @@ - - - - - - com.openshift - openshift-restclient-java - 8.0.0.Final - - - Eclipse Public License 1.0 - https://raw.githubusercontent.com/openshift/openshift-restclient-java/openshift-restclient-java-8.0.0.Final/license - - - - - com.googlecode.owasp-java-html-sanitizer - owasp-java-html-sanitizer - 20191001.1 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/OWASP/java-html-sanitizer/release-20191001.1/COPYING - - - - - com.google.zxing - core - 3.4.0 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/zxing/zxing/zxing-3.4.0/LICENSE - - - - - com.google.zxing - javase - 3.4.0 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/zxing/zxing/zxing-3.4.0/LICENSE - - - - - commons-lang - commons-lang3 - 3-3.11 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - commons-lang - commons-lang - 2.6 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - com.github.ua-parser - uap-java - 1.4.3 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - org.liquibase - liquibase-core - 4.8.0 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/liquibase/liquibase/v4.8.0/LICENSE.txt - - - - - org.twitter4j - twitter4j-core - 4.0.7 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/yusuke/twitter4j/4.0.7/LICENSE.txt - - - - - org.freemarker - freemarker - 2.3.31 - - - Apache Software License 2.0 - https://git-wip-us.apache.org/repos/asf?p=freemarker.git;a=blob_plain;f=LICENSE;hb=v2.3.31 - - - - - org.apache.maven - maven-core - 3.3.9 - - - Apache Software License 2.0 - https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=LICENSE;hb=maven-3.3.9 - - - - - org.apache.maven - maven-plugin-api - 3.3.9 - - - Apache Software License 2.0 - https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=LICENSE;hb=maven-3.3.9 - - - - - com.webauthn4j - webauthnj4-core - 0.20.0.RELEASE - - - Apache Software License 2.0 - https://raw.githubusercontent.com/webauthn4j/webauthn4j/0.20.0.RELEASE/LICENSE.txt - - - - - com.webauthn4j - webauthnj4-util - 0.20.0.RELEASE - - - Apache Software License 2.0 - https://raw.githubusercontent.com/webauthn4j/webauthn4j/0.20.0.RELEASE/LICENSE.txt - - - - - org.apache.kerby - kerby-asn1 - 2.0.0 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/apache/directory-kerby/kerby-all-2.0.0/LICENSE - - - - - org.infinispan - infinispan-jboss-marshalling - 11.0.9.Final - - - Apache Software License 2.0 - https://raw.githubusercontent.com/infinispan/infinispan/master/LICENSE.md - - - - - org.jboss.marshalling - jboss-marshalling - 2.0.11.Final - - - Apache Software License 2.0 - https://raw.githubusercontent.com/jboss-remoting/jboss-marshalling/main/LICENSE.txt - - - - - org.jboss.marshalling - jboss-marshalling-river - 2.0.11.Final - - - Apache Software License 2.0 - https://raw.githubusercontent.com/jboss-remoting/jboss-marshalling/main/LICENSE.txt - - - - - com.fasterxml.jackson.dataformat - jackson-dataformat-cbor - 2.12.1 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - com.fasterxml.jackson.core - jackson-databind - 2.13.2 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - com.fasterxml.jackson.core - jackson-core - 2.13.2 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - - - jQuery - - themes/keycloak/common/resources/node_modules/jquery/dist - - - - MIT License - https://raw.githubusercontent.com/jquery/jquery/3.2.1/LICENSE.txt - - - - - AngularJS - - themes/keycloak/common/resources/lib/angular - - - - MIT License - https://raw.githubusercontent.com/angular/angular.js/v1.4.4/LICENSE - - - - - angular-translate - - themes/keycloak/common/resources/node_modules/angular-translate/dist - themes/keycloak/common/resources/node_modules/angular-translate-loader-url - themes/keycloak/common/resources/node_modules/angular-translate/dist/angular-translate-loader-partial - - - - MIT License - https://raw.githubusercontent.com/angular-translate/angular-translate/2.15.1/LICENSE - - - - - ui-select2 - - themes/keycloak/common/resources/node_modules/angular-ui-select2 - - - - MIT License - https://raw.githubusercontent.com/angular-ui/ui-select2/v0.0.5/LICENSE - - - - - angular-ui-bootstrap - - themes/keycloak/common/resources/lib/angular/ui-bootstrap-tpls-0.11.0.js - - - - MIT License - https://raw.githubusercontent.com/angular-ui/bootstrap/0.11.0/LICENSE - - - - - Angular Treeview - - themes/keycloak/common/resources/lib/angular/treeview - - - - MIT License - https://raw.githubusercontent.com/eu81273/angular.treeview/master/LICENSE - - - - - safename - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/safename - - - - MIT License - https://raw.githubusercontent.com/jacoborus/safename/master/LICENSE - - - - - Select2 - - themes/keycloak/common/resources/node_modules/select2 - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/select2/select2/3.4.1/LICENSE - - - GNU General Public License v2.0 only - https://raw.githubusercontent.com/select2/select2/3.4.1/LICENSE - - - - - text-security - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/text-security - - - - MIT License - https://raw.githubusercontent.com/noppa/text-security/master/LICENSE.txt - - - - - FileSaver.js - - themes/keycloak/common/resources/lib/filesaver/FileSaver.js - - - - MIT License - https://raw.githubusercontent.com/eligrey/FileSaver.js/1.3.2/LICENSE.md - - - - - angular-file-upload - - themes/keycloak/common/resources/lib/fileupload - - - - MIT License - https://raw.githubusercontent.com/danialfarid/ng-file-upload/1.1.10/LICENSE - - - - - UI.Ace - - themes/keycloak/common/resources/lib/ui-ace/ui-ace.min.js - themes/keycloak/common/resources/lib/ui-ace/ui-ace.js - - - - MIT License - https://raw.githubusercontent.com/angular-ui/ui-ace/src0.2.3/LICENSE - - - - - Ace Code Editor - - themes/keycloak/common/resources/lib/ui-ace - - - - BSD 3-clause New or Revised License - https://raw.githubusercontent.com/ajaxorg/ace-builds/v1.2.3/LICENSE - - - - - Font Awesome (Font) - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/font-awesome/fonts - - - - SIL Open Font License 1.1 - https://raw.githubusercontent.com/FortAwesome/Font-Awesome/v4.3.0/README.md - - - - - RCUE - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/rcue - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/redhat-rcue/rcue/master/LICENSE.txt - - - - - Glyphicons Halflings - - themes/keycloak/common/resources/lib/components/bootstrap/dist/fonts - - - - MIT License - https://raw.githubusercontent.com/twbs/bootstrap/v3.3.1-130-gadd44ca/LICENSE - - - - - Patternfly - - themes/keycloak/common/resources/lib/patternfly - - - - MIT License - https://raw.githubusercontent.com/patternfly/patternfly/v3.59.4/LICENSE.txt - - - - - OpenSans - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.woff2 - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/google/fonts/master/apache/opensans/LICENSE.txt - - - - - rfc4648.js - - services/src/main/resources/theme-resources/resources/base64url.js - - - - MIT License - https://raw.githubusercontent.com/swansontec/rfc4648.js/master/package.json - - - - - @emotion - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/emotion-js/emotion/master/LICENSE - - - - - stylis-rule-sheet - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/thysultan/stylis.js/master/LICENSE - - - - - change-case - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/blakeembrey/change-case/master/LICENSE - - - - - @patternfly - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/patternfly/patternfly-react/master/LICENSE - - - - - tabbable - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/davidtheclark/tabbable/master/LICENSE - - - - - xtend - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/Raynos/xtend/master/LICENSE - - - - - focus-trap - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/davidtheclark/focus-trap/master/LICENSE - - - - - prop-types - - themes/keycloak/common/resources/web_modules/common/index-fd2ed651.js - - - - MIT - https://raw.githubusercontent.com/facebook/prop-types/master/LICENSE - - - - - popper.js - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/FezVrasta/popper.js/master/LICENSE.md - - - - - tippy.js - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/atomiks/tippyjs/master/LICENSE - - - - - tslib - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - Apache-2.0 - https://raw.githubusercontent.com/Microsoft/tslib/master/LICENSE.txt - - - - - file-selector - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/react-dropzone/file-selector/master/LICENSE - - - - - attr-accept - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/okonet/attr-accept/master/LICENSE - - - - - react-dropzone - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/react-dropzone/react-dropzone/master/LICENSE - - - - - @pika-react - - themes/keycloak/common/resources/web_modules/react.js - - - - MIT - https://raw.githubusercontent.com/facebook/react/master/LICENSE - - - - - @pika-react-dom - - themes/keycloak/common/resources/web_modules/react-dom.js - - - - MIT - https://raw.githubusercontent.com/facebook/react/master/LICENSE - - - - - warning - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://github.com/BerkeleyTrue/warning/raw/master/LICENSE.md - - - - - invariant - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/zertosh/invariant/master/LICENSE - - - - - resolve-pathname - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/mjackson/resolve-pathname/master/LICENSE - - - - - value-equal - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/mjackson/value-equal/master/LICENSE - - - - - history - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/history/master/LICENSE - - - - - react-router - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/react-router/master/LICENSE - - - - - react-router-dom - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/react-router/master/LICENSE - - - - - isarray - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/juliangruber/isarray/master/LICENSE - - - - - path-to-regexp - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/pillarjs/path-to-regexp/master/LICENSE - - - - - hoist-non-react-statics - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - BSD-3-Clause - https://raw.githubusercontent.com/mridgway/hoist-non-react-statics/master/LICENSE.md - - - - - object-assign - - themes/keycloak/common/resources/web_modules/common/index-fd2ed651.js - - - - MIT - https://raw.githubusercontent.com/sindresorhus/object-assign/master/license - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/license/rh-sso-server-galleon-pack-licenses.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/license/rh-sso-server-galleon-pack-licenses.xml deleted file mode 100644 index 7f22aa0f3e6..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/license/rh-sso-server-galleon-pack-licenses.xml +++ /dev/null @@ -1,824 +0,0 @@ - - - - - com.openshift - openshift-restclient-java - 8.0.0.Final-redhat-00001 - - - Eclipse Public License 1.0 - https://raw.githubusercontent.com/openshift/openshift-restclient-java/openshift-restclient-java-8.0.0.Final/license - - - - - com.googlecode.owasp-java-html-sanitizer - owasp-java-html-sanitizer - 20191001.1.0.redhat-00002 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/OWASP/java-html-sanitizer/release-20191001.1/COPYING - - - - - com.google.zxing - core - 3.4.0.redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/zxing/zxing/zxing-3.4.0/LICENSE - - - - - com.google.zxing - javase - 3.4.0.redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/zxing/zxing/zxing-3.4.0/LICENSE - - - - - commons-lang - commons-lang3 - 3-3.11.0.redhat-00001 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - commons-lang - commons-lang - 2.6.0.redhat-7 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - com.github.ua-parser - uap-java - 1.4.3.redhat-00003 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - org.liquibase - liquibase-core - 4.8.0.redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/liquibase/liquibase/v4.8.0/LICENSE.txt - - - - - org.twitter4j - twitter4j-core - 4.0.7.redhat-00002 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/yusuke/twitter4j/4.0.7/LICENSE.txt - - - - - org.freemarker - freemarker - 2.3.31.redhat-00001 - - - Apache Software License 2.0 - https://git-wip-us.apache.org/repos/asf?p=freemarker.git;a=blob_plain;f=LICENSE;hb=v2.3.31 - - - - - org.apache.maven - maven-core - 3.3.9.redhat-2 - - - Apache Software License 2.0 - https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=LICENSE;hb=maven-3.3.9 - - - - - org.apache.maven - maven-plugin-api - 3.3.9.redhat-2 - - - Apache Software License 2.0 - https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=LICENSE;hb=maven-3.3.9 - - - - - com.webauthn4j - webauthnj4-core - 0.12.0.RELEASE-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/webauthn4j/webauthn4j/0.12.0.RELEASE/LICENSE.txt - - - - - com.webauthn4j - webauthnj4-util - 0.12.0.RELEASE-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/webauthn4j/webauthn4j/0.12.0.RELEASE/LICENSE.txt - - - - - org.apache.kerby - kerby-asn1 - 2.0.0.redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/apache/directory-kerby/kerby-all-2.0.0/LICENSE - - - - - org.infinispan - infinispan-jboss-marshalling - 11.0.9.Final-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/infinispan/infinispan/master/LICENSE.md - - - - - org.jboss.marshalling - jboss-marshalling - 2.0.11.Final-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/jboss-remoting/jboss-marshalling/main/LICENSE.txt - - - - - org.jboss.marshalling - jboss-marshalling-river - 2.0.11.Final-redhat-00001 - - - Apache Software License 2.0 - https://raw.githubusercontent.com/jboss-remoting/jboss-marshalling/main/LICENSE.txt - - - - - com.fasterxml.jackson.dataformat - jackson-dataformat-cbor - 2.12.1.redhat-00002 - - - Apache Software License 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - - - jQuery - - themes/keycloak/common/resources/node_modules/jquery/dist - - - - MIT License - https://raw.githubusercontent.com/jquery/jquery/3.2.1/LICENSE.txt - - - - - AngularJS - - themes/keycloak/common/resources/lib/angular - - - - MIT License - https://raw.githubusercontent.com/angular/angular.js/v1.4.4/LICENSE - - - - - angular-translate - - themes/keycloak/common/resources/node_modules/angular-translate/dist - themes/keycloak/common/resources/node_modules/angular-translate-loader-url - themes/keycloak/common/resources/node_modules/angular-translate/dist/angular-translate-loader-partial - - - - MIT License - https://raw.githubusercontent.com/angular-translate/angular-translate/2.15.1/LICENSE - - - - - ui-select2 - - themes/keycloak/common/resources/node_modules/angular-ui-select2 - - - - MIT License - https://raw.githubusercontent.com/angular-ui/ui-select2/v0.0.5/LICENSE - - - - - angular-ui-bootstrap - - themes/keycloak/common/resources/lib/angular/ui-bootstrap-tpls-0.11.0.js - - - - MIT License - https://raw.githubusercontent.com/angular-ui/bootstrap/0.11.0/LICENSE - - - - - Angular Treeview - - themes/keycloak/common/resources/lib/angular/treeview - - - - MIT License - https://raw.githubusercontent.com/eu81273/angular.treeview/master/LICENSE - - - - - safename - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/safename - - - - MIT License - https://raw.githubusercontent.com/jacoborus/safename/master/LICENSE - - - - - Select2 - - themes/keycloak/common/resources/node_modules/select2 - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/select2/select2/3.4.1/LICENSE - - - GNU General Public License v2.0 only - https://raw.githubusercontent.com/select2/select2/3.4.1/LICENSE - - - - - text-security - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/text-security - - - - MIT License - https://raw.githubusercontent.com/noppa/text-security/master/LICENSE.txt - - - - - FileSaver.js - - themes/keycloak/common/resources/lib/filesaver/FileSaver.js - - - - MIT License - https://raw.githubusercontent.com/eligrey/FileSaver.js/1.3.2/LICENSE.md - - - - - angular-file-upload - - themes/keycloak/common/resources/lib/fileupload - - - - MIT License - https://raw.githubusercontent.com/danialfarid/ng-file-upload/1.1.10/LICENSE - - - - - UI.Ace - - themes/keycloak/common/resources/lib/ui-ace/ui-ace.min.js - themes/keycloak/common/resources/lib/ui-ace/ui-ace.js - - - - MIT License - https://raw.githubusercontent.com/angular-ui/ui-ace/src0.2.3/LICENSE - - - - - Ace Code Editor - - themes/keycloak/common/resources/lib/ui-ace - - - - BSD 3-clause New or Revised License - https://raw.githubusercontent.com/ajaxorg/ace-builds/v1.2.3/LICENSE - - - - - Font Awesome (Font) - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/font-awesome/fonts - - - - SIL Open Font License 1.1 - https://raw.githubusercontent.com/FortAwesome/Font-Awesome/v4.3.0/README.md - - - - - RCUE - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/rcue - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/redhat-rcue/rcue/master/LICENSE.txt - - - - - Glyphicons Halflings - - themes/keycloak/common/resources/lib/components/bootstrap/dist/fonts - - - - MIT License - https://raw.githubusercontent.com/twbs/bootstrap/v3.3.1-130-gadd44ca/LICENSE - - - - - Patternfly - - themes/keycloak/common/resources/lib/patternfly - - - - MIT License - https://raw.githubusercontent.com/patternfly/patternfly/v3.59.4/LICENSE.txt - - - - - OpenSans - - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Italic-webfont.woff - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.ttf - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.eot - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.svg - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff2 - themes/src/main/resources/theme/keycloak/common/resources/node_modules/patternfly/dist/fonts/OpenSans-Bold-webfont.woff2 - - - - Apache Software License 2.0 - https://raw.githubusercontent.com/google/fonts/master/apache/opensans/LICENSE.txt - - - - - rfc4648.js - - services/src/main/resources/theme-resources/resources/base64url.js - - - - MIT License - https://raw.githubusercontent.com/swansontec/rfc4648.js/master/package.json - - - - - @emotion - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/emotion-js/emotion/master/LICENSE - - - - - stylis-rule-sheet - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/thysultan/stylis.js/master/LICENSE - - - - - change-case - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/blakeembrey/change-case/master/LICENSE - - - - - @patternfly - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/patternfly/patternfly-react/master/LICENSE - - - - - tabbable - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/davidtheclark/tabbable/master/LICENSE - - - - - xtend - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/Raynos/xtend/master/LICENSE - - - - - focus-trap - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/davidtheclark/focus-trap/master/LICENSE - - - - - prop-types - - themes/keycloak/common/resources/web_modules/common/index-fd2ed651.js - - - - MIT - https://raw.githubusercontent.com/facebook/prop-types/master/LICENSE - - - - - popper.js - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/FezVrasta/popper.js/master/LICENSE.md - - - - - tippy.js - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/atomiks/tippyjs/master/LICENSE - - - - - tslib - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - Apache-2.0 - https://raw.githubusercontent.com/Microsoft/tslib/master/LICENSE.txt - - - - - file-selector - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/react-dropzone/file-selector/master/LICENSE - - - - - attr-accept - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/okonet/attr-accept/master/LICENSE - - - - - react-dropzone - - themes/keycloak/common/resources/web_modules/@patternfly/react-core.js - - - - MIT - https://raw.githubusercontent.com/react-dropzone/react-dropzone/master/LICENSE - - - - - @pika-react - - themes/keycloak/common/resources/web_modules/react.js - - - - MIT - https://raw.githubusercontent.com/facebook/react/master/LICENSE - - - - - @pika-react-dom - - themes/keycloak/common/resources/web_modules/react-dom.js - - - - MIT - https://raw.githubusercontent.com/facebook/react/master/LICENSE - - - - - warning - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://github.com/BerkeleyTrue/warning/raw/master/LICENSE.md - - - - - invariant - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/zertosh/invariant/master/LICENSE - - - - - resolve-pathname - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/mjackson/resolve-pathname/master/LICENSE - - - - - value-equal - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/mjackson/value-equal/master/LICENSE - - - - - history - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/history/master/LICENSE - - - - - react-router - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/react-router/master/LICENSE - - - - - react-router-dom - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/ReactTraining/react-router/master/LICENSE - - - - - isarray - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/juliangruber/isarray/master/LICENSE - - - - - path-to-regexp - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - MIT - https://raw.githubusercontent.com/pillarjs/path-to-regexp/master/LICENSE - - - - - hoist-non-react-statics - - themes/keycloak/common/resources/web_modules/react-router-dom.js - - - - BSD-3-Clause - https://raw.githubusercontent.com/mridgway/hoist-non-react-statics/master/LICENSE.md - - - - - object-assign - - themes/keycloak/common/resources/web_modules/common/index-fd2ed651.js - - - - MIT - https://raw.githubusercontent.com/sindresorhus/object-assign/master/license - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/domain/domain.xml/config.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/domain/domain.xml/config.xml deleted file mode 100644 index 61d6fdbb5ec..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/domain/domain.xml/config.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host-master.xml/config.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host-master.xml/config.xml deleted file mode 100644 index 59c2a27990e..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host-master.xml/config.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host-slave.xml/config.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host-slave.xml/config.xml deleted file mode 100644 index af8c40a2233..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host-slave.xml/config.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host.xml/config.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host.xml/config.xml deleted file mode 100644 index b42c0e7803d..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/host/host.xml/config.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/model.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/model.xml deleted file mode 100644 index 7455d294c92..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/model.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/standalone-ha.xml/config.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/standalone-ha.xml/config.xml deleted file mode 100644 index 8731c548067..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/standalone-ha.xml/config.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/standalone.xml/config.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/standalone.xml/config.xml deleted file mode 100644 index b06b220662b..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/configs/standalone/standalone.xml/config.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/add-user-keycloak.bat b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/add-user-keycloak.bat deleted file mode 100644 index 0aa1dc9a63e..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/add-user-keycloak.bat +++ /dev/null @@ -1,79 +0,0 @@ -@echo off -rem ------------------------------------------------------------------------- -rem Add User script for Windows -rem ------------------------------------------------------------------------- -rem -rem A simple utility for adding new users to the properties file used -rem for domain management authentication out of the box. - -rem $Id$ - -@if not "%ECHO%" == "" echo %ECHO% -@if "%OS%" == "Windows_NT" setlocal - -if "%OS%" == "Windows_NT" ( - set "DIRNAME=%~dp0%" -) else ( - set DIRNAME=.\ -) - -pushd "%DIRNAME%.." -set "RESOLVED_JBOSS_HOME=%CD%" -popd - -if "x%JBOSS_HOME%" == "x" ( - set "JBOSS_HOME=%RESOLVED_JBOSS_HOME%" -) - -pushd "%JBOSS_HOME%" -set "SANITIZED_JBOSS_HOME=%CD%" -popd - -if /i "%RESOLVED_JBOSS_HOME%" NEQ "%SANITIZED_JBOSS_HOME%" ( - echo. - echo WARNING: The JBOSS_HOME ^("%SANITIZED_JBOSS_HOME%"^) that this script uses points to a different installation than the one that this script resides in ^("%RESOLVED_JBOSS_HOME%"^). Unpredictable results may occur. - echo. - echo JBOSS_HOME: "%JBOSS_HOME%" - echo. -) - -rem Setup JBoss specific properties -if "x%JAVA_HOME%" == "x" ( - set JAVA=java - echo JAVA_HOME is not set. Unexpected results may occur. - echo Set JAVA_HOME to the directory of your local JDK to avoid this message. -) else ( - set "JAVA=%JAVA_HOME%\bin\java" -) - -rem set default modular jvm parameters -setlocal EnableDelayedExpansion -call "!DIRNAME!common.bat" :setDefaultModularJvmOptions "!JAVA_OPTS!" -set "JAVA_OPTS=!JAVA_OPTS! !DEFAULT_MODULAR_JVM_OPTIONS!" -setlocal DisableDelayedExpansion - -rem Find jboss-modules.jar, or we can't continue -if exist "%JBOSS_HOME%\jboss-modules.jar" ( - set "RUNJAR=%JBOSS_HOME%\jboss-modules.jar" -) else ( - echo Could not locate "%JBOSS_HOME%\jboss-modules.jar". - echo Please check that you are in the bin directory when running this script. - goto END -) - -rem Set default module root paths -if "x%JBOSS_MODULEPATH%" == "x" ( - set "JBOSS_MODULEPATH=%JBOSS_HOME%\modules" -) - -rem Uncomment to override standalone and domain user location -rem set "JAVA_OPTS=%JAVA_OPTS% -Djboss.server.config.user.dir=..\standalone\configuration -Djboss.domain.config.user.dir=..\domain\configuration" - -"%JAVA%" %JAVA_OPTS% ^ - -jar "%JBOSS_HOME%\jboss-modules.jar" ^ - -mp "%JBOSS_MODULEPATH%" ^ - org.keycloak.keycloak-wildfly-adduser ^ - %* - -:END -if "x%NOPAUSE%" == "x" pause diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/add-user-keycloak.sh b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/add-user-keycloak.sh deleted file mode 100755 index 6999848e352..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/add-user-keycloak.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -# Add User Utility -# -# A simple utility for adding new users to the properties file used -# for domain management authentication out of the box. -# - -DIRNAME=`dirname "$0"` -GREP="grep" - - . "$DIRNAME/common.sh" - -# OS specific support (must be 'true' or 'false'). -cygwin=false; -if [ `uname|grep -i CYGWIN` ]; then - cygwin=true; -fi - -# For Cygwin, ensure paths are in UNIX format before anything is touched -if $cygwin ; then - [ -n "$JBOSS_HOME" ] && - JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --unix "$JAVA_HOME"` - [ -n "$JAVAC_JAR" ] && - JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"` -fi - -# Setup JBOSS_HOME -RESOLVED_JBOSS_HOME=`cd "$DIRNAME/.."; pwd` -if [ "x$JBOSS_HOME" = "x" ]; then - # get the full path (without any relative bits) - JBOSS_HOME=$RESOLVED_JBOSS_HOME -else - SANITIZED_JBOSS_HOME=`cd "$JBOSS_HOME"; pwd` - if [ "$RESOLVED_JBOSS_HOME" != "$SANITIZED_JBOSS_HOME" ]; then - echo "WARNING: The JBOSS_HOME ($SANITIZED_JBOSS_HOME) that this script uses points to a different installation than the one that this script resides in ($RESOLVED_JBOSS_HOME). Unpredictable results may occur." - echo "" - fi -fi -export JBOSS_HOME - -# Setup the JVM -if [ "x$JAVA" = "x" ]; then - if [ "x$JAVA_HOME" != "x" ]; then - JAVA="$JAVA_HOME/bin/java" - else - JAVA="java" - fi -fi - -# Set default modular JVM options -setDefaultModularJvmOptions $JAVA_OPTS -JAVA_OPTS="$JAVA_OPTS $DEFAULT_MODULAR_JVM_OPTIONS" - -if [ "x$JBOSS_MODULEPATH" = "x" ]; then - JBOSS_MODULEPATH="$JBOSS_HOME/modules" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` - JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` - JBOSS_MODULEPATH=`cygpath --path --windows "$JBOSS_MODULEPATH"` -fi - -# Sample JPDA settings for remote socket debugging -#JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=y" -# Uncomment to override standalone and domain user location -#JAVA_OPTS="$JAVA_OPTS -Djboss.server.config.user.dir=../standalone/configuration -Djboss.domain.config.user.dir=../domain/configuration" - -JAVA_OPTS="$JAVA_OPTS" - -eval \"$JAVA\" $JAVA_OPTS \ - -jar \""$JBOSS_HOME"/jboss-modules.jar\" \ - -mp \""${JBOSS_MODULEPATH}"\" \ - org.keycloak.keycloak-wildfly-adduser \ - '"$@"' diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/federation-sssd-setup.sh b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/federation-sssd-setup.sh deleted file mode 100644 index 1eddb95978f..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/federation-sssd-setup.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -# Setup for SSSD -SSSD_FILE="/etc/sssd/sssd.conf" - -if [ -f "$SSSD_FILE" ]; -then - - if ! grep -q ^ldap_user_extra_attrs $SSSD_FILE; then - sed -i '/ldap_tls_cacert/a ldap_user_extra_attrs = mail:mail, sn:sn, givenname:givenname, telephoneNumber:telephoneNumber' $SSSD_FILE - fi - - if ! grep -q ^services.*ifp.* /etc/sssd/sssd.conf; then - sed -i '/^services/ s/$/, ifp/' $SSSD_FILE - fi - - if ! grep -q ^allowed_uids $SSSD_FILE; then - sed -i '/\[ifp\]/a allowed_uids = root' $SSSD_FILE - fi - - if ! grep -q ^user_attributes $SSSD_FILE; then - sed -i '/allowed_uids/a user_attributes = +mail, +telephoneNumber, +givenname, +sn' $SSSD_FILE - fi - - systemctl restart sssd - -else - echo "Please make sure you have $SSSD_FILE into your system! Aborting." - exit 1 -fi - -# Setup for PAM -PAM_FILE="/etc/pam.d/keycloak" - -if [ ! -f "$PAM_FILE" ]; -then -cat < $PAM_FILE - auth required pam_sss.so - account required pam_sss.so -EOF -else - echo "$PAM_FILE already exists. Skipping it..." - exit 0 -fi diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-domain-clustered.cli b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-domain-clustered.cli deleted file mode 100644 index 9179af437fa..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-domain-clustered.cli +++ /dev/null @@ -1,804 +0,0 @@ -embed-host-controller --domain-config=domain.xml - -# Early versions of keycloak used "ha" for the clustered profile name. -# Yours maybe be something completely different. -set clusteredProfile=auth-server-clustered - -# keycloak-server.json is not normally on this path. -set pathToJson=../domain/configuration/keycloak-server.json - - -echo -echo *** Begin Migration of /profile=$clusteredProfile *** -echo - -# Migrate from 1.8.1 to 1.9.1 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/replicated-cache=work/:read-resource - echo Adding replicated-cache=work to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/replicated-cache=work/:add(mode=SYNC) - echo -end-if -# realmVersions cache deprecated in 2.1.0 -#if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource -# echo Adding local-cache=realmVersions to keycloak cache container... -# /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:add(indexing=NONE,start=LAZY) -# /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/component=transaction/:write-attribute(name=mode,value=BATCH) -# echo -#end-if - -# Migrate from 1.9.1 to 1.9.2 -if (result == NONE) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak users cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 1.9.2 to 2.0.0 -# NO CHANGES - -# Migrate from 2.0.0 to 2.1.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource - echo Removing deprecated cache 'realmVersions' - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:remove - echo -end-if - -# Migrate kecloak-server.json (deprecated in 2.2.0) -if (result == []) of /profile=$clusteredProfile/subsystem=keycloak-server/:read-children-names(child-type=spi) - echo Migrating keycloak-server.json to keycloak-server subsystem... - /profile=$clusteredProfile/subsystem=keycloak-server/:migrate-json(file=$pathToJson) - echo -end-if -if (result == [expression "classpath:${jboss.server.config.dir}/providers/*"]) of /profile=$clusteredProfile/subsystem=keycloak-server/:read-attribute(name=providers) - echo Updating provider to default value - /profile=$clusteredProfile/subsystem=keycloak-server/:write-attribute(name=providers,value=[classpath:${jboss.home.dir}/providers/*]) - echo -end-if -if (result == keycloak) of /profile=$clusteredProfile/subsystem=keycloak-server/theme=defaults:read-attribute(name=default) - echo Undefining default theme... - /profile=$clusteredProfile/subsystem=keycloak-server/theme=defaults:undefine-attribute(name=default) - echo -end-if -if (result == expression "${jboss.server.config.dir}/themes") of /profile=$clusteredProfile/subsystem=keycloak-server/theme=defaults:read-attribute(name=dir) - echo Updating theme dir to default value - /profile=$clusteredProfile/subsystem=keycloak-server/theme=defaults/:write-attribute(name=dir,value=${jboss.home.dir}/themes) - echo -end-if - -set persistenceProvider=jpa - -# Migrate from 2.1.0 to 2.2.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:read-resource - # In migration from 3.0.0 to 3.2.0 there is authorization distributed-cache replaced with local-cache - try - echo - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:add(mode=SYNC,owners=1) - echo Added distributed-cache=authorization - catch - end-try -end-if - -if (result == update) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-get(name=properties,key=databaseSchema) - echo Updating connectionsJpa default properties... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-remove(name=properties,key=databaseSchema) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=initializeEmpty,value=true) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationStrategy,value=update) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationExport,value=${jboss.home.dir}/keycloak-database-update.sql) - echo -end-if -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=userFederatedStorage/:read-resource - echo Adding spi=userFederatedStorage... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=userFederatedStorage/:add(default-provider=$persistenceProvider) - echo -end-if -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=jta-lookup/:read-resource - echo Adding spi=jta-lookup... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) - echo -end-if - -# Migrate from 2.2.0 to 2.2.1 -# NO CHANGES - -# Migrate from 2.2.1 to 2.3.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/:read-resource - echo Adding local-cache=keys to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction and expiration in local-cache=keys... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=max-entries,value=1000) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=expiration/:write-attribute(name=max-idle,value=3600000) - echo -end-if -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=publicKeyStorage/:read-resource - echo Adding spi=publicKeyStorage... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=publicKeyStorage/:add - /profile=$clusteredProfile/subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) - echo -end-if - -# Migrate from 2.3.0 to 2.4.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/:read-resource - echo Replacing invalidation-cache=users with local-cache=users - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/:add - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction in local-cache=users - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms/:read-resource - echo Replacing invalidation-cache=realms with local-cache=realms - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms/:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/:add - echo -end-if - - -# Migrate from 2.4.0 to 2.5.0 -if (result == NONE) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak realms cache... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 2.5.0 to 2.5.1 -# NO CHANGES - -# Migrate 2.5.1 to 2.5.4 -if (result != REPEATABLE_READ) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:read-attribute(name=isolation) - echo Changing ejb cache locking to REPEATABLE_READ - /profile=$clusteredProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:write-attribute(name=isolation,value=REPEATABLE_READ) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:read-resource - echo Removing Hibernate immutable-entity cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:remove -end-if - - -# Migrate from 2.5.4 to 3.0.0 -if (result == jpa) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=eventsStore/:read-attribute(name=default-provider,include-defaults=false) - echo Removing default provider for eventsStore - /profile=$clusteredProfile/subsystem=keycloak-server/spi=eventsStore/:undefine-attribute(name=default-provider) - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=realm/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=realm/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=user/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=user/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=userFederatedStorage/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for userFederatedStorage SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=userFederatedStorage/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=authorizationPersister/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for authorizationPersister SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=authorizationPersister/:remove - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=userCache/:read-resource - echo Adding userCache SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=userCache/:add - /profile=$clusteredProfile/subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=realmCache/:read-resource - echo Adding realmCache SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=realmCache/:add - /profile=$clusteredProfile/subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) - echo -end-if - -if ((result.default-provider == undefined) && (result.provider.default.enabled == true)) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/:read-resource(recursive=true,include-defaults=false) - echo Adding 'default' as default provider for connectionsInfinispan - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/:write-attribute(name=default-provider,value=default) - echo -end-if - -# Migrate from 3.0.0 to 3.1.0 -# NO CHANGES - -# Migrate from 3.1.0 to 3.2.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/:read-resource - echo Adding distributed-cache=authenticationSessions to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/:read-resource - echo Adding distributed-cache=actionTokens to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/:add(indexing=NONE,mode=SYNC,owners=2) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=eviction/:write-attribute(name=strategy,value=NONE) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=eviction/:write-attribute(name=max-entries,value=-1) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=interval,value=300000) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=max-idle,value=-1) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:read-resource - echo Replacing distributed-cache=authorization with local-cache=authorization - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:add - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 3.2.0 to 3.2.1 -# NO CHANGES - -# Migrate from 3.2.1 to 3.3.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=core-management/:read-resource - try - echo Trying to add core-management extension - /extension=org.wildfly.extension.core-management/:add - echo - catch - echo Wasn't able to add core-management extension, it should be already added by migrate-domain-standalone.cli - echo - end-try - echo Adding subsystem core-management - /profile=$clusteredProfile/subsystem=core-management/:add - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/:read-resource - try - echo Trying to add elytron extension - /extension=org.wildfly.extension.elytron/:add - echo - catch - echo Wasn't able to add elytron extension, it should be already added by migrate-domain-standalone.cli - echo - end-try - echo Adding subsystem elytron - /profile=$clusteredProfile/subsystem=elytron/:add - /profile=$clusteredProfile/subsystem=elytron/provider-loader=elytron/:add(module=org.wildfly.security.elytron) - /profile=$clusteredProfile/subsystem=elytron/provider-loader=openssl/:add(module=org.wildfly.openssl) - /profile=$clusteredProfile/subsystem=elytron/aggregate-providers=combined-providers/:add(providers=[elytron,openssl]) - /profile=$clusteredProfile/subsystem=elytron/file-audit-log=local-audit/:add(path=audit.log,relative-to=jboss.server.log.dir,format=JSON) - /profile=$clusteredProfile/subsystem=elytron/identity-realm=local/:add(identity="$local") - /profile=$clusteredProfile/subsystem=elytron/properties-realm=ApplicationRealm/:add(users-properties={path=application-users.properties,relative-to=jboss.domain.config.dir,digest-realm-name=ApplicationRealm},groups-properties={path=application-roles.properties,relative-to=jboss.domain.config.dir}) - /profile=$clusteredProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper/:add(mapping-mode=first,permission-mappings=[{principals=[anonymous],permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]},{match-all=true,permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission},{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]}]) - /profile=$clusteredProfile/subsystem=elytron/constant-realm-mapper=local/:add(realm-name=local) - /profile=$clusteredProfile/subsystem=elytron/simple-role-decoder=groups-to-roles/:add(attribute=groups) - /profile=$clusteredProfile/subsystem=elytron/constant-role-mapper=super-user-mapper/:add(roles=[SuperUser]) - /profile=$clusteredProfile/subsystem=elytron/security-domain=ApplicationDomain/:add(default-realm=ApplicationRealm,permission-mapper=default-permission-mapper,realms=[{realm=ApplicationRealm,role-decoder=groups-to-roles},{realm=local}]) - /profile=$clusteredProfile/subsystem=elytron/provider-http-server-mechanism-factory=global/:add - /profile=$clusteredProfile/subsystem=elytron/http-authentication-factory=application-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=BASIC,mechanism-realm-configurations=[{realm-name=Application Realm}]},{mechanism-name=FORM}]) - /profile=$clusteredProfile/subsystem=elytron/provider-sasl-server-factory=global/:add - /profile=$clusteredProfile/subsystem=elytron/mechanism-provider-filtering-sasl-server-factory=elytron/:add(sasl-server-factory=global,filters=[{provider-name=WildFlyElytron}]) - /profile=$clusteredProfile/subsystem=elytron/configurable-sasl-server-factory=configured/:add(sasl-server-factory=elytron,properties={wildfly.sasl.local-user.default-user => "$local"}) - /profile=$clusteredProfile/subsystem=elytron/sasl-authentication-factory=application-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ApplicationRealm}]}]) - /profile=$clusteredProfile/subsystem=elytron/:write-attribute(name=final-providers,value=combined-providers) - /profile=$clusteredProfile/subsystem=elytron/:write-attribute(name=disallowed-providers,value=[OracleUcrypto]) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Adding channel-creation-options READ_TIMEOUT to ejb3 remote - /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:add(value="${prop.remoting-connector.read.timeout:20}",type=xnio) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:read-resource - echo Adding channel-creation-options MAX_OUTBOUND_MESSAGES to ejb3 remote - /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:add(value=1234,type=remoting) - echo -end-if - -if (result == ASYNC) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/distributed-cache=dist:read-attribute(name=mode) - echo Setting SYNC mode for web cache-container - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/distributed-cache=dist:write-attribute(name=mode,value=SYNC) - echo -end-if - -if (result == ASYNC) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=ejb/distributed-cache=dist:read-attribute(name=mode) - echo Setting SYNC mode for ejb cache-container - /profile=$clusteredProfile/subsystem=infinispan/cache-container=ejb/distributed-cache=dist:write-attribute(name=mode,value=SYNC) - echo -end-if - -if (result == undefined) of /profile=$clusteredProfile/subsystem=jgroups/channel=ee/:read-attribute(name=cluster) - echo Setting cluster attribute to ejb in jgroups subsystem - /profile=$clusteredProfile/subsystem=jgroups/channel=ee/:write-attribute(name=cluster,value=ejb) - echo -end-if - -if (result != undefined) of /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Unsetting socket-binding from udp FD_SOCK protocol - # it has to be done via remove and add, because socket-binding is not writable attribute - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:add - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD/:read-resource - echo Replacing tcp FD protocol with FD_ALL - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD/:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_ALL/:add - echo -end-if - -if (result != undefined) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Unsetting socket-binding from tcp FD_SOCK protocol - # it has to be done via remove and add, because socket-binding is not writable attribute - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:add - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:read-resource - echo Adding http-invoker to default-host - /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:add(security-realm=ApplicationRealm) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=undertow/server=default-server/http-listener=default/:read-attribute(name=enable-http2) - echo Enabling http2 for default http-listener - /profile=$clusteredProfile/subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=enable-http2,value=true) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=undertow/server=default-server/https-listener=https/:read-resource - echo Adding https-listener - /profile=$clusteredProfile/subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,security-realm=ApplicationRealm,enable-http2=true) - echo -end-if - -if (result == 224.0.1.105) of /socket-binding-group=ha-sockets/socket-binding=modcluster/:read-attribute(name=multicast-address) - echo Adding jboss.modcluster.multicast.address property to modcluster multicast-address - /socket-binding-group=ha-sockets/socket-binding=modcluster/:write-attribute(name=multicast-address,value=${jboss.modcluster.multicast.address:224.0.1.105}) - echo -end-if - -# Migrate from 3.3.0 to 3.4.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:read-resource - echo Removing X-Powered-By and Server headers from Keycloak responses... - /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:remove - /profile=$clusteredProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=x-powered-by-header/:remove - /profile=$clusteredProfile/subsystem=undertow/configuration=filter/response-header=x-powered-by-header/:remove - /profile=$clusteredProfile/subsystem=undertow/configuration=filter/response-header=server-header/:remove -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jdr/:read-resource - echo Removing jdr subsystem and extension - /profile=$clusteredProfile/subsystem=jdr/:remove - echo - try - echo Trying to remove jdr extension - /extension=org.jboss.as.jdr/:remove - echo - catch - echo Wasn't able to remove jdr extension, Should be removed by migrate-domain-standalone.cli - echo - end-try -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jsf/:read-resource - echo Removing jsf subsystem and extension - /profile=$clusteredProfile/subsystem=jsf/:remove - echo - try - echo Trying to remove jsf extension - /extension=org.jboss.as.jsf/:remove - echo - catch - echo Wasn't able to remove jsf extension, Should be removed by migrate-domain-standalone.cli - echo - end-try -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/:read-resource - echo Adding distributed-cache=offlineClientSessions to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/:read-resource - echo Adding distributed-cache=clientSessions to keycloak cache container... - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=x509cert-lookup/:read-resource - echo Adding spi=x509cert-lookup... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=x509cert-lookup/:add(default-provider=${keycloak.x509cert.lookup.provider:default}) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=x509cert-lookup/provider=default/:add(enabled=true) - echo -end-if - -# Migrate from 4.2.0 to 4.3.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:read-resource - echo Adding spi=hostname... - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:add(default-provider=request) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/provider=fixed/:add(properties={hostname => "localhost",httpPort => "-1",httpsPort => "-1"},enabled=true) - echo -end-if - -# Migrate from 4.3.0 to 4.4.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/permission-set=login-permission/:read-resource - echo Adding permission-set=login-permission to elytron - /profile=$clusteredProfile/subsystem=elytron/permission-set=login-permission:add(permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission}]) - /profile=$clusteredProfile/subsystem=elytron/permission-set=default-permissions/:add(permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]) - /profile=$clusteredProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper/:undefine-attribute(name=permission-mappings) - /profile=$clusteredProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper:write-attribute(name=permission-mappings,value=[{permission-sets=[{permission-set=login-permission},{permission-set=default-permissions}],match-all=true},{permission-sets=[{permission-set=default-permissions}],principals=[anonymous]}]) - echo -end-if - -if (result == org.hibernate.infinispan) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate:read-attribute(name=module) - echo Update hibernate cache module - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate:write-attribute(name=module, value=org.infinispan.hibernate-cache) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate:read-attribute(name=default-cache) - echo Remove default cache from hibernate cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate:undefine-attribute(name=default-cache) - echo -end-if -if (result == ASYNC) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/replicated-cache=timestamps:read-attribute(name=mode) - echo Switching mode for timestamps cache from ASYNC to SYNC - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/replicated-cache=timestamps:write-attribute(name=mode, value=SYNC) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:read-resource - echo Removing eviction from hibernate entity cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/distributed-cache=local-query/eviction=EVICTION:read-resource - echo Removing eviction from hibernate local-query cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:read-resource - echo Removing eviction from keycloak realms cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:read-resource - echo Removing eviction from keycloak users cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:read-resource - echo Removing eviction from keycloak authorization cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:read-resource - echo Removing eviction from keycloak keys cache and replacing with object-memory - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:remove - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:read-resource - echo Changing JNDI reference in connectionsInfinispan SPI - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:undefine-attribute(name=properties) - /profile=$clusteredProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:write-attribute(name=properties,value={cacheContainer=java:jboss/infinispan/container/keycloak}) - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FRAG2:read-resource - echo Upgrade jgroups protocol from FRAG2 to FRAG3 for tcp stack - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FRAG2:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FRAG3:add() - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FRAG2:read-resource - echo Upgrade jgroups protocol from FRAG2 to FRAG3 for udp stack - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FRAG2:remove - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FRAG3:add() - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/subsystem=remoting/configuration=endpoint:read-resource - echo Remove endpoint from remoting configuration - /profile=$clusteredProfile/subsystem=remoting/configuration=endpoint:remove - echo -end-if -if (outcome == success) of /profile=$clusteredProfile/socket-binding-group=$clusteredProfile-sockets/socket-binding=jgroups-mping:read-attribute(name=port) - /profile=$clusteredProfile/socket-binding-group=$clusteredProfile-sockets/socket-binding=jgroups-mping:undefine-attribute(name=port) -end-if -if (outcome == success) of /socket-binding-group=$clusteredProfile-sockets/socket-binding=modcluster:read-attribute(name=port) - /profile=$clusteredProfile/socket-binding-group=$clusteredProfile-sockets/socket-binding=modcluster:undefine-attribute(name=port) -end-if - -# Migrate from 4.5.0 to 4.6.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=elytron/http-authentication-factory=application-http-authentication/:read-resource - echo Removing application-http-authentication from elytron subsystem - /profile=$clusteredProfile/subsystem=elytron/http-authentication-factory=application-http-authentication:remove - echo -end-if - -if (result == undefined) of /profile=$clusteredProfile/subsystem=transactions/:read-attribute(name=node-identifier,include-defaults=false) - echo Setting node-identifier attribute of core-environment element in transactions subsystem - /profile=$clusteredProfile/subsystem=transactions/:write-attribute(name=node-identifier,value=expression "${jboss.tx.node.id:1}") - echo -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=udp/transport=UDP/property=port_range:read-attribute(name=value) - try - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/transport=UDP/property=port_range:remove - echo Remove port_range property from UDP transport type of udp stack - catch - echo - end-try -end-if - -if (outcome == success) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:read-attribute(name=value) - try - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:remove - echo Remove port_range property from TCP transport type of tcp stack - catch - echo - end-try -end-if - -# Migrate from 4.8.3 to 5.0.0 -if (outcome == failed) of /profile=$clusteredProfile/subsystem=logging/logger=io.jaegertracing.Configuration/:read-resource - echo Adding io.jaegertracing.Configuration logger - /profile=$clusteredProfile/subsystem=logging/logger=io.jaegertracing.Configuration/:add(category=io.jaegertracing.Configuration,level=WARN) - echo -end-if - -# Migrate from 5.0.0 to 6.0.0 -if (result == NON_XA) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:read-attribute(name=mode) - echo Removing NON_XA transaction mode from infinispan/hibernate/entity - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:undefine-attribute(name=mode) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=datasources/data-source=ExampleDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ExampleDS datasource - /profile=$clusteredProfile/subsystem=datasources/data-source=ExampleDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=datasources/data-source=KeycloakDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to KeycloakDS datasource - /profile=$clusteredProfile/subsystem=datasources/data-source=KeycloakDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=ejb3/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ejb3 subsystem - /profile=$clusteredProfile/subsystem=ejb3/:write-attribute(name=statistics-enabled,value=${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=transactions/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to transactions subsystem - /profile=$clusteredProfile/subsystem=transactions/:write-attribute(name=statistics-enabled,value=${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=undertow/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to undertow subsystem - /profile=$clusteredProfile/subsystem=undertow/:write-attribute(name=statistics-enabled,value=${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$clusteredProfile/subsystem=webservices/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to webservices subsystem - /profile=$clusteredProfile/subsystem=webservices/:write-attribute(name=statistics-enabled,value=${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -# Migrate from 6.0.1 to 7.0.0 -if (outcome == success) of /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem - /profile=$clusteredProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:remove - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/distributed-cache=routing:read-resource - echo Adding distributed cache routing to web cache container to infinispan subsystem - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/distributed-cache=routing/:add - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/replicated-cache=sso:read-resource - echo Adding replicated cache sso to web cache container to infinispan subsystem - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/replicated-cache=sso/:add - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/replicated-cache=sso/component=locking/:add(isolation=REPEATABLE_READ) - /profile=$clusteredProfile/subsystem=infinispan/cache-container=web/replicated-cache=sso/component=transaction/:add(mode=BATCH) - echo -end-if - -if (outcome == failed) of /socket-binding-group=ha-sockets/socket-binding=jgroups-tcp-fd/:read-resource - echo Adding jgroups-tcp-fd socket binding to ha-sockets binding group - /socket-binding-group=ha-sockets/socket-binding=jgroups-tcp-fd/:add(interface=private,port=57600) - echo -end-if - -if (outcome == failed) of /socket-binding-group=ha-sockets/socket-binding=jgroups-udp-fd/:read-resource - echo Adding jgroups-udp-fd socket binding to ha-sockets binding group - /socket-binding-group=ha-sockets/socket-binding=jgroups-udp-fd/:add(interface=private,port=54200) - echo -end-if - -if (result == undefined) of /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Adding socket-binding for FD_SOCK protocol for tcp stack in jgroups subsystem - /profile=$clusteredProfile/subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:write-attribute(name=socket-binding,value=jgroups-tcp-fd) - echo -end-if - -if (result == undefined) of /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Adding socket-binding for FD_SOCK protocol for udp stack in jgroups subsystem - /profile=$clusteredProfile/subsystem=jgroups/stack=udp/protocol=FD_SOCK/:write-attribute(name=socket-binding,value=jgroups-udp-fd) - echo -end-if - -if (result == "true") of /subsystem=keycloak-server/spi=truststore/provider=file:map-get(name=properties, key=disabled) - echo Disabling Truststore Provider - /subsystem=keycloak-server/spi=truststore/provider=file:write-attribute(name=enabled, value=false) - echo Removing deprecated option - /subsystem=keycloak-server/spi=truststore/provider=file:map-remove(name=properties, key=disabled) - echo -end-if - -# Migrate from 7.0.0 to 8.0.0 - -if ((result.time == 100L) && (result.unit == MILLISECONDS)) of /profile=$clusteredProfile/subsystem=ejb3/thread-pool=default:read-attribute(name=keepalive-time) - echo Changing thread pool keepalive of ejb3 subsystem - /profile=$clusteredProfile/subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.time, value=60) - /profile=$clusteredProfile/subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.unit,value=SECONDS) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/provider=default/:read-resource - echo Adding default hostname provider - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -end-if - -if (result == request) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - echo Switching from request to default hostname provider - - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:write-attribute(name=default-provider,value=default) -end-if - -if (result != fixed) of /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - try - /profile=$clusteredProfile/subsystem=keycloak-server/spi=hostname/provider=fixed:remove - echo Removed config for unused fixed hostname provider - catch - end-try -end-if - -# Migrate from 10.0.2 to 11.0.0 (migration changes for infinispan update from 9.4.18.Final to 10.1.8.Final) - -if (result != org.keycloak.keycloak-model-infinispan) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak:read-attribute(name=module) - echo Setting class loader for keycloak cache-container in auth-server-clustered profile so JBoss Marshalling works properly with Infinispan 10.x - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak:write-attribute(name=module,value=org.keycloak.keycloak-model-infinispan) - echo -end-if - -# Migrate from 12.0.0 to 13.0.0 - -## Add ability to make use of automatically generated self-signed certificate with Elytron, -## introduced by WFCORE-5095 in Wildfly Core 14.0.0.Final - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/key-store=applicationKS:read-resource - echo Adding key store for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$clusteredProfile/subsystem=elytron/key-store=applicationKS:add(credential-reference={clear-text=password},type=JKS) - /profile=$clusteredProfile/subsystem=elytron/key-store=applicationKS:write-attribute(name=path,value=application.keystore) - /profile=$clusteredProfile/subsystem=elytron/key-store=applicationKS:write-attribute(name=relative-to,value=jboss.domain.config.dir) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/key-manager=applicationKM:read-resource - echo Adding key manager for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$clusteredProfile/subsystem=elytron/key-manager=applicationKM:add(key-store=applicationKS, credential-reference={clear-text=password}) - /profile=$clusteredProfile/subsystem=elytron/key-manager=applicationKM:write-attribute(name=generate-self-signed-certificate-host,value=localhost) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=elytron/server-ssl-context=applicationSSC:read-resource - echo Adding SSL context for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$clusteredProfile/subsystem=elytron/server-ssl-context=applicationSSC:add(key-manager=applicationKM) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-executor-service' from INT to LONG -if (result == 0) of /profile=$clusteredProfile/subsystem=ee/managed-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed executor service to default value (0 miliseconds) - /profile=$clusteredProfile/subsystem=ee/managed-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-scheduled-executor-service' from INT to LONG -if (result == 0) of /profile=$clusteredProfile/subsystem=ee/managed-scheduled-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed scheduled executor service to default value (0 miliseconds) - /profile=$clusteredProfile/subsystem=ee/managed-scheduled-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Set value of JPA default-datasource from empty string to 'undefined' -if (outcome == success) && (result == "") of /profile=$clusteredProfile/subsystem=jpa:read-attribute(name=default-datasource) - echo Setting value of to default-datasource attribute in JPA subsystem to 'undefined' - /profile=$clusteredProfile/subsystem=jpa:undefine-attribute(name=default-datasource) - echo -end-if - -if (outcome == failed) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/:read-resource - echo Add pending-puts local cache clustered and expiration time 60000L - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/:add - /profile=$clusteredProfile/subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/component=expiration/:write-attribute(name=max-idle,value=60000L) - echo -end-if - -# Migrate from 14.0.0 to 15.0.0 - -# Add expiration lifespan configuration to every distributed and replicated cache. -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/replicated-cache=work/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'work' replicated-cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/replicated-cache=work/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=sessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'sessions' replicated-cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=sessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'clientSessions' distributed-cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineSessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'offlineSessions' distributed-cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineSessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'offlineClientSessions' distributed-cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'authenticationSessions' distributed-cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=loginFailures/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'loginFailures' distributed-cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=loginFailures/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'actionTokens' distributed-cache - /profile=$clusteredProfile/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if - -echo *** End Migration of /profile=$clusteredProfile *** diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-domain-standalone.cli b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-domain-standalone.cli deleted file mode 100644 index 2136764a0d0..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-domain-standalone.cli +++ /dev/null @@ -1,661 +0,0 @@ -embed-host-controller --domain-config=domain.xml - -# Early versions of keycloak used "default" for the standalone profile name. -# Yours maybe be something completely different. -set standaloneProfile=auth-server-standalone - -# keycloak-server.json is not normally on this path. -set pathToJson=../domain/configuration/keycloak-server.json - - -echo *** Begin Migration of /profile=$standaloneProfile *** -echo - -# Migrate from 1.8.1 to 1.9.1 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=work/:read-resource - echo Adding local-cache=work to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=work/:add(indexing=NONE,start=LAZY) - echo -end-if -# realmVersions cache deprecated in 2.1.0 -#if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource -# echo Adding local-cache=realmVersions to keycloak cache container... -# /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:add(indexing=NONE,start=LAZY) -# /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/component=transaction/:write-attribute(name=mode,value=BATCH) -# echo -#end-if - - -# Migrate from 1.9.1 to 1.9.2 -if (result == NONE) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak users cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 1.9.2 to 1.9.8 -# NO CHANGES - -# Migrate from 1.9.8 to 2.0.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:read-resource - echo Adding local-cache=authorization to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating authorization cache container.. - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=100) - echo -end-if - -# Migrate from 2.0.0 to 2.1.0 -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource - echo Removing deprecated cache 'realmVersions' - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:remove - echo -end-if - -# Migrate kecloak-server.json (deprecated in 2.2.0) -if (result == []) of /profile=$standaloneProfile/subsystem=keycloak-server/:read-children-names(child-type=spi) - echo Migrating keycloak-server.json to keycloak-server subsystem... - /profile=$standaloneProfile/subsystem=keycloak-server/:migrate-json(file=$pathToJson) - echo -end-if -if (result == [expression "classpath:${jboss.server.config.dir}/providers/*"]) of /profile=$standaloneProfile/subsystem=keycloak-server/:read-attribute(name=providers) - echo Updating provider to default value - /profile=$standaloneProfile/subsystem=keycloak-server/:write-attribute(name=providers,value=[classpath:${jboss.home.dir}/providers/*]) - echo -end-if -if (result == keycloak) of /profile=$standaloneProfile/subsystem=keycloak-server/theme=defaults:read-attribute(name=default) - echo Undefining default theme... - /profile=$standaloneProfile/subsystem=keycloak-server/theme=defaults:undefine-attribute(name=default) - echo -end-if -if (result == expression "${jboss.server.config.dir}/themes") of /profile=$standaloneProfile/subsystem=keycloak-server/theme=defaults:read-attribute(name=dir) - echo Updating theme dir to default value - /profile=$standaloneProfile/subsystem=keycloak-server/theme=defaults/:write-attribute(name=dir,value=${jboss.home.dir}/themes) - echo -end-if - -set persistenceProvider=jpa - -# Migrate from 2.1.0 to 2.2.0 -if (result == update) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-get(name=properties,key=databaseSchema) - echo Updating connectionsJpa default properties... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-remove(name=properties,key=databaseSchema) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=initializeEmpty,value=true) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationStrategy,value=update) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationExport,value=${jboss.home.dir}/keycloak-database-update.sql) - echo -end-if -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=userFederatedStorage/:read-resource - echo Adding spi=userFederatedStorage... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=userFederatedStorage/:add(default-provider=$persistenceProvider) - echo -end-if -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=jta-lookup/:read-resource - echo Adding spi=jta-lookup... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) - echo -end-if - -# Migrate from 2.2.0 to 2.2.1 -# NO CHANGES - -# Migrate from 2.2.1 to 2.3.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/:read-resource - echo Adding local-cache=keys to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction and expiration in local-cache=keys... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=max-entries,value=1000) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=expiration/:write-attribute(name=max-idle,value=3600000) - echo -end-if -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=publicKeyStorage/:read-resource - echo Adding spi=publicKeyStorage... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=publicKeyStorage/:add - /profile=$standaloneProfile/subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) - echo -end-if - -# Migrate from 2.3.0 to 2.4.0 -# NO CHANGES - -# Migrate from 2.4.0 to 2.5.0 -if (result == NONE) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak realms cache... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=strategy,value=LRU) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 2.5.0 to 2.5.1 -# NO CHANGES - -# Migrate 2.5.1 to 2.5.4 -if (result != REPEATABLE_READ) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:read-attribute(name=isolation) - echo Changing ejb cache locking to REPEATABLE_READ - /profile=$standaloneProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:write-attribute(name=isolation,value=REPEATABLE_READ) - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:read-resource - echo Removing Hibernate immutable-entity cache - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:remove -end-if - - -# Migrate from 2.5.4 to 3.0.0 -if (result == jpa) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=eventsStore/:read-attribute(name=default-provider,include-defaults=false) - echo Removing default provider for eventsStore - /profile=$standaloneProfile/subsystem=keycloak-server/spi=eventsStore/:undefine-attribute(name=default-provider) - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=realm/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=realm/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=user/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=user/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=userFederatedStorage/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for userFederatedStorage SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=userFederatedStorage/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=authorizationPersister/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for authorizationPersister SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=authorizationPersister/:remove - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=userCache/:read-resource - echo Adding userCache SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=userCache/:add - /profile=$standaloneProfile/subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=realmCache/:read-resource - echo Adding realmCache SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=realmCache/:add - /profile=$standaloneProfile/subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) - echo -end-if - -if ((result.default-provider == undefined) && (result.provider.default.enabled == true)) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/:read-resource(recursive=true,include-defaults=false) - echo Adding 'default' as default provider for connectionsInfinispan - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/:write-attribute(name=default-provider,value=default) - echo -end-if - -# Migrate from 3.0.0 to 3.1.0 -# NO CHANGES - -# Migrate from 3.1.0 to 3.2.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions/:read-resource - echo Adding local-cache=authenticationSessions to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/:read-resource - echo Adding local-cache=actionTokens to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/:add(indexing=NONE,start=LAZY) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=eviction/:write-attribute(name=strategy,value=NONE) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=eviction/:write-attribute(name=max-entries,value=-1) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=expiration/:write-attribute(name=interval,value=300000) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=expiration/:write-attribute(name=max-idle,value=-1) - echo -end-if - -if (result == 100L) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:read-attribute(name=max-entries) - echo Updating eviction in local-cache=authorization... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 3.2.0 to 3.2.1 -# NO CHANGES - -# Migrate from 3.2.1 to 3.3.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=core-management/:read-resource - try - echo Trying to add core-management extension - /extension=org.wildfly.extension.core-management/:add - echo - catch - echo Wasn't able to add core-management extension, it should be already added by migrate-domain-standalone.cli - echo - end-try - echo Adding subsystem core-management - /profile=$standaloneProfile/subsystem=core-management/:add - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/:read-resource - try - echo Trying to add elytron extension - /extension=org.wildfly.extension.elytron/:add - echo - catch - echo Wasn't able to add elytron extension, it should be already added by migrate-domain-standalone.cli - echo - end-try - echo Adding subsystem elytron - /profile=$standaloneProfile/subsystem=elytron/:add - /profile=$standaloneProfile/subsystem=elytron/provider-loader=elytron/:add(module=org.wildfly.security.elytron) - /profile=$standaloneProfile/subsystem=elytron/provider-loader=openssl/:add(module=org.wildfly.openssl) - /profile=$standaloneProfile/subsystem=elytron/aggregate-providers=combined-providers/:add(providers=[elytron,openssl]) - /profile=$standaloneProfile/subsystem=elytron/file-audit-log=local-audit/:add(path=audit.log,relative-to=jboss.server.log.dir,format=JSON) - /profile=$standaloneProfile/subsystem=elytron/identity-realm=local/:add(identity="$local") - /profile=$standaloneProfile/subsystem=elytron/properties-realm=ApplicationRealm/:add(users-properties={path=application-users.properties,relative-to=jboss.domain.config.dir,digest-realm-name=ApplicationRealm},groups-properties={path=application-roles.properties,relative-to=jboss.domain.config.dir}) - /profile=$standaloneProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper/:add(mapping-mode=first,permission-mappings=[{principals=[anonymous],permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]},{match-all=true,permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission},{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]}]) - /profile=$standaloneProfile/subsystem=elytron/constant-realm-mapper=local/:add(realm-name=local) - /profile=$standaloneProfile/subsystem=elytron/simple-role-decoder=groups-to-roles/:add(attribute=groups) - /profile=$standaloneProfile/subsystem=elytron/constant-role-mapper=super-user-mapper/:add(roles=[SuperUser]) - /profile=$standaloneProfile/subsystem=elytron/security-domain=ApplicationDomain/:add(default-realm=ApplicationRealm,permission-mapper=default-permission-mapper,realms=[{realm=ApplicationRealm,role-decoder=groups-to-roles},{realm=local}]) - /profile=$standaloneProfile/subsystem=elytron/provider-http-server-mechanism-factory=global/:add - /profile=$standaloneProfile/subsystem=elytron/http-authentication-factory=application-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=BASIC,mechanism-realm-configurations=[{realm-name=Application Realm}]},{mechanism-name=FORM}]) - /profile=$standaloneProfile/subsystem=elytron/provider-sasl-server-factory=global/:add - /profile=$standaloneProfile/subsystem=elytron/mechanism-provider-filtering-sasl-server-factory=elytron/:add(sasl-server-factory=global,filters=[{provider-name=WildFlyElytron}]) - /profile=$standaloneProfile/subsystem=elytron/configurable-sasl-server-factory=configured/:add(sasl-server-factory=elytron,properties={wildfly.sasl.local-user.default-user => "$local"}) - /profile=$standaloneProfile/subsystem=elytron/sasl-authentication-factory=application-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ApplicationRealm}]}]) - /profile=$standaloneProfile/subsystem=elytron/:write-attribute(name=final-providers,value=combined-providers) - /profile=$standaloneProfile/subsystem=elytron/:write-attribute(name=disallowed-providers,value=[OracleUcrypto]) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Adding channel-creation-options READ_TIMEOUT to ejb3 remote - /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:add(value="${prop.remoting-connector.read.timeout:20}",type=xnio) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:read-resource - echo Adding channel-creation-options MAX_OUTBOUND_MESSAGES to ejb3 remote - /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:add(value=1234,type=remoting) - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=persistent:read-resource - echo Removing local-cache persistent from web cache-container - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=persistent:remove - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent:read-resource - echo Removing local-cache persistent from ejb cache-container - /profile=$standaloneProfile/subsystem=infinispan/cache-container=ejb/local-cache=persistent:remove - echo -end-if - -if (result == local-query) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/:read-attribute(name=default-cache) - echo Removing default-cache from hibernate cache-container - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/:undefine-attribute(name=default-cache) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:read-resource - echo Adding http-invoker to default-host - /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:add(security-realm=ApplicationRealm) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=undertow/server=default-server/http-listener=default/:read-attribute(name=enable-http2) - echo Enabling http2 for default http-listener - /profile=$standaloneProfile/subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=enable-http2,value=true) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=undertow/server=default-server/https-listener=https/:read-resource - echo Adding https-listener - /profile=$standaloneProfile/subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,security-realm=ApplicationRealm,enable-http2=true) - echo -end-if - -if (result == 224.0.1.105) of /socket-binding-group=ha-sockets/socket-binding=modcluster/:read-attribute(name=multicast-address) - echo Adding jboss.modcluster.multicast.address property to modcluster multicast-address - /socket-binding-group=ha-sockets/socket-binding=modcluster/:write-attribute(name=multicast-address,value=${jboss.modcluster.multicast.address:224.0.1.105}) - echo -end-if - -# Migrate from 3.3.0 to 3.4.0 -if (outcome == success) of /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:read-resource - echo Removing X-Powered-By and Server headers from Keycloak responses... - /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:remove - /profile=$standaloneProfile/subsystem=undertow/server=default-server/host=default-host/filter-ref=x-powered-by-header/:remove - /profile=$standaloneProfile/subsystem=undertow/configuration=filter/response-header=x-powered-by-header/:remove - /profile=$standaloneProfile/subsystem=undertow/configuration=filter/response-header=server-header/:remove - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=jdr/:read-resource - echo Removing jdr subsystem and extension - /profile=$standaloneProfile/subsystem=jdr/:remove - echo - try - echo Trying to remove jdr extension - /extension=org.jboss.as.jdr/:remove - echo - catch - echo Wasn't able to remove jdr extension, it should be removed by migrate-domain-standalone.cli - echo - end-try -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=jsf/:read-resource - echo Removing jsf subsystem and extension - /profile=$standaloneProfile/subsystem=jsf/:remove - echo - try - echo Trying to remove jsf extension - /extension=org.jboss.as.jsf/:remove - echo - catch - echo Wasn't able to remove jsf extension, Should be removed by migrate-domain-standalone.cli - echo - end-try -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions/:read-resource - echo Adding local-cache=clientSessions to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions/:read-resource - echo Adding local-cache=offlineClientSessions to keycloak cache container... - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=x509cert-lookup/:read-resource - echo Adding spi=x509cert-lookup... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=x509cert-lookup/:add(default-provider=${keycloak.x509cert.lookup.provider:default}) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=x509cert-lookup/provider=default/:add(enabled=true) - echo -end-if - -# Migrate from 4.2.0 to 4.3.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:read-resource - echo Adding spi=hostname... - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:add(default-provider=request) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/provider=fixed/:add(properties={hostname => "localhost",httpPort => "-1",httpsPort => "-1"},enabled=true) - echo -end-if - -# Migrate from 4.3.0 to 4.4.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/permission-set=login-permission/:read-resource - echo Adding permission-set=login-permission to elytron - /profile=$standaloneProfile/subsystem=elytron/permission-set=login-permission:add(permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission}]) - /profile=$standaloneProfile/subsystem=elytron/permission-set=default-permissions/:add(permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]) - /profile=$standaloneProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper/:undefine-attribute(name=permission-mappings) - /profile=$standaloneProfile/subsystem=elytron/simple-permission-mapper=default-permission-mapper:write-attribute(name=permission-mappings,value=[{permission-sets=[{permission-set=login-permission},{permission-set=default-permissions}],match-all=true},{permission-sets=[{permission-set=default-permissions}],principals=[anonymous]}]) - echo -end-if - -if (result == org.hibernate.infinispan) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate:read-attribute(name=module) - echo Update hibernate cache module - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate:write-attribute(name=module, value=org.infinispan.hibernate-cache) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:read-resource - echo Removing eviction from hibernate entity cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:read-resource - echo Removing eviction from hibernate local-query cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:read-resource - echo Removing eviction from keycloak realms cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:read-resource - echo Removing eviction from keycloak users cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:read-resource - echo Removing eviction from keycloak authorization cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:read-resource - echo Removing eviction from keycloak keys cache and replacing with object-memory - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:remove - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:read-resource - echo Changing JNDI reference in connectionsInfinispan SPI - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:undefine-attribute(name=properties) - /profile=$standaloneProfile/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:write-attribute(name=properties,value={cacheContainer=java:jboss/infinispan/container/keycloak}) - echo -end-if - -# Migrate from 4.5.0 to 4.6.0 -if (outcome == success) of /profile=$standaloneProfile/subsystem=elytron/http-authentication-factory=application-http-authentication/:read-resource - echo Removing application-http-authentication from elytron subsystem - /profile=$standaloneProfile/subsystem=elytron/http-authentication-factory=application-http-authentication:remove - echo -end-if - -if (result == undefined) of /profile=$standaloneProfile/subsystem=transactions/:read-attribute(name=node-identifier,include-defaults=false) - echo Setting node-identifier attribute of core-environment element in transactions subsystem - /profile=$standaloneProfile/subsystem=transactions/:write-attribute(name=node-identifier,value=expression "${jboss.tx.node.id:1}") - echo -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=jgroups/stack=udp/transport=UDP/property=port_range:read-attribute(name=value) - try - /profile=$standaloneProfile/subsystem=jgroups/stack=udp/transport=UDP/property=port_range:remove - echo Remove port_range property from UDP transport type of udp stack - catch - echo - end-try -end-if - -if (outcome == success) of /profile=$standaloneProfile/subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:read-attribute(name=value) - try - /profile=$standaloneProfile/subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:remove - echo Remove port_range property from TCP transport type of tcp stack - catch - echo - end-try -end-if - -# Migrate from 4.8.3 to 5.0.0 -if (outcome == failed) of /profile=$standaloneProfile/subsystem=logging/logger=io.jaegertracing.Configuration/:read-resource - echo Adding io.jaegertracing.Configuration logger - /profile=$standaloneProfile/subsystem=logging/logger=io.jaegertracing.Configuration/:add(category=io.jaegertracing.Configuration,level=WARN) - echo -end-if - -# Migrate from 5.0.0 to 6.0.0 -if (result == NON_XA) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:read-attribute(name=mode) - echo Removing NON_XA transaction mode from infinispan/hibernate/entity - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:undefine-attribute(name=mode) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=datasources/data-source=ExampleDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ExampleDS datasource - /profile=$standaloneProfile/subsystem=datasources/data-source=ExampleDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=datasources/data-source=KeycloakDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to KeycloakDS datasource - /profile=$standaloneProfile/subsystem=datasources/data-source=KeycloakDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=ejb3/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ejb3 subsystem - /profile=$standaloneProfile/subsystem=ejb3/:write-attribute(name=statistics-enabled,value=${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=transactions/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to transactions subsystem - /profile=$standaloneProfile/subsystem=transactions/:write-attribute(name=statistics-enabled,value=${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=undertow/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to undertow subsystem - /profile=$standaloneProfile/subsystem=undertow/:write-attribute(name=statistics-enabled,value=${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /profile=$standaloneProfile/subsystem=webservices/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to webservices subsystem - /profile=$standaloneProfile/subsystem=webservices/:write-attribute(name=statistics-enabled,value=${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -# Migrate from 6.0.1 to 7.0.0 -if (outcome == success) of /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem - /profile=$standaloneProfile/subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:remove - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=routing:read-resource - echo Adding local cache routing to web cache container to infinispan subsystem - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=routing/:add - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=sso:read-resource - echo Adding local cache sso to web cache container to infinispan subsystem - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=sso/:add - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=sso/component=locking/:add(isolation=REPEATABLE_READ) - /profile=$standaloneProfile/subsystem=infinispan/cache-container=web/local-cache=sso/component=transaction/:add(mode=BATCH) - echo -end-if - -if (result == "true") of /subsystem=keycloak-server/spi=truststore/provider=file:map-get(name=properties, key=disabled) - echo Disabling Truststore Provider - /subsystem=keycloak-server/spi=truststore/provider=file:write-attribute(name=enabled, value=false) - echo Removing deprecated option - /subsystem=keycloak-server/spi=truststore/provider=file:map-remove(name=properties, key=disabled) - echo -end-if - -# Migrate from 7.0.0 to 8.0.0 - -if ((result.time == 100L) && (result.unit == MILLISECONDS)) of /profile=$standaloneProfile/subsystem=ejb3/thread-pool=default:read-attribute(name=keepalive-time) - echo Changing thread pool keepalive of ejb3 subsystem - /profile=$standaloneProfile/subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.time, value=60) - /profile=$standaloneProfile/subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.unit,value=SECONDS) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/provider=default/:read-resource - echo Adding default hostname provider - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -end-if - -if (result == request) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - echo Switching from request to default hostname provider - - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:write-attribute(name=default-provider,value=default) -end-if - -if (result != fixed) of /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - try - /profile=$standaloneProfile/subsystem=keycloak-server/spi=hostname/provider=fixed:remove - echo Removed config for unused fixed hostname provider - catch - end-try -end-if - -# Migrate from 10.0.2 to 11.0.0 (migration changes for infinispan update from 9.4.18.Final to 10.1.8.Final) - -if (result != org.keycloak.keycloak-model-infinispan) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak:read-attribute(name=module) - echo Setting class loader for keycloak cache-container so JBoss Marshalling works properly with Infinispan 10.x - /profile=$standaloneProfile/subsystem=infinispan/cache-container=keycloak:write-attribute(name=module,value=org.keycloak.keycloak-model-infinispan) - echo -end-if - -# Migrate from 12.0.0 to 13.0.0 - -## Add ability to make use of automatically generated self-signed certificate with Elytron, -## introduced by WFCORE-5095 in Wildfly Core 14.0.0.Final - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/key-store=applicationKS:read-resource - echo Adding key store for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$standaloneProfile/subsystem=elytron/key-store=applicationKS:add(credential-reference={clear-text=password},type=JKS) - /profile=$standaloneProfile/subsystem=elytron/key-store=applicationKS:write-attribute(name=path,value=application.keystore) - /profile=$standaloneProfile/subsystem=elytron/key-store=applicationKS:write-attribute(name=relative-to,value=jboss.domain.config.dir) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/key-manager=applicationKM:read-resource - echo Adding key manager for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$standaloneProfile/subsystem=elytron/key-manager=applicationKM:add(key-store=applicationKS, credential-reference={clear-text=password}) - /profile=$standaloneProfile/subsystem=elytron/key-manager=applicationKM:write-attribute(name=generate-self-signed-certificate-host,value=localhost) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=elytron/server-ssl-context=applicationSSC:read-resource - echo Adding SSL context for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /profile=$standaloneProfile/subsystem=elytron/server-ssl-context=applicationSSC:add(key-manager=applicationKM) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-executor-service' from INT to LONG -if (result == 0) of /profile=$standaloneProfile/subsystem=ee/managed-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed executor service to default value (0 miliseconds) - /profile=$standaloneProfile/subsystem=ee/managed-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-scheduled-executor-service' from INT to LONG -if (result == 0) of /profile=$standaloneProfile/subsystem=ee/managed-scheduled-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed scheduled executor service to default value (0 miliseconds) - /profile=$standaloneProfile/subsystem=ee/managed-scheduled-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Set value of JPA default-datasource from empty string to 'undefined' -if (outcome == success) && (result == "") of /profile=$standaloneProfile/subsystem=jpa:read-attribute(name=default-datasource) - echo Setting value of to default-datasource attribute in JPA subsystem to 'undefined' - /profile=$standaloneProfile/subsystem=jpa:undefine-attribute(name=default-datasource) - echo -end-if - -if (outcome == failed) of /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/:read-resource - echo Add pending-puts local cache standalone and expiration time 60000L - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/:add - /profile=$standaloneProfile/subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/component=expiration/:write-attribute(name=max-idle,value=60000L) - echo -end-if - -echo *** End Migration of /profile=$standaloneProfile *** diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-standalone-ha.cli b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-standalone-ha.cli deleted file mode 100644 index 03225ba072d..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-standalone-ha.cli +++ /dev/null @@ -1,944 +0,0 @@ -echo -echo *** WARNING *** -echo -echo ** If the following embed-server command fails, manual intervention is needed. -echo ** In such case, remove any and declarations referring -echo ** to the removed smallrye modules from the standalone-ha.xml file and rerun this script. -echo ** For details, see Migration Changes section in the Upgrading guide. -echo ** We apologize for this inconvenience. -echo - -embed-server --server-config=standalone-ha.xml - -echo *** Begin Migration *** -echo - -# Migrate from 1.8.1 to 1.9.1 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/replicated-cache=work/:read-resource - echo Adding replicated-cache=work to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/replicated-cache=work/:add(mode=SYNC) - echo -end-if -# realmVersions cache deprecated in 2.1.0 -#if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource -# echo Adding local-cache=realmVersions to keycloak cache container... -# /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:add(indexing=NONE,start=LAZY) -# /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/component=transaction/:write-attribute(name=mode,value=BATCH) -# echo -#end-if - -# Migrate from 1.9.1 to 1.9.2 -if (result == NONE) of /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak users cache container... - /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 1.9.2 to 2.0.0 -# NO CHANGES - -# Migrate from 2.0.0 to 2.1.0 -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource - echo Removing deprecated cache 'realmVersions' - /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:remove - echo -end-if - -# Migrate kecloak-server.json (deprecated in 2.2.0) -if (result == []) of /subsystem=keycloak-server/:read-children-names(child-type=spi) - echo Migrating keycloak-server.json to server cofig xml... - /subsystem=keycloak-server/:migrate-json - echo -end-if - -set persistenceProvider=jpa -if (result == [expression "classpath:${jboss.server.config.dir}/providers/*"]) of /subsystem=keycloak-server/:read-attribute(name=providers) - echo Updating provider to default value - /subsystem=keycloak-server/:write-attribute(name=providers,value=[classpath:${jboss.home.dir}/providers/*]) - echo -end-if -if (result == keycloak) of /subsystem=keycloak-server/theme=defaults:read-attribute(name=default) - echo Undefining default theme... - /subsystem=keycloak-server/theme=defaults:undefine-attribute(name=default) - echo -end-if -if (result == expression "${jboss.server.config.dir}/themes") of /subsystem=keycloak-server/theme=defaults:read-attribute(name=dir) - echo Updating theme dir to default value - /subsystem=keycloak-server/theme=defaults/:write-attribute(name=dir,value=${jboss.home.dir}/themes) - echo -end-if - -# Migrate from 2.1.0 to 2.2.0 -if (outcome == failed) of /extension=org.jboss.as.deployment-scanner/:read-resource - echo Adding deployment-scanner extension... - /extension=org.jboss.as.deployment-scanner/:add(module=org.jboss.as.deployment-scanner) - echo -end-if -if (outcome == failed) of /subsystem=deployment-scanner/:read-resource - echo Adding deployment-scanner... - /subsystem=deployment-scanner/:add - echo -end-if -if (outcome == failed) of /subsystem=deployment-scanner/scanner=default/:read-resource - echo Adding scanner=default - /subsystem=deployment-scanner/scanner=default/:add(path=deployments,relative-to=jboss.server.base.dir,runtime-failure-causes-rollback=${jboss.deployment.scanner.rollback.on.failure:false},scan-interval=5000) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:read-resource - # In migration from 3.0.0 to 3.2.0 there is authorization distributed-cache replaced with local-cache - try - echo - /subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:add(mode=SYNC,owners=1) - echo Added distributed-cache=authorization - catch - end-try -end-if - -if (result == update) of /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-get(name=properties,key=databaseSchema) - echo Updating connectionsJpa default properties... - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-remove(name=properties,key=databaseSchema) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=initializeEmpty,value=true) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationStrategy,value=update) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationExport,value=${jboss.home.dir}/keycloak-database-update.sql) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=userFederatedStorage/:read-resource - echo Adding spi=userFederatedStorage... - /subsystem=keycloak-server/spi=userFederatedStorage/:add(default-provider=$persistenceProvider) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=jta-lookup/:read-resource - echo Adding spi=jta-lookup... - /subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) - /subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) - echo -end-if - -# Migrate from 2.2.0 to 2.2.1 -# NO CHANGES - -# Migrate from 2.2.1 to 2.3.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/:read-resource - echo Adding local-cache=keys to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction and expiration in local-cache=keys... - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=max-entries,value=1000) - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=expiration/:write-attribute(name=max-idle,value=3600000) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=publicKeyStorage/:read-resource - echo Adding spi=publicKeyStorage... - /subsystem=keycloak-server/spi=publicKeyStorage/:add - /subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) - echo -end-if - -# Migrate from 2.3.0 to 2.4.0 -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/:read-resource - echo Replacing invalidation-cache=users with local-cache=users - /subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=users/:add - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction in local-cache=users - /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms/:read-resource - echo Replacing invalidation-cache=realms with local-cache=realms - /subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms/:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/:add - echo -end-if - - -# Migrate from 2.4.0 to 2.5.0 -if (result == NONE) of /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak realms cache... - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 2.5.0 to 2.5.1 -# NO CHANGES - -# Migrate 2.5.1 to 2.5.4 -if (result != REPEATABLE_READ) of /subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:read-attribute(name=isolation) - echo Changing ejb cache locking to REPEATABLE_READ - /subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:write-attribute(name=isolation,value=REPEATABLE_READ) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:read-resource - echo Removing Hibernate immutable-entity cache - /subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:remove -end-if - - -# Migrate from 2.5.4 to 3.0.0 -if (result == jpa) of /subsystem=keycloak-server/spi=eventsStore/:read-attribute(name=default-provider,include-defaults=false) - echo Removing default provider for eventsStore - /subsystem=keycloak-server/spi=eventsStore/:undefine-attribute(name=default-provider) - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=realm/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /subsystem=keycloak-server/spi=realm/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=user/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /subsystem=keycloak-server/spi=user/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=userFederatedStorage/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for userFederatedStorage SPI - /subsystem=keycloak-server/spi=userFederatedStorage/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=authorizationPersister/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for authorizationPersister SPI - /subsystem=keycloak-server/spi=authorizationPersister/:remove - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=userCache/:read-resource - echo Adding userCache SPI - /subsystem=keycloak-server/spi=userCache/:add - /subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=realmCache/:read-resource - echo Adding realmCache SPI - /subsystem=keycloak-server/spi=realmCache/:add - /subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) - echo -end-if - -if ((result.default-provider == undefined) && (result.provider.default.enabled == true)) of /subsystem=keycloak-server/spi=connectionsInfinispan/:read-resource(recursive=true,include-defaults=false) - echo Adding 'default' as default provider for connectionsInfinispan - /subsystem=keycloak-server/spi=connectionsInfinispan/:write-attribute(name=default-provider,value=default) - echo -end-if - -# Migrate from 3.0.0 to 3.2.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/:read-resource - echo Adding distributed-cache=authenticationSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/:read-resource - echo Adding distributed-cache=actionTokens to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/:add(indexing=NONE,mode=SYNC,owners=2) - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=eviction/:write-attribute(name=strategy,value=NONE) - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=eviction/:write-attribute(name=max-entries,value=-1) - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=interval,value=300000) - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=max-idle,value=-1) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:read-resource - echo Replacing distributed-cache=authorization with local-cache=authorization - /subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization/:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:add - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 3.2.0 to 3.2.1 -# NO CHANGES - -# Migrate from 3.2.1 to 3.3.0 -if (outcome == failed) of /core-service=management/security-realm=ApplicationRealm/server-identity=ssl:read-resource - echo Adding keystore to ApplicationRealm... - /core-service=management/security-realm=ApplicationRealm/server-identity=ssl:add(keystore-path=application.keystore,keystore-relative-to=jboss.server.config.dir,keystore-password=password,alias=server,key-password=password,generate-self-signed-certificate-host=localhost) - echo -end-if - -if (outcome == failed) of /extension=org.wildfly.extension.elytron/:read-resource - echo Adding elytron extension... - /extension=org.wildfly.extension.elytron/:add(module=org.wildfly.extension.elytron) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/:read-resource - echo Adding elytron subsystem - /subsystem=elytron:add - /subsystem=elytron/provider-loader=elytron/:add(module=org.wildfly.security.elytron) - /subsystem=elytron/provider-loader=openssl/:add(module=org.wildfly.openssl) - /subsystem=elytron/aggregate-providers=combined-providers/:add(providers=[elytron,openssl]) - /subsystem=elytron/file-audit-log=local-audit/:add(path=audit.log,relative-to=jboss.server.log.dir,format=JSON) - /subsystem=elytron/identity-realm=local/:add(identity="$local") - /subsystem=elytron/properties-realm=ApplicationRealm/:add(users-properties={path=application-users.properties,relative-to=jboss.server.config.dir,digest-realm-name=ApplicationRealm},groups-properties={path=application-roles.properties,relative-to=jboss.server.config.dir}) - /subsystem=elytron/properties-realm=ManagementRealm/:add(users-properties={path=mgmt-users.properties,relative-to=jboss.server.config.dir,digest-realm-name=ManagementRealm},groups-properties={path=mgmt-groups.properties,relative-to=jboss.server.config.dir}) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper/:add(mapping-mode=first,permission-mappings=[{principals=[anonymous],permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]},{match-all=true,permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission},{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]}]) - /subsystem=elytron/constant-realm-mapper=local/:add(realm-name=local) - /subsystem=elytron/simple-role-decoder=groups-to-roles/:add(attribute=groups) - /subsystem=elytron/constant-role-mapper=super-user-mapper/:add(roles=[SuperUser]) - /subsystem=elytron/security-domain=ApplicationDomain/:add(default-realm=ApplicationRealm,permission-mapper=default-permission-mapper,realms=[{realm=ApplicationRealm,role-decoder=groups-to-roles},{realm=local}]) - /subsystem=elytron/security-domain=ManagementDomain/:add(default-realm=ManagementRealm,permission-mapper=default-permission-mapper,realms=[{realm=ManagementRealm,role-decoder=groups-to-roles},{realm=local,role-mapper=super-user-mapper}]) - /subsystem=elytron/provider-http-server-mechanism-factory=global/:add - /subsystem=elytron/http-authentication-factory=management-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ManagementDomain,mechanism-configurations=[{mechanism-name=DIGEST,mechanism-realm-configurations=[{realm-name=ManagementRealm}]}]) - /subsystem=elytron/http-authentication-factory=application-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=BASIC,mechanism-realm-configurations=[{realm-name=Application Realm}]},{mechanism-name=FORM}]) - /subsystem=elytron/provider-sasl-server-factory=global/:add - /subsystem=elytron/mechanism-provider-filtering-sasl-server-factory=elytron/:add(sasl-server-factory=global,filters=[{provider-name=WildFlyElytron}]) - /subsystem=elytron/configurable-sasl-server-factory=configured/:add(sasl-server-factory=elytron,properties={wildfly.sasl.local-user.default-user => "$local"}) - /subsystem=elytron/sasl-authentication-factory=management-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ManagementDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ManagementRealm}]}]) - /subsystem=elytron/sasl-authentication-factory=application-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ApplicationRealm}]}]) - /subsystem=elytron/:write-attribute(name=final-providers,value=combined-providers) - /subsystem=elytron/:write-attribute(name=disallowed-providers,value=[OracleUcrypto]) - echo -end-if - -if (outcome == failed) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Adding channel-creation-options READ_TIMEOUT to ejb3 remote - /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:add(value="${prop.remoting-connector.read.timeout:20}",type=xnio) - echo -end-if - -if (outcome == failed) of /subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:read-resource - echo Adding channel-creation-options MAX_OUTBOUND_MESSAGES to ejb3 remote - /subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:add(value=1234,type=remoting) - echo -end-if - -if (result == ASYNC) of /subsystem=infinispan/cache-container=web/distributed-cache=dist:read-attribute(name=mode) - echo Setting SYNC mode for web cache-container - /subsystem=infinispan/cache-container=web/distributed-cache=dist:write-attribute(name=mode,value=SYNC) - echo -end-if - -if (result == ASYNC) of /subsystem=infinispan/cache-container=ejb/distributed-cache=dist:read-attribute(name=mode) - echo Setting SYNC mode for ejb cache-container - /subsystem=infinispan/cache-container=ejb/distributed-cache=dist:write-attribute(name=mode,value=SYNC) - echo -end-if - -if (result == undefined) of /subsystem=jgroups/channel=ee/:read-attribute(name=cluster) - echo Setting cluster attribute to ejb in jgroups subsystem - /subsystem=jgroups/channel=ee/:write-attribute(name=cluster,value=ejb) - echo -end-if - -if (result != undefined) of /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Unsetting socket-binding from udp FD_SOCK protocol - # it has to be done via remove and add, because socket-binding is not writable attribute - /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:remove - /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:add - echo -end-if - -if (outcome == success) of /subsystem=jgroups/stack=tcp/protocol=FD/:read-resource - echo Replacing tcp FD protocol with FD_ALL - /subsystem=jgroups/stack=tcp/protocol=FD/:remove - /subsystem=jgroups/stack=tcp/protocol=FD_ALL/:add - echo -end-if - -if (result != undefined) of /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Unsetting socket-binding from tcp FD_SOCK protocol - # it has to be done via remove and add, because socket-binding is not writable attribute - /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:remove - /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:add - echo -end-if - -if (outcome == failed) of /subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:read-resource - echo Adding http-invoker to default-host - /subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:add(security-realm=ApplicationRealm) - echo -end-if - -if (result == false) of /subsystem=undertow/server=default-server/http-listener=default/:read-attribute(name=enable-http2) - echo Enabling http2 for default http-listener - /subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=enable-http2,value=true) - echo -end-if - -if (outcome == failed) of /subsystem=undertow/server=default-server/https-listener=https/:read-resource - echo Adding https-listener - /subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,security-realm=ApplicationRealm,enable-http2=true) - echo -end-if - -if (outcome == success) of /socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd/:read-resource - echo Removing socket-binding jgroups-tcp-fd - /socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd/:remove - echo -end-if - -if (outcome == success) of /socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd/:read-resource - echo Removing socket-binding jgroups-udp-fd - /socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd/:remove - echo -end-if - -if (result == 224.0.1.105) of /socket-binding-group=standard-sockets/socket-binding=modcluster/:read-attribute(name=multicast-address) - echo Adding jboss.modcluster.multicast.address property to modcluster multicast-address - /socket-binding-group=standard-sockets/socket-binding=modcluster/:write-attribute(name=multicast-address,value=${jboss.modcluster.multicast.address:224.0.1.105}) - echo -end-if - -# Migrate from 3.3.0 to 3.4.0 -if (outcome == success) of /subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:read-resource - echo Removing X-Powered-By and Server headers from Keycloak responses... - /subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:remove - /subsystem=undertow/server=default-server/host=default-host/filter-ref=x-powered-by-header/:remove - /subsystem=undertow/configuration=filter/response-header=x-powered-by-header/:remove - /subsystem=undertow/configuration=filter/response-header=server-header/:remove - echo -end-if - -if (outcome == success) of /subsystem=jdr/:read-resource - echo Removing jdr subsystem and extension - /subsystem=jdr/:remove - /extension=org.jboss.as.jdr/:remove - echo -end-if - -if (outcome == success) of /subsystem=jsf/:read-resource - echo Removing jsf subsystem and extension - /subsystem=jsf/:remove - /extension=org.jboss.as.jsf/:remove - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/:read-resource - echo Adding distributed-cache=clientSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/:read-resource - echo Adding distributed-cache=offlineClientSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/:add(mode=SYNC,owners=1) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=x509cert-lookup/:read-resource - echo Adding spi=x509cert-lookup... - /subsystem=keycloak-server/spi=x509cert-lookup/:add(default-provider=${keycloak.x509cert.lookup.provider:default}) - /subsystem=keycloak-server/spi=x509cert-lookup/provider=default/:add(enabled=true) - echo -end-if - -# Migrate from 4.2.0 to 4.3.0 -if (outcome == failed) of /subsystem=keycloak-server/spi=hostname/:read-resource - echo Adding spi=hostname... - /subsystem=keycloak-server/spi=hostname/:add(default-provider=request) - /subsystem=keycloak-server/spi=hostname/provider=fixed/:add(properties={hostname => "localhost",httpPort => "-1",httpsPort => "-1"},enabled=true) - echo -end-if - -# Migrate from 4.3.0 to 4.4.0 -if (outcome == failed) of /subsystem=elytron/permission-set=login-permission/:read-resource - echo Adding permission-set=login-permission to elytron - /subsystem=elytron/permission-set=login-permission:add(permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission}]) - /subsystem=elytron/permission-set=default-permissions/:add(permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper/:undefine-attribute(name=permission-mappings) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper:write-attribute(name=permission-mappings,value=[{permission-sets=[{permission-set=login-permission},{permission-set=default-permissions}],match-all=true},{permission-sets=[{permission-set=default-permissions}],principals=[anonymous]}]) - echo -end-if - - -if (result == org.hibernate.infinispan) of /subsystem=infinispan/cache-container=hibernate:read-attribute(name=module) - echo Update hibernate cache module - /subsystem=infinispan/cache-container=hibernate:write-attribute(name=module, value=org.infinispan.hibernate-cache) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate:read-attribute(name=default-cache) - echo Remove default cache from hibernate cache - /subsystem=infinispan/cache-container=hibernate:undefine-attribute(name=default-cache) - echo -end-if -if (result == ASYNC) of /subsystem=infinispan/cache-container=hibernate/replicated-cache=timestamps:read-attribute(name=mode) - echo Switching mode for timestamps cache from ASYNC to SYNC - /subsystem=infinispan/cache-container=hibernate/replicated-cache=timestamps:write-attribute(name=mode, value=SYNC) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:read-resource - echo Removing eviction from hibernate entity cache and replacing with object-memory - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/distributed-cache=local-query/eviction=EVICTION:read-resource - echo Removing eviction from hibernate local-query cache and replacing with object-memory - /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/memory=object:add(size=10000) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:read-resource - echo Removing eviction from keycloak realms cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:read-resource - echo Removing eviction from keycloak users cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:read-resource - echo Removing eviction from keycloak authorization cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:read-resource - echo Removing eviction from keycloak keys cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) - echo -end-if - -if (outcome == success) of /subsystem=jgroups/stack=tcp/protocol=FRAG2:read-resource - echo Upgrade jgroups protocol from FRAG2 to FRAG3 for tcp stack - /subsystem=jgroups/stack=tcp/protocol=FRAG2:remove - /subsystem=jgroups/stack=tcp/protocol=FRAG3:add() - echo -end-if -if (outcome == success) of /subsystem=jgroups/stack=udp/protocol=FRAG2:read-resource - echo Upgrade jgroups protocol from FRAG2 to FRAG3 for udp stack - /subsystem=jgroups/stack=udp/protocol=FRAG2:remove - /subsystem=jgroups/stack=udp/protocol=FRAG3:add() - echo -end-if -if (outcome == success) of /subsystem=remoting/configuration=endpoint:read-resource - echo Remove endpoint from remoting configuration - /subsystem=remoting/configuration=endpoint:remove - echo -end-if -if (outcome == success) of /socket-binding-group=standard-sockets/socket-binding=jgroups-mping:read-attribute(name=port) - /socket-binding-group=standard-sockets/socket-binding=jgroups-mping:undefine-attribute(name=port) -end-if -if (outcome == success) of /socket-binding-group=standard-sockets/socket-binding=modcluster:read-attribute(name=port) - /socket-binding-group=standard-sockets/socket-binding=modcluster:undefine-attribute(name=port) -end-if - -if (outcome == success) of /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:read-resource - echo Changing JNDI reference in connectionsInfinispan SPI - /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:undefine-attribute(name=properties) - /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:write-attribute(name=properties,value={cacheContainer=java:jboss/infinispan/container/keycloak}) - echo -end-if - -# Migrate from 4.4.0 to 4.5.0 -if (outcome == failed) of /subsystem=core-management/:read-resource - echo Adding core-management extension - /extension=org.wildfly.extension.core-management/:add - echo Adding subsystem core-management - /subsystem=core-management/:add - echo -end-if - -# Migrate from 4.5.0 to 4.6.0 -if (outcome == success) of /subsystem=elytron/http-authentication-factory=application-http-authentication/:read-resource - echo Removing application-http-authentication from elytron subsystem - /subsystem=elytron/http-authentication-factory=application-http-authentication:remove - echo -end-if - -if (result == undefined) of /subsystem=transactions/:read-attribute(name=node-identifier,include-defaults=false) - echo Setting node-identifier attribute of core-environment element in transactions subsystem - /subsystem=transactions/:write-attribute(name=node-identifier,value=expression "${jboss.tx.node.id:1}") - echo -end-if - -if (outcome == success) of /subsystem=jgroups/stack=udp/transport=UDP/property=port_range:read-attribute(name=value) - try - /subsystem=jgroups/stack=udp/transport=UDP/property=port_range:remove - echo Remove port_range property from UDP transport type of udp stack - catch - echo - end-try -end-if - -if (outcome == success) of /subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:read-attribute(name=value) - try - /subsystem=jgroups/stack=tcp/transport=TCP/property=port_range:remove - echo Remove port_range property from TCP transport type of tcp stack - catch - echo - end-try -end-if - -# Migrate from 4.8.3 to 5.0.0 -if (outcome == failed) of /subsystem=logging/logger=io.jaegertracing.Configuration/:read-resource - echo Adding io.jaegertracing.Configuration logger - /subsystem=logging/logger=io.jaegertracing.Configuration/:add(category=io.jaegertracing.Configuration,level=WARN) - echo -end-if - -# Migrate from 5.0.0 to 6.0.0 -if (result == NON_XA) of /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:read-attribute(name=mode) - echo Removing NON_XA transaction mode from infinispan/hibernate/entity - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:undefine-attribute(name=mode) - echo -end-if - -if (result == false) of /subsystem=datasources/data-source=ExampleDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ExampleDS datasource - /subsystem=datasources/data-source=ExampleDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=datasources/data-source=KeycloakDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to KeycloakDS datasource - /subsystem=datasources/data-source=KeycloakDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=ejb3/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ejb3 subsystem - /subsystem=ejb3/:write-attribute(name=statistics-enabled,value=${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=transactions/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to transactions subsystem - /subsystem=transactions/:write-attribute(name=statistics-enabled,value=${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=undertow/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to undertow subsystem - /subsystem=undertow/:write-attribute(name=statistics-enabled,value=${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=webservices/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to webservices subsystem - /subsystem=webservices/:write-attribute(name=statistics-enabled,value=${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (outcome == failed) of /extension=org.jboss.as.weld/:read-resource - echo Adding weld extension - /extension=org.jboss.as.weld/:add - echo -end-if - -if (outcome == failed) of /subsystem=weld/:read-resource - echo Adding weld subsystem - /subsystem=weld/:add - echo -end-if - -## KEYCLOAK-16723 / KEYCLOAK-16907: -## -## Loading of MicroProfile SmallRye config, health, and metrics extensions & subsystems got removed -## as part of upgrading to Wildfly 22. See [WFLY-14203], [WFLY-14151], and [WFLY-14108] for details - -# Migrate from 6.0.1 to 7.0.0 -if (outcome == success) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem - /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:remove - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=web/distributed-cache=routing:read-resource - echo Adding distributed cache routing to web cache container to infinispan subsystem - /subsystem=infinispan/cache-container=web/distributed-cache=routing/:add - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=web/replicated-cache=sso:read-resource - echo Adding replicated cache sso to web cache container to infinispan subsystem - /subsystem=infinispan/cache-container=web/replicated-cache=sso/:add - /subsystem=infinispan/cache-container=web/replicated-cache=sso/component=locking/:add(isolation=REPEATABLE_READ) - /subsystem=infinispan/cache-container=web/replicated-cache=sso/component=transaction/:add(mode=BATCH) - echo -end-if - -if (outcome == failed) of /socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd/:read-resource - echo Adding jgroups-tcp-fd socket binding to socket binding group - /socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd/:add(interface=private,port=57600) - echo -end-if - -if (outcome == failed) of /socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd/:read-resource - echo Adding jgroups-udp-fd socket binding to socket binding group - /socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd/:add(interface=private,port=54200) - echo -end-if - -if (result == undefined) of /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Adding socket-binding for FD_SOCK protocol for tcp stack in jgroups subsystem - /subsystem=jgroups/stack=tcp/protocol=FD_SOCK/:write-attribute(name=socket-binding,value=jgroups-tcp-fd) - echo -end-if - -if (result == undefined) of /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:read-attribute(name=socket-binding) - echo Adding socket-binding for FD_SOCK protocol for udp stack in jgroups subsystem - /subsystem=jgroups/stack=udp/protocol=FD_SOCK/:write-attribute(name=socket-binding,value=jgroups-udp-fd) - echo -end-if - -if (result == "true") of /subsystem=keycloak-server/spi=truststore/provider=file:map-get(name=properties, key=disabled) - echo Disabling Truststore Provider - /subsystem=keycloak-server/spi=truststore/provider=file:write-attribute(name=enabled, value=false) - echo Removing deprecated option - /subsystem=keycloak-server/spi=truststore/provider=file:map-remove(name=properties, key=disabled) - echo -end-if - -# Migrate from 7.0.0 to 8.0.0 - -if ((result.time == 100L) && (result.unit == MILLISECONDS)) of /subsystem=ejb3/thread-pool=default:read-attribute(name=keepalive-time) - echo Changing thread pool keepalive of ejb3 subsystem - /subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.time, value=60) - /subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.unit,value=SECONDS) - echo -end-if - -if (result == UP) of /subsystem=microprofile-health-smallrye:read-attribute(name=empty-liveness-checks-status) - echo Adding empty-liveness-checks-status attribute to microprofile-health-smallrye subsystem - /subsystem=microprofile-health-smallrye:write-attribute(name=empty-liveness-checks-status, value=${env.MP_HEALTH_EMPTY_LIVENESS_CHECKS_STATUS:UP}) - echo -end-if - -if (result == UP) of /subsystem=microprofile-health-smallrye:read-attribute(name=empty-readiness-checks-status) - echo Adding empty-readiness-checks-status attribute to microprofile-health-smallrye subsystem - /subsystem=microprofile-health-smallrye:write-attribute(name=empty-readiness-checks-status, value=${env.MP_HEALTH_EMPTY_READINESS_CHECKS_STATUS:UP}) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=hostname/provider=default/:read-resource - echo Adding default hostname provider - /subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -end-if - -if (result == request) of /subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - echo Switching from request to default hostname provider - - /subsystem=keycloak-server/spi=hostname/:write-attribute(name=default-provider,value=default) -end-if - -if (result != fixed) of /subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - try - /subsystem=keycloak-server/spi=hostname/provider=fixed:remove - echo Removed config for unused fixed hostname provider - catch - end-try -end-if - -# Migrate from 10.0.2 to 11.0.0 (migration changes for infinispan update from 9.4.18.Final to 10.1.8.Final) - -if (result != org.keycloak.keycloak-model-infinispan) of /subsystem=infinispan/cache-container=keycloak:read-attribute(name=module) - echo Setting class loader for keycloak cache-container so JBoss Marshalling works properly with Infinispan 10.x - /subsystem=infinispan/cache-container=keycloak:write-attribute(name=module,value=org.keycloak.keycloak-model-infinispan) - echo -end-if - -# Migrate from 11.0.0 to 12.0.0 - -if (result != expression "${jboss.mail.server.host:localhost}") of /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-attribute(name=host) - echo Adding host expression to the SMTP configuration of a remote destination outbound socket binding in the mail subsystem - /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:write-attribute(name=host, value=expression "${jboss.mail.server.host:localhost}") - echo -end-if - -if (result != expression "${jboss.mail.server.port:25}") of /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-attribute(name=port) - echo Adding port expression to the SMTP configuration of a remote destination outbound socket binding in the mail subsystem - /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:write-attribute(name=port, value=expression "${jboss.mail.server.port:25}") - echo -end-if - -# Migrate from 12.0.0 to 13.0.0 - -## KEYCLOAK-16723 / KEYCLOAK-16907: -## -## Based on [WFLY-14203], [WFLY-14151], and [WFLY-14108] remove MicroProfile SmallRye config, health, and metrics if present - -if (outcome == success) of /subsystem=microprofile-config-smallrye/:read-resource - echo Removing microprofile-config-smallrye subsystem... - /subsystem=microprofile-config-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.config-smallrye/:read-resource - echo Removing microprofile.config-smallrye extension... - /extension=org.wildfly.extension.microprofile.config-smallrye/:remove - echo -end-if - -if (outcome == success) of /subsystem=microprofile-health-smallrye/:read-resource - echo Removing microprofile-health-smallrye subsystem... - /subsystem=microprofile-health-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.health-smallrye/:read-resource - echo Removing microprofile.health-smallrye extension... - /extension=org.wildfly.extension.microprofile.health-smallrye/:remove - echo -end-if - -if (outcome == success) of /subsystem=microprofile-metrics-smallrye/:read-resource - echo Removing microprofile-metrics-smallrye subsystem... - /subsystem=microprofile-metrics-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.metrics-smallrye/:read-resource - echo Removing microprofile.metrics-smallrye extension... - /extension=org.wildfly.extension.microprofile.metrics-smallrye/:remove - echo -end-if - -## Yet based on [WFLY-14203], [WFLY-14151], and [WFLY-14108] load -## org.wildfly.extension.health/org.wildfly.extension.metrics extensions & subsystems instead - -if (outcome == failed) of /extension=org.wildfly.extension.health:read-resource - echo Adding WildFly extension for health... - /extension=org.wildfly.extension.health:add(module=org.wildfly.extension.health) - echo -end-if - -if (outcome == failed) of /subsystem=health:read-resource - echo Adding Wildfly subsystem for health... - /subsystem=health:add(security-enabled=false) - echo -end-if - -if (outcome == failed) of /extension=org.wildfly.extension.metrics:read-resource - echo Adding Wildfly extension for base metrics... - /extension=org.wildfly.extension.metrics:add(module=org.wildfly.extension.metrics) - echo -end-if - -if (outcome == failed) of /subsystem=metrics:read-resource - echo Adding Wildfly subsystem for base metrics... - /subsystem=metrics:add(exposed-subsystems=[*],security-enabled=false) - echo -end-if - -if (result == "Keycloak") of :read-attribute(name=product-name) - echo Adding base metrics subsystem prefix to Keycloak... - /subsystem=metrics:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly}) - echo -else - echo Adding base metrics subsystem prefix to RH-SSO... - /subsystem=metrics:write-attribute(name=prefix,value=${wildfly.metrics.prefix:jboss}) - echo -end-if - -## Add ability to make use of automatically generated self-signed certificate with Elytron, -## introduced by WFCORE-5095 in Wildfly Core 14.0.0.Final - -if (outcome == failed) of /subsystem=elytron/key-store=applicationKS:read-resource - echo Adding key store for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/key-store=applicationKS:add(credential-reference={clear-text=password},type=JKS) - /subsystem=elytron/key-store=applicationKS:write-attribute(name=path,value=application.keystore) - /subsystem=elytron/key-store=applicationKS:write-attribute(name=relative-to,value=jboss.server.config.dir) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/key-manager=applicationKM:read-resource - echo Adding key manager for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/key-manager=applicationKM:add(key-store=applicationKS, credential-reference={clear-text=password}) - /subsystem=elytron/key-manager=applicationKM:write-attribute(name=generate-self-signed-certificate-host,value=localhost) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/server-ssl-context=applicationSSC:read-resource - echo Adding SSL context for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/server-ssl-context=applicationSSC:add(key-manager=applicationKM) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-executor-service' from INT to LONG -if (result == 0) of /subsystem=ee/managed-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed executor service to default value (0 miliseconds) - /subsystem=ee/managed-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-scheduled-executor-service' from INT to LONG -if (result == 0) of /subsystem=ee/managed-scheduled-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed scheduled executor service to default value (0 miliseconds) - /subsystem=ee/managed-scheduled-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Set value of JPA default-datasource from empty string to 'undefined' -if (outcome == success) && (result == "") of /subsystem=jpa:read-attribute(name=default-datasource) - echo Setting value of to default-datasource attribute in JPA subsystem to 'undefined' - /subsystem=jpa:undefine-attribute(name=default-datasource) - echo -end-if - -# Migrate from 14.0.0 to 15.0.0 - -# Add expiration lifespan configuration to every distributed and replicated cache. -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/replicated-cache=work/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'work' replicated-cache - /subsystem=infinispan/cache-container=keycloak/replicated-cache=work/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=sessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'sessions' replicated-cache - /subsystem=infinispan/cache-container=keycloak/distributed-cache=sessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'clientSessions' distributed-cache - /subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineSessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'offlineSessions' distributed-cache - /subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineSessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'offlineClientSessions' distributed-cache - /subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'authenticationSessions' distributed-cache - /subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=loginFailures/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'loginFailures' distributed-cache - /subsystem=infinispan/cache-container=keycloak/distributed-cache=loginFailures/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:read-attribute(name=lifespan) - echo Setting expiration lifespan for 'actionTokens' distributed-cache - /subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/component=expiration/:write-attribute(name=lifespan,value=900000000000000000) - echo -end-if - -# Migrate from 15.0.0 to 16.0.0 - -if (outcome == failed) of /subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/:read-resource - echo Add pending-puts local cache clustered and expiration time 60000L - /subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/:add - /subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/component=expiration/:write-attribute(name=max-idle,value=60000L) - echo -end-if - -echo *** End Migration *** diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-standalone.cli b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-standalone.cli deleted file mode 100644 index d614898d437..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/bin/migrate-standalone.cli +++ /dev/null @@ -1,744 +0,0 @@ -echo -echo *** WARNING *** -echo -echo ** If the following embed-server command fails, manual intervention is needed. -echo ** In such case, remove any and declarations referring -echo ** to the removed smallrye modules from the standalone.xml file and rerun this script. -echo ** For details, see Migration Changes section in the Upgrading guide. -echo ** We apologize for this inconvenience. -echo - -embed-server --server-config=standalone.xml - -echo *** Begin Migration *** -echo - -# Migrate from 1.8.1 to 1.9.1 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=work/:read-resource - echo Adding local-cache=work to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=work/:add(indexing=NONE,start=LAZY) - echo -end-if -# realmVersions cache deprecated in 2.1.0 -#if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource -# echo Adding local-cache=realmVersions to keycloak cache container... -# /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:add(indexing=NONE,start=LAZY) -# /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/component=transaction/:write-attribute(name=mode,value=BATCH) -# echo -#end-if - - -# Migrate from 1.9.1 to 1.9.2 -if (result == NONE) of /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak users cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=users/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 1.9.2 to 1.9.8 -# NO CHANGES - -# Migrate from 1.9.8 to 2.0.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:read-resource - echo Adding local-cache=authorization to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating authorization cache container.. - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=100) - echo -end-if - -# Migrate from 2.0.0 to 2.1.0 -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:read-resource - echo Removing deprecated cache 'realmVersions' - /subsystem=infinispan/cache-container=keycloak/local-cache=realmVersions/:remove - echo -end-if - -# Migrate kecloak-server.json (deprecated in 2.2.0) -if (result == []) of /subsystem=keycloak-server/:read-children-names(child-type=spi) - echo Migrating keycloak-server.json to server cofig xml... - /subsystem=keycloak-server/:migrate-json - echo -end-if -if (result == [expression "classpath:${jboss.server.config.dir}/providers/*"]) of /subsystem=keycloak-server/:read-attribute(name=providers) - echo Updating provider to default value - /subsystem=keycloak-server/:write-attribute(name=providers,value=[classpath:${jboss.home.dir}/providers/*]) - echo -end-if -if (result == keycloak) of /subsystem=keycloak-server/theme=defaults:read-attribute(name=default) - echo Undefining default theme... - /subsystem=keycloak-server/theme=defaults:undefine-attribute(name=default) - echo -end-if -if (result == expression "${jboss.server.config.dir}/themes") of /subsystem=keycloak-server/theme=defaults:read-attribute(name=dir) - echo Updating theme dir to default value - /subsystem=keycloak-server/theme=defaults/:write-attribute(name=dir,value=${jboss.home.dir}/themes) - echo -end-if - -set persistenceProvider=jpa - -# Migrate from 2.1.0 to 2.2.0 -if (outcome == failed) of /extension=org.jboss.as.deployment-scanner/:read-resource - echo Adding deployment-scanner extension... - /extension=org.jboss.as.deployment-scanner/:add(module=org.jboss.as.deployment-scanner) - echo -end-if -if (outcome == failed) of /subsystem=deployment-scanner/:read-resource - echo Adding deployment-scanner... - /subsystem=deployment-scanner/:add - echo -end-if -if (outcome == failed) of /subsystem=deployment-scanner/scanner=default/:read-resource - echo Adding scanner=default - /subsystem=deployment-scanner/scanner=default/:add(path=deployments,relative-to=jboss.server.base.dir,runtime-failure-causes-rollback=${jboss.deployment.scanner.rollback.on.failure:false},scan-interval=5000) - echo -end-if -if (result == update) of /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-get(name=properties,key=databaseSchema) - echo Updating connectionsJpa default properties... - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-remove(name=properties,key=databaseSchema) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=initializeEmpty,value=true) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationStrategy,value=update) - /subsystem=keycloak-server/spi=connectionsJpa/provider=default/:map-put(name=properties,key=migrationExport,value=${jboss.home.dir}/keycloak-database-update.sql) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=userFederatedStorage/:read-resource - echo Adding spi=userFederatedStorage... - /subsystem=keycloak-server/spi=userFederatedStorage/:add(default-provider=$persistenceProvider) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=jta-lookup/:read-resource - echo Adding spi=jta-lookup... - /subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) - /subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) - echo -end-if - -# Migrate from 2.2.0 to 2.2.1 -# NO CHANGES - -# Migrate from 2.2.1 to 2.3.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/:read-resource - echo Adding local-cache=keys to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/:add(indexing=NONE,start=LAZY) - echo -end-if -if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:read-attribute(name=strategy,include-defaults=false) - echo Updating eviction and expiration in local-cache=keys... - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=eviction/:write-attribute(name=max-entries,value=1000) - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/component=expiration/:write-attribute(name=max-idle,value=3600000) - echo -end-if -if (outcome == failed) of /subsystem=keycloak-server/spi=publicKeyStorage/:read-resource - echo Adding spi=publicKeyStorage... - /subsystem=keycloak-server/spi=publicKeyStorage/:add - /subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) - echo -end-if - -# Migrate from 2.3.0 to 2.4.0 -# NO CHANGES - -# Migrate from 2.4.0 to 2.5.0 -if (result == NONE) of /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:read-attribute(name=strategy) - echo Adding eviction strategy to keycloak realms cache... - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=strategy,value=LRU) - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 2.5.0 to 2.5.1 -# NO CHANGES - -# Migrate 2.5.1 to 2.5.4 -if (result != REPEATABLE_READ) of /subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:read-attribute(name=isolation) - echo Changing ejb cache locking to REPEATABLE_READ - /subsystem=infinispan/cache-container=ejb/local-cache=persistent/component=locking/:write-attribute(name=isolation,value=REPEATABLE_READ) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:read-resource - echo Removing Hibernate immutable-entity cache - /subsystem=infinispan/cache-container=hibernate/local-cache=immutable-entity/:remove -end-if - - -# Migrate from 2.5.4 to 3.0.0 -if (result == jpa) of /subsystem=keycloak-server/spi=eventsStore/:read-attribute(name=default-provider,include-defaults=false) - echo Removing default provider for eventsStore - /subsystem=keycloak-server/spi=eventsStore/:undefine-attribute(name=default-provider) - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=realm/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /subsystem=keycloak-server/spi=realm/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=user/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for user SPI - /subsystem=keycloak-server/spi=user/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=userFederatedStorage/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for userFederatedStorage SPI - /subsystem=keycloak-server/spi=userFederatedStorage/:remove - echo -end-if - -if ((outcome == success) && (result.default-provider == jpa) && (result.provider == undefined)) of /subsystem=keycloak-server/spi=authorizationPersister/:read-resource(recursive=false,include-defaults=false) - echo Removing declaration for authorizationPersister SPI - /subsystem=keycloak-server/spi=authorizationPersister/:remove - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=userCache/:read-resource - echo Adding userCache SPI - /subsystem=keycloak-server/spi=userCache/:add - /subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=realmCache/:read-resource - echo Adding realmCache SPI - /subsystem=keycloak-server/spi=realmCache/:add - /subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) - echo -end-if - -if ((result.default-provider == undefined) && (result.provider.default.enabled == true)) of /subsystem=keycloak-server/spi=connectionsInfinispan/:read-resource(recursive=true,include-defaults=false) - echo Adding 'default' as default provider for connectionsInfinispan - /subsystem=keycloak-server/spi=connectionsInfinispan/:write-attribute(name=default-provider,value=default) - echo -end-if - -# Migrate from 3.0.0 to 3.1.0 -# NO CHANGES - -# Migrate from 3.1.0 to 3.2.0 -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions/:read-resource - echo Adding local-cache=authenticationSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/:read-resource - echo Adding local-cache=actionTokens to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/:add(indexing=NONE,start=LAZY) - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=eviction/:write-attribute(name=strategy,value=NONE) - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=eviction/:write-attribute(name=max-entries,value=-1) - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=expiration/:write-attribute(name=interval,value=300000) - /subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/component=expiration/:write-attribute(name=max-idle,value=-1) - echo -end-if - -if (result == 100L) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:read-attribute(name=max-entries) - echo Updating eviction in local-cache=authorization... - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/component=eviction/:write-attribute(name=max-entries,value=10000) - echo -end-if - -# Migrate from 3.2.0 to 3.2.1 -# NO CHANGES - -# Migrate from 3.2.1 to 3.3.0 -if (outcome == failed) of /core-service=management/security-realm=ApplicationRealm/server-identity=ssl:read-resource - echo Adding keystore to ApplicationRealm... - /core-service=management/security-realm=ApplicationRealm/server-identity=ssl:add(keystore-path=application.keystore,keystore-relative-to=jboss.server.config.dir,keystore-password=password,alias=server,key-password=password,generate-self-signed-certificate-host=localhost) - echo -end-if - -if (outcome == failed) of /extension=org.wildfly.extension.elytron/:read-resource - echo Adding elytron extension... - /extension=org.wildfly.extension.elytron/:add(module=org.wildfly.extension.elytron) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/:read-resource - echo Adding elytron subsystem - /subsystem=elytron:add - /subsystem=elytron/provider-loader=elytron/:add(module=org.wildfly.security.elytron) - /subsystem=elytron/provider-loader=openssl/:add(module=org.wildfly.openssl) - /subsystem=elytron/aggregate-providers=combined-providers/:add(providers=[elytron,openssl]) - /subsystem=elytron/file-audit-log=local-audit/:add(path=audit.log,relative-to=jboss.server.log.dir,format=JSON) - /subsystem=elytron/identity-realm=local/:add(identity="$local") - /subsystem=elytron/properties-realm=ApplicationRealm/:add(users-properties={path=application-users.properties,relative-to=jboss.server.config.dir,digest-realm-name=ApplicationRealm},groups-properties={path=application-roles.properties,relative-to=jboss.server.config.dir}) - /subsystem=elytron/properties-realm=ManagementRealm/:add(users-properties={path=mgmt-users.properties,relative-to=jboss.server.config.dir,digest-realm-name=ManagementRealm},groups-properties={path=mgmt-groups.properties,relative-to=jboss.server.config.dir}) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper/:add(mapping-mode=first,permission-mappings=[{principals=[anonymous],permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]},{match-all=true,permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission},{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]}]) - /subsystem=elytron/constant-realm-mapper=local/:add(realm-name=local) - /subsystem=elytron/simple-role-decoder=groups-to-roles/:add(attribute=groups) - /subsystem=elytron/constant-role-mapper=super-user-mapper/:add(roles=[SuperUser]) - /subsystem=elytron/security-domain=ApplicationDomain/:add(default-realm=ApplicationRealm,permission-mapper=default-permission-mapper,realms=[{realm=ApplicationRealm,role-decoder=groups-to-roles},{realm=local}]) - /subsystem=elytron/security-domain=ManagementDomain/:add(default-realm=ManagementRealm,permission-mapper=default-permission-mapper,realms=[{realm=ManagementRealm,role-decoder=groups-to-roles},{realm=local,role-mapper=super-user-mapper}]) - /subsystem=elytron/provider-http-server-mechanism-factory=global/:add - /subsystem=elytron/http-authentication-factory=management-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ManagementDomain,mechanism-configurations=[{mechanism-name=DIGEST,mechanism-realm-configurations=[{realm-name=ManagementRealm}]}]) - /subsystem=elytron/http-authentication-factory=application-http-authentication/:add(http-server-mechanism-factory=global,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=BASIC,mechanism-realm-configurations=[{realm-name=Application Realm}]},{mechanism-name=FORM}]) - /subsystem=elytron/provider-sasl-server-factory=global/:add - /subsystem=elytron/mechanism-provider-filtering-sasl-server-factory=elytron/:add(sasl-server-factory=global,filters=[{provider-name=WildFlyElytron}]) - /subsystem=elytron/configurable-sasl-server-factory=configured/:add(sasl-server-factory=elytron,properties={wildfly.sasl.local-user.default-user => "$local"}) - /subsystem=elytron/sasl-authentication-factory=management-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ManagementDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ManagementRealm}]}]) - /subsystem=elytron/sasl-authentication-factory=application-sasl-authentication/:add(sasl-server-factory=configured,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=JBOSS-LOCAL-USER,realm-mapper=local},{mechanism-name=DIGEST-MD5,mechanism-realm-configurations=[{realm-name=ApplicationRealm}]}]) - /subsystem=elytron/:write-attribute(name=final-providers,value=combined-providers) - /subsystem=elytron/:write-attribute(name=disallowed-providers,value=[OracleUcrypto]) - echo -end-if - -if (outcome == failed) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Adding channel-creation-options READ_TIMEOUT to ejb3 remote - /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:add(value="${prop.remoting-connector.read.timeout:20}",type=xnio) - echo -end-if - -if (outcome == failed) of /subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:read-resource - echo Adding channel-creation-options MAX_OUTBOUND_MESSAGES to ejb3 remote - /subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES/:add(value=1234,type=remoting) - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=web/local-cache=persistent:read-resource - echo Removing local-cache persistent from web cache-container - /subsystem=infinispan/cache-container=web/local-cache=persistent:remove - echo -end-if - -if (outcome == success) of /subsystem=infinispan/cache-container=ejb/local-cache=persistent:read-resource - echo Removing local-cache persistent from ejb cache-container - /subsystem=infinispan/cache-container=ejb/local-cache=persistent:remove - echo -end-if - -if (result == local-query) of /subsystem=infinispan/cache-container=hibernate/:read-attribute(name=default-cache) - echo Removing default-cache from hibernate cache-container - /subsystem=infinispan/cache-container=hibernate/:undefine-attribute(name=default-cache) - echo -end-if - -if (outcome == failed) of /subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:read-resource - echo Adding http-invoker to default-host - /subsystem=undertow/server=default-server/host=default-host/setting=http-invoker/:add(security-realm=ApplicationRealm) - echo -end-if - -if (result == false) of /subsystem=undertow/server=default-server/http-listener=default/:read-attribute(name=enable-http2) - echo Enabling http2 for default http-listener - /subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=enable-http2,value=true) - echo -end-if - -if (outcome == failed) of /subsystem=undertow/server=default-server/https-listener=https/:read-resource - echo Adding https-listener - /subsystem=undertow/server=default-server/https-listener=https/:add(socket-binding=https,security-realm=ApplicationRealm,enable-http2=true) - echo -end-if - -# Migrate from 3.3.0 to 3.4.0 -if (outcome == success) of /subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:read-resource - echo Removing X-Powered-By and Server headers from Keycloak responses... - /subsystem=undertow/server=default-server/host=default-host/filter-ref=server-header/:remove - /subsystem=undertow/server=default-server/host=default-host/filter-ref=x-powered-by-header/:remove - /subsystem=undertow/configuration=filter/response-header=x-powered-by-header/:remove - /subsystem=undertow/configuration=filter/response-header=server-header/:remove - echo -end-if - -if (outcome == success) of /subsystem=jdr/:read-resource - echo Removing jdr subsystem and extension - /subsystem=jdr/:remove - /extension=org.jboss.as.jdr/:remove - echo -end-if - -if (outcome == success) of /subsystem=jsf/:read-resource - echo Removing jsf subsystem and extension - /subsystem=jsf/:remove - /extension=org.jboss.as.jsf/:remove - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions/:read-resource - echo Adding local-cache=offlineClientSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions/:read-resource - echo Adding local-cache=clientSessions to keycloak cache container... - /subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions/:add(indexing=NONE,start=LAZY) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=x509cert-lookup/:read-resource - echo Adding spi=x509cert-lookup... - /subsystem=keycloak-server/spi=x509cert-lookup/:add(default-provider=${keycloak.x509cert.lookup.provider:default}) - /subsystem=keycloak-server/spi=x509cert-lookup/provider=default/:add(enabled=true) - echo -end-if - -# Migrate from 4.2.0 to 4.3.0 -if (outcome == failed) of /subsystem=keycloak-server/spi=hostname/:read-resource - echo Adding spi=hostname... - /subsystem=keycloak-server/spi=hostname/:add(default-provider=request) - /subsystem=keycloak-server/spi=hostname/provider=fixed/:add(properties={hostname => "localhost",httpPort => "-1",httpsPort => "-1"},enabled=true) - echo -end-if - -# Migrate from 4.3.0 to 4.4.0 -if (outcome == failed) of /subsystem=elytron/permission-set=login-permission/:read-resource - echo Adding permission-set=login-permission to elytron - /subsystem=elytron/permission-set=login-permission:add(permissions=[{class-name=org.wildfly.security.auth.permission.LoginPermission}]) - /subsystem=elytron/permission-set=default-permissions/:add(permissions=[{class-name=org.wildfly.extension.batch.jberet.deployment.BatchPermission,module=org.wildfly.extension.batch.jberet,target-name=*},{class-name=org.wildfly.transaction.client.RemoteTransactionPermission,module=org.wildfly.transaction.client},{class-name=org.jboss.ejb.client.RemoteEJBPermission,module=org.jboss.ejb-client}]) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper/:undefine-attribute(name=permission-mappings) - /subsystem=elytron/simple-permission-mapper=default-permission-mapper:write-attribute(name=permission-mappings,value=[{permission-sets=[{permission-set=login-permission},{permission-set=default-permissions}],match-all=true},{permission-sets=[{permission-set=default-permissions}],principals=[anonymous]}]) - echo -end-if - -if (result == org.hibernate.infinispan) of /subsystem=infinispan/cache-container=hibernate:read-attribute(name=module) - echo Update hibernate cache module - /subsystem=infinispan/cache-container=hibernate:write-attribute(name=module, value=org.infinispan.hibernate-cache) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:read-resource - echo Removing eviction from hibernate entity cache and replacing with object-memory - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:read-resource - echo Removing eviction from hibernate local-query cache and replacing with object-memory - /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=hibernate/local-cache=local-query/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:read-resource - echo Removing eviction from keycloak realms cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:read-resource - echo Removing eviction from keycloak users cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:read-resource - echo Removing eviction from keycloak authorization cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) - echo -end-if -if (outcome == success) of /subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:read-resource - echo Removing eviction from keycloak keys cache and replacing with object-memory - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:remove - /subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) - echo -end-if - -if (outcome == success) of /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:read-resource - echo Changing JNDI reference in connectionsInfinispan SPI - /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:undefine-attribute(name=properties) - /subsystem=keycloak-server/spi=connectionsInfinispan/provider=default:write-attribute(name=properties,value={cacheContainer=java:jboss/infinispan/container/keycloak}) - echo -end-if - -# Migrate from 4.4.0 to 4.5.0 -if (outcome == failed) of /subsystem=core-management/:read-resource - echo Adding core-management extension - /extension=org.wildfly.extension.core-management/:add - echo Adding subsystem core-management - /subsystem=core-management/:add - echo -end-if - -# Migrate from 4.5.0 to 4.6.0 -if (outcome == success) of /subsystem=elytron/http-authentication-factory=application-http-authentication/:read-resource - echo Removing application-http-authentication from elytron subsystem - /subsystem=elytron/http-authentication-factory=application-http-authentication:remove - echo -end-if - -if (result == undefined) of /subsystem=transactions/:read-attribute(name=node-identifier,include-defaults=false) - echo Setting node-identifier attribute of core-environment element in transactions subsystem - /subsystem=transactions/:write-attribute(name=node-identifier,value=expression "${jboss.tx.node.id:1}") - echo -end-if - -# Migrate from 4.8.3 to 5.0.0 -if (outcome == failed) of /subsystem=logging/logger=io.jaegertracing.Configuration/:read-resource - echo Adding io.jaegertracing.Configuration logger - /subsystem=logging/logger=io.jaegertracing.Configuration/:add(category=io.jaegertracing.Configuration,level=WARN) - echo -end-if - -# Migrate from 5.0.0 to 6.0.0 -if (result == NON_XA) of /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:read-attribute(name=mode) - echo Removing NON_XA transaction mode from infinispan/hibernate/entity - /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=transaction/:undefine-attribute(name=mode) - echo -end-if - -if (result == false) of /subsystem=datasources/data-source=ExampleDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ExampleDS datasource - /subsystem=datasources/data-source=ExampleDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=datasources/data-source=KeycloakDS/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to KeycloakDS datasource - /subsystem=datasources/data-source=KeycloakDS/:write-attribute(name=statistics-enabled,value=${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=ejb3/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to ejb3 subsystem - /subsystem=ejb3/:write-attribute(name=statistics-enabled,value=${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=transactions/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to transactions subsystem - /subsystem=transactions/:write-attribute(name=statistics-enabled,value=${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=undertow/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to undertow subsystem - /subsystem=undertow/:write-attribute(name=statistics-enabled,value=${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (result == false) of /subsystem=webservices/:read-attribute(name=statistics-enabled) - echo Adding statistics-enabled expression to webservices subsystem - /subsystem=webservices/:write-attribute(name=statistics-enabled,value=${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}) - echo -end-if - -if (outcome == failed) of /extension=org.jboss.as.weld/:read-resource - echo Adding weld extension - /extension=org.jboss.as.weld/:add - echo -end-if - -if (outcome == failed) of /subsystem=weld/:read-resource - echo Adding weld subsystem - /subsystem=weld/:add - echo -end-if - -## KEYCLOAK-16723 / KEYCLOAK-16907: -## -## Loading of MicroProfile SmallRye config, health, and metrics extensions & subsystems got removed -## as part of upgrading to Wildfly 22. See [WFLY-14203], [WFLY-14151], and [WFLY-14108] for details - -# Migrate from 6.0.1 to 7.0.0 -if (outcome == success) of /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:read-resource - echo Removing READ_TIMEOUT option from remote service from ejb3 subsystem - /subsystem=ejb3/service=remote/channel-creation-options=READ_TIMEOUT/:remove - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=web/local-cache=routing:read-resource - echo Adding local cache routing to web cache container to infinispan subsystem - /subsystem=infinispan/cache-container=web/local-cache=routing/:add - echo -end-if - -if (outcome == failed) of /subsystem=infinispan/cache-container=web/local-cache=sso:read-resource - echo Adding local cache sso to web cache container to infinispan subsystem - /subsystem=infinispan/cache-container=web/local-cache=sso/:add - /subsystem=infinispan/cache-container=web/local-cache=sso/component=locking/:add(isolation=REPEATABLE_READ) - /subsystem=infinispan/cache-container=web/local-cache=sso/component=transaction/:add(mode=BATCH) - echo -end-if - -if (result == "true") of /subsystem=keycloak-server/spi=truststore/provider=file:map-get(name=properties, key=disabled) - echo Disabling Truststore Provider - /subsystem=keycloak-server/spi=truststore/provider=file:write-attribute(name=enabled, value=false) - echo Removing deprecated option - /subsystem=keycloak-server/spi=truststore/provider=file:map-remove(name=properties, key=disabled) - echo -end-if - -# Migrate from 7.0.0 to 8.0.0 - -if ((result.time == 100L) && (result.unit == MILLISECONDS)) of /subsystem=ejb3/thread-pool=default:read-attribute(name=keepalive-time) - echo Changing thread pool keepalive of ejb3 subsystem - /subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.time, value=60) - /subsystem=ejb3/thread-pool=default:write-attribute(name=keepalive-time.unit,value=SECONDS) - echo -end-if - -if (outcome == failed) of /subsystem=keycloak-server/spi=hostname/provider=default/:read-resource - echo Adding default hostname provider - /subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -end-if - -if (result == request) of /subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - echo Switching from request to default hostname provider - - /subsystem=keycloak-server/spi=hostname/:write-attribute(name=default-provider,value=default) -end-if - -if (result != fixed) of /subsystem=keycloak-server/spi=hostname/:read-attribute(name=default-provider) - try - /subsystem=keycloak-server/spi=hostname/provider=fixed:remove - echo Removed config for unused fixed hostname provider - catch - end-try -end-if - -# Migrate from 10.0.2 to 11.0.0 (migration changes for infinispan update from 9.4.18.Final to 10.1.8.Final) - -if (result != org.keycloak.keycloak-model-infinispan) of /subsystem=infinispan/cache-container=keycloak:read-attribute(name=module) - echo Setting class loader for keycloak cache-container so JBoss Marshalling works properly with Infinispan 10.x - /subsystem=infinispan/cache-container=keycloak:write-attribute(name=module,value=org.keycloak.keycloak-model-infinispan) - echo -end-if - -# Migrate from 11.0.0 to 12.0.0 - -if (result != expression "${jboss.mail.server.host:localhost}") of /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-attribute(name=host) - echo Adding host expression to the SMTP configuration of a remote destination outbound socket binding in the mail subsystem - /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:write-attribute(name=host, value=expression "${jboss.mail.server.host:localhost}") - echo -end-if - -if (result != expression "${jboss.mail.server.port:25}") of /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-attribute(name=port) - echo Adding port expression to the SMTP configuration of a remote destination outbound socket binding in the mail subsystem - /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:write-attribute(name=port, value=expression "${jboss.mail.server.port:25}") - echo -end-if - -# Migrate from 12.0.0 to 13.0.0 - -## KEYCLOAK-16723 / KEYCLOAK-16907: -## -## Based on [WFLY-14203], [WFLY-14151], and [WFLY-14108] remove MicroProfile SmallRye config, health, and metrics if present - -if (outcome == success) of /subsystem=microprofile-config-smallrye/:read-resource - echo Removing microprofile-config-smallrye subsystem... - /subsystem=microprofile-config-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.config-smallrye/:read-resource - echo Removing microprofile.config-smallrye extension... - /extension=org.wildfly.extension.microprofile.config-smallrye/:remove - echo -end-if - -if (outcome == success) of /subsystem=microprofile-health-smallrye/:read-resource - echo Removing microprofile-health-smallrye subsystem... - /subsystem=microprofile-health-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.health-smallrye/:read-resource - echo Removing microprofile.health-smallrye extension... - /extension=org.wildfly.extension.microprofile.health-smallrye/:remove - echo -end-if - -if (outcome == success) of /subsystem=microprofile-metrics-smallrye/:read-resource - echo Removing microprofile-metrics-smallrye subsystem... - /subsystem=microprofile-metrics-smallrye/:remove - echo -end-if - -if (outcome == success) of /extension=org.wildfly.extension.microprofile.metrics-smallrye/:read-resource - echo Removing microprofile.metrics-smallrye extension... - /extension=org.wildfly.extension.microprofile.metrics-smallrye/:remove - echo -end-if - -## Yet based on [WFLY-14203], [WFLY-14151], and [WFLY-14108] load -## org.wildfly.extension.health/org.wildfly.extension.metrics extensions & subsystems instead - -if (outcome == failed) of /extension=org.wildfly.extension.health:read-resource - echo Adding WildFly extension for health... - /extension=org.wildfly.extension.health:add(module=org.wildfly.extension.health) - echo -end-if - -if (outcome == failed) of /subsystem=health:read-resource - echo Adding Wildfly subsystem for health... - /subsystem=health:add(security-enabled=false) - echo -end-if - -if (outcome == failed) of /extension=org.wildfly.extension.metrics:read-resource - echo Adding Wildfly extension for base metrics... - /extension=org.wildfly.extension.metrics:add(module=org.wildfly.extension.metrics) - echo -end-if - -if (outcome == failed) of /subsystem=metrics:read-resource - echo Adding Wildfly subsystem for base metrics... - /subsystem=metrics:add(exposed-subsystems=[*],security-enabled=false) - echo -end-if - -if (result == "Keycloak") of :read-attribute(name=product-name) - echo Adding base metrics subsystem prefix to Keycloak... - /subsystem=metrics:write-attribute(name=prefix,value=${wildfly.metrics.prefix:wildfly}) - echo -else - echo Adding base metrics subsystem prefix to RH-SSO... - /subsystem=metrics:write-attribute(name=prefix,value=${wildfly.metrics.prefix:jboss}) - echo -end-if - -## Add ability to make use of automatically generated self-signed certificate with Elytron, -## introduced by WFCORE-5095 in Wildfly Core 14.0.0.Final - -if (outcome == failed) of /subsystem=elytron/key-store=applicationKS:read-resource - echo Adding key store for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/key-store=applicationKS:add(credential-reference={clear-text=password},type=JKS) - /subsystem=elytron/key-store=applicationKS:write-attribute(name=path,value=application.keystore) - /subsystem=elytron/key-store=applicationKS:write-attribute(name=relative-to,value=jboss.server.config.dir) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/key-manager=applicationKM:read-resource - echo Adding key manager for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/key-manager=applicationKM:add(key-store=applicationKS, credential-reference={clear-text=password}) - /subsystem=elytron/key-manager=applicationKM:write-attribute(name=generate-self-signed-certificate-host,value=localhost) - echo -end-if - -if (outcome == failed) of /subsystem=elytron/server-ssl-context=applicationSSC:read-resource - echo Adding SSL context for the feature of auto-generation of self-signed certificate to Elytron subsystem... - /subsystem=elytron/server-ssl-context=applicationSSC:add(key-manager=applicationKM) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-executor-service' from INT to LONG -if (result == 0) of /subsystem=ee/managed-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed executor service to default value (0 miliseconds) - /subsystem=ee/managed-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Convert type of 'hung-task-termination-period' attribute for 'managed-scheduled-executor-service' from INT to LONG -if (result == 0) of /subsystem=ee/managed-scheduled-executor-service=default:read-attribute(name=hung-task-termination-period) - echo Setting period for automatic termination of hung tasks for managed scheduled executor service to default value (0 miliseconds) - /subsystem=ee/managed-scheduled-executor-service=default:write-attribute(name=hung-task-termination-period,value=0L) - echo -end-if - -## Set value of JPA default-datasource from empty string to 'undefined' -if (outcome == success) && (result == "") of /subsystem=jpa:read-attribute(name=default-datasource) - echo Setting value of to default-datasource attribute in JPA subsystem to 'undefined' - /subsystem=jpa:undefine-attribute(name=default-datasource) - echo -end-if - -echo *** End Migration *** diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/apache license 2.0.txt b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/apache license 2.0.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/apache license 2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/licenses.css b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/licenses.css deleted file mode 100644 index 566d3c9ba01..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/licenses.css +++ /dev/null @@ -1,22 +0,0 @@ -table { - border-collapse: collapse; -} - -table, th, td { - border: 1px solid navy; -} - -th { - text-align: left; - background-color: #BCC6CC; - -} - -th, td { - padding: 2px; - text-align: left; -} - -tr:nth-child(even) { - background-color: #f2f2f2; -} \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/licenses.xsl b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/licenses.xsl deleted file mode 100644 index cdd1a0e1845..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/content/docs/licenses/licenses.xsl +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - -

- Servlet Feature Pack

-

The following material has been provided for informational purposes only, and should not be relied upon or construed as a legal opinion or legal advice.

- - - - - - - - - - - - - - - - - - - -
Package GroupPackage ArtifactPackage VersionRemote LicensesLocal Licenses
- -
-
-
- - - - - - -
-
-
- - -
- - - - - - gnu general public license v2.0 only.html - - - .html - - - - - - -
diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-keycloak-clustered.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-keycloak-clustered.xml deleted file mode 100644 index 123a28536a5..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-keycloak-clustered.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-keycloak-standalone.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-keycloak-standalone.xml deleted file mode 100644 index 0b97ec948cb..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-keycloak-standalone.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-server-groups-keycloak.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-server-groups-keycloak.xml deleted file mode 100644 index a83bf020187..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/domain-server-groups-keycloak.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host-master.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host-master.xml deleted file mode 100644 index 952707618d8..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host-master.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host-slave.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host-slave.xml deleted file mode 100644 index 482aeefa329..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host-slave.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host.xml deleted file mode 100644 index b5285037e99..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/host.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-ejb.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-ejb.xml deleted file mode 100644 index 71dd839f511..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-ejb.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-hibernate.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-hibernate.xml deleted file mode 100644 index 2b8073b1b86..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-hibernate.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-keycloak.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-keycloak.xml deleted file mode 100644 index d0433a46427..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-keycloak.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-server.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-server.xml deleted file mode 100644 index 396a1e7ea9e..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-server.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-web.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-web.xml deleted file mode 100644 index 1cb2473372a..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist-web.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist.xml deleted file mode 100644 index 38ca1d3ee5d..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-dist.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-ejb.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-ejb.xml deleted file mode 100644 index 929643ca113..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-ejb.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-hibernate.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-hibernate.xml deleted file mode 100644 index 0df787064e4..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-hibernate.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-keycloak.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-keycloak.xml deleted file mode 100644 index be83abcd1ef..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-keycloak.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-server.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-server.xml deleted file mode 100644 index 3ea87b8974f..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-server.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-web.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-web.xml deleted file mode 100644 index 7cd129fc366..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local-web.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local.xml deleted file mode 100644 index 1b8434bffbb..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/infinispan-local.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/keycloak-datasource.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/keycloak-datasource.xml deleted file mode 100644 index fddf52630a4..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/keycloak-datasource.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/keycloak-server-subsystem.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/keycloak-server-subsystem.xml deleted file mode 100644 index d882204d5d5..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/keycloak-server-subsystem.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/standalone-ha.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/standalone-ha.xml deleted file mode 100644 index c318ba29757..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/standalone-ha.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/standalone.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/standalone.xml deleted file mode 100644 index 276e71c6456..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/standalone.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/layers/standalone/keycloak/layer-spec.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/layers/standalone/keycloak/layer-spec.xml deleted file mode 100644 index 55f3120743f..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/layers/standalone/keycloak/layer-spec.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/layers.conf b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/layers.conf deleted file mode 100644 index a05b7937485..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/layers.conf +++ /dev/null @@ -1 +0,0 @@ -layers=keycloak diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/core/jackson-core/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/core/jackson-core/main/module.xml deleted file mode 100644 index 73df6314642..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/core/jackson-core/main/module.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/core/jackson-databind/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/core/jackson-databind/main/module.xml deleted file mode 100644 index d8f38d4f592..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/core/jackson-databind/main/module.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/main/module.xml deleted file mode 100644 index 26b0c3bfd1f..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/main/module.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/github/ua-parser/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/github/ua-parser/main/module.xml deleted file mode 100644 index 1cc14b728c3..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/github/ua-parser/main/module.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/core/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/core/main/module.xml deleted file mode 100644 index 460d1ab4007..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/core/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/javase/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/javase/main/module.xml deleted file mode 100644 index ec43b82343b..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/google/zxing/javase/main/module.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/googlecode/owasp-java-html-sanitizer/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/googlecode/owasp-java-html-sanitizer/main/module.xml deleted file mode 100644 index 4a1bbbe5d7d..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/googlecode/owasp-java-html-sanitizer/main/module.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/openshift/openshift-restclient-java/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/openshift/openshift-restclient-java/main/module.xml deleted file mode 100644 index 7b1ffe138ca..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/openshift/openshift-restclient-java/main/module.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-core/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-core/main/module.xml deleted file mode 100644 index 7588fd24233..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-core/main/module.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-util/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-util/main/module.xml deleted file mode 100644 index 983db6552f8..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/com/webauthn4j/webauthn4j-util/main/module.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang/main/module.xml deleted file mode 100644 index 3f80945d518..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang3/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang3/main/module.xml deleted file mode 100644 index 019af8ab157..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/commons/lang3/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/kerby/kerby-asn1/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/kerby/kerby-asn1/main/module.xml deleted file mode 100644 index e38d6bdc94f..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/apache/kerby/kerby-asn1/main/module.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/freemarker/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/freemarker/main/module.xml deleted file mode 100644 index ea4990c5615..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/freemarker/main/module.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/infinispan/jboss-marshalling/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/infinispan/jboss-marshalling/main/module.xml deleted file mode 100644 index ed453387275..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/infinispan/jboss-marshalling/main/module.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/main/module.xml deleted file mode 100644 index eeb46e7003e..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/main/module.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/river/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/river/main/module.xml deleted file mode 100644 index 73f0fe72b26..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/jboss/marshalling/river/main/module.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-admin-ui/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-admin-ui/main/module.xml deleted file mode 100755 index 731dfe3b238..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-admin-ui/main/module.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-authz-policy-common/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-authz-policy-common/main/module.xml deleted file mode 100644 index 96b1b6b6fc3..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-authz-policy-common/main/module.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-common/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-common/main/module.xml deleted file mode 100755 index 899b399e942..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-common/main/module.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-core/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-core/main/module.xml deleted file mode 100755 index 9142ab1c353..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-core/main/module.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-crypto-default/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-crypto-default/main/module.xml deleted file mode 100644 index d9962f6b124..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-crypto-default/main/module.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-js-adapter/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-js-adapter/main/module.xml deleted file mode 100644 index 1b5fb5c6d9c..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-js-adapter/main/module.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-kerberos-federation/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-kerberos-federation/main/module.xml deleted file mode 100755 index 954e2fa04f7..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-kerberos-federation/main/module.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-ldap-federation/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-ldap-federation/main/module.xml deleted file mode 100755 index 443eead9db0..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-ldap-federation/main/module.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-infinispan/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-infinispan/main/module.xml deleted file mode 100755 index 8b9c1643479..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-infinispan/main/module.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-jpa/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-jpa/main/module.xml deleted file mode 100755 index dec63a67de8..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-jpa/main/module.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-private/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-private/main/module.xml deleted file mode 100755 index 5d1f29b163e..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-private/main/module.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-services/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-services/main/module.xml deleted file mode 100755 index ff949884d8b..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy-services/main/module.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy/main/module.xml deleted file mode 100755 index 04f18e7fa2f..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-legacy/main/module.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-map/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-map/main/module.xml deleted file mode 100755 index 41ee706f064..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-model-map/main/module.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core-public/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core-public/main/module.xml deleted file mode 100755 index 0b888dd1e75..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core-public/main/module.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core/main/module.xml deleted file mode 100755 index 3eef1c5cbf5..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-saml-core/main/module.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi-private/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi-private/main/module.xml deleted file mode 100755 index f8f5af1d072..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi-private/main/module.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi/main/module.xml deleted file mode 100755 index 9505d5fafb7..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-spi/main/module.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/dependencies/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/dependencies/main/module.xml deleted file mode 100755 index 5161617bcf0..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/dependencies/main/module.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/module.xml deleted file mode 100644 index 92b6d10511b..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml deleted file mode 100755 index 79f3aef1e0f..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/jboss-deployment-structure.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/web.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/web.xml deleted file mode 100755 index 5b8d4a61db0..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-server-subsystem/main/server-war/WEB-INF/web.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - auth - - - Keycloak REST Interface - org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher - - javax.ws.rs.Application - org.keycloak.services.resources.KeycloakApplication - - - resteasy.servlet.mapping.prefix - / - - 1 - true - - - - resteasy.disable.html.sanitizer - true - - - - org.keycloak.provider.wildfly.WildflyLifecycleListener - - - - Client Connection Filter - org.keycloak.provider.wildfly.WildFlyRequestFilter - true - - - - Client Connection Filter - /* - - - - Keycloak REST Interface - /* - - - - infinispan/Keycloak - org.infinispan.manager.EmbeddedCacheManager - java:jboss/infinispan/container/keycloak - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-services/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-services/main/module.xml deleted file mode 100755 index 1cb0a2a4e9b..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-services/main/module.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-sssd-federation/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-sssd-federation/main/module.xml deleted file mode 100644 index 4267945ef1b..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-sssd-federation/main/module.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-adduser/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-adduser/main/module.xml deleted file mode 100755 index 4b4e42ffd0c..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-adduser/main/module.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-extensions/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-extensions/main/module.xml deleted file mode 100755 index a1540ddcffb..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-extensions/main/module.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-server-subsystem/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-server-subsystem/main/module.xml deleted file mode 100644 index 8160c417138..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/keycloak/keycloak-wildfly-server-subsystem/main/module.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/liquibase/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/liquibase/main/module.xml deleted file mode 100644 index ff712061f8a..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/liquibase/main/module.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/twitter4j/main/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/twitter4j/main/module.xml deleted file mode 100644 index 5ecdf979005..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/modules/system/layers/keycloak/org/twitter4j/main/module.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/client-cli/package.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/client-cli/package.xml deleted file mode 100644 index 6d6b9beae2c..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/client-cli/package.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/docs-examples/content/docs/examples/map-storage-concurrenthashmap.cli b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/docs-examples/content/docs/examples/map-storage-concurrenthashmap.cli deleted file mode 100644 index 7620591249a..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/docs-examples/content/docs/examples/map-storage-concurrenthashmap.cli +++ /dev/null @@ -1,38 +0,0 @@ -## -## CLI script to set Keycloak to use map storage rather than the standard JPA. -## The backend database is at this moment a ConcurrentHashMap-based storage -## which is suitable for dev and testing in standalone node. It does not -## support clustered deployments. -## -## Apply this file using the following command from the Keycloak root directory: -## -## bin/jboss-cli.sh --file=docs/examples/map-storage-concurrenthashmap.cli -## -## This will modify standalone/configuration/standalone.xml -## - -embed-server - -/system-property=keycloak.profile.feature.map_storage:add(value=enabled) - -/subsystem=keycloak-server/spi=authorizationPersister:add(default-provider=map) -/subsystem=keycloak-server/spi=client:add(default-provider=map) -/subsystem=keycloak-server/spi=clientScope:add(default-provider=map) -/subsystem=keycloak-server/spi=group:add(default-provider=map) -/subsystem=keycloak-server/spi=realm:add(default-provider=map) -/subsystem=keycloak-server/spi=role:add(default-provider=map) -/subsystem=keycloak-server/spi=deploymentState:add(default-provider=map) -/subsystem=keycloak-server/spi=deploymentState/provider=map:add(enabled=true,properties={resourcesVersionSeed=1JZ379bzyOCFA}) -/subsystem=keycloak-server/spi=user:add(default-provider=map) -/subsystem=keycloak-server/spi=dblock:add(default-provider=none) - -## For dev and single-node purposes, these are set to "map". -## For clustered deployments, these should be "infinispan" as map storage does not support distributed storage yet -/subsystem=keycloak-server/spi=authenticationSessions:add(default-provider=map) -/subsystem=keycloak-server/spi=loginFailure:add(default-provider=map) -/subsystem=keycloak-server/spi=userSessions:add(default-provider=map) - -/subsystem=keycloak-server/spi=mapStorage:add(default-provider=concurrenthashmap) -/subsystem=keycloak-server/spi=mapStorage/provider=concurrenthashmap:add(properties={dir="${jboss.server.data.dir}/map",keyType.realms=string,keyType.authz-resource-servers=string},enabled=true) - -quit \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/docs-examples/package.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/docs-examples/package.xml deleted file mode 100644 index f8798ab2c23..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/docs-examples/package.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/content/bin/product.conf b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/content/bin/product.conf deleted file mode 100644 index 7b1d3141d5d..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/content/bin/product.conf +++ /dev/null @@ -1 +0,0 @@ -// placeholder file: content copied by tasks.xml from src/main/resources/packages/identity/pm/wildfly/resources/bin/product.conf diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/content/modules/system/layers/keycloak/org/jboss/as/product/placeholder.txt b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/content/modules/system/layers/keycloak/org/jboss/as/product/placeholder.txt deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/package.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/package.xml deleted file mode 100644 index 4fa21275146..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/package.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/bin/product.conf b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/bin/product.conf deleted file mode 100644 index 523592f81b3..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/bin/product.conf +++ /dev/null @@ -1 +0,0 @@ -slot=${product.slot} diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/keycloak/dir/META-INF/MANIFEST.MF b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/keycloak/dir/META-INF/MANIFEST.MF deleted file mode 100644 index a467c06b87e..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/keycloak/dir/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -JBoss-Product-Release-Name: ${product.name.full} -JBoss-Product-Release-Version: ${product.version} -JBoss-Product-Console-Slot: ${product.wildfly.console.slot} diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/keycloak/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/keycloak/module.xml deleted file mode 100644 index 739393a414c..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/keycloak/module.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/rh-sso/dir/META-INF/MANIFEST.MF b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/rh-sso/dir/META-INF/MANIFEST.MF deleted file mode 100644 index 1ded2ac8062..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/rh-sso/dir/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -JBoss-Product-Release-Name: ${product.name.full} -JBoss-Product-Release-Version: ${product.rhsso.version} -JBoss-Product-Console-Slot: ${product.wildfly.console.slot} diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/rh-sso/module.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/rh-sso/module.xml deleted file mode 100644 index 6e173661a28..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/resources/identity-app/rh-sso/module.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/tasks.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/tasks.xml deleted file mode 100644 index 1406ac210ce..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/identity/pm/wildfly/tasks.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/content/LICENSE.txt b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/content/LICENSE.txt deleted file mode 100644 index d6456956733..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/content/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/package.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/package.xml deleted file mode 100644 index e256e1d542e..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/package.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/pm/wildfly/resources/version.txt b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/pm/wildfly/resources/version.txt deleted file mode 100644 index c9db8ca50eb..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/pm/wildfly/resources/version.txt +++ /dev/null @@ -1 +0,0 @@ -${product.name.full} - Version ${product.version} diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/pm/wildfly/tasks.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/pm/wildfly/tasks.xml deleted file mode 100644 index 3f83ed535fb..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/root/pm/wildfly/tasks.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/themes/content/themes/README.txt b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/themes/content/themes/README.txt deleted file mode 100644 index 475b9574666..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/themes/content/themes/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -Themes are used to configure the look and feel of login pages and the account management console. It is not recommended to -modify the existing 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. \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/themes/package.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/themes/package.xml deleted file mode 100644 index 672a0ceb331..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/themes/package.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/content/welcome-content/index.html b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/content/welcome-content/index.html deleted file mode 100644 index 762ad2be4c0..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/content/welcome-content/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - If you are not redirected automatically, follow this link. - - diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/content/welcome-content/robots.txt b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/content/welcome-content/robots.txt deleted file mode 100644 index 77470cb39f0..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/content/welcome-content/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: / \ No newline at end of file diff --git a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/package.xml b/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/package.xml deleted file mode 100644 index 642dd7acd80..00000000000 --- a/distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/packages/welcome-content-keycloak/package.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/distribution/pom.xml b/distribution/pom.xml index f33bd960ff4..9065a0d0be2 100755 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -84,17 +84,6 @@ server-dist - - legacy-dist - - - legacy-dist - - - - server-legacy-dist - - distribution-downloads diff --git a/distribution/server-dist/assembly-zip-only.xml b/distribution/server-dist/assembly-zip-only.xml deleted file mode 100644 index 5b24975671e..00000000000 --- a/distribution/server-dist/assembly-zip-only.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - thin-server - - zip - - false - - - target - - - ${server.output.dir.prefix}-${server.output.dir.version}/** - - - - diff --git a/distribution/server-dist/assembly.xml b/distribution/server-dist/assembly.xml deleted file mode 100644 index d3554d8ae89..00000000000 --- a/distribution/server-dist/assembly.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - thin-server - - zip - tar.gz - - false - - - target - - - ${server.output.dir.prefix}-${server.output.dir.version}/** - - - - diff --git a/distribution/server-dist/pom.xml b/distribution/server-dist/pom.xml deleted file mode 100644 index def8c75eaa4..00000000000 --- a/distribution/server-dist/pom.xml +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - 4.0.0 - - - keycloak-distribution-parent - org.keycloak - 999-SNAPSHOT - - - keycloak-server-dist - - Keycloak Server Legacy WildFly Distribution - - - pom - - - - ${ee.maven.groupId} - wildfly-ee-galleon-pack - ${ee.maven.version} - pom - provided - - - ${ee.maven.groupId} - wildfly-ee-galleon-pack - zip - ${ee.maven.version} - - - * - * - - - - - org.keycloak - keycloak-server-galleon-pack - pom - provided - - - org.keycloak - keycloak-server-galleon-pack - zip - - - * - * - - - - - - - - - - org.jboss.galleon - galleon-maven-plugin - - - server-provisioning - - provision - - compile - - ${basedir}/target/${server.output.dir.prefix}-${server.output.dir.version} - false - ${galleon.log.time} - ${galleon.offline} - - ${galleon.fork.embedded} - - - - true - ${ee.maven.groupId} - wildfly-ee-galleon-pack - ${ee.maven.version} - - welcome-content - - - product.conf - appclient - bin.appclient - - - - - org.keycloak - keycloak-server-galleon-pack - ${project.version} - - identity - client-cli - core-tools - themes - welcome-content-keycloak - - - - - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-and-inject-keycloak-server-feature-pack-licenses - process-classes - - unpack - - - - - org.keycloak - keycloak-server-feature-pack - zip - ${basedir}/target/${server.output.dir.prefix}-${server.output.dir.version}/docs - content/docs/licenses-${product.slot}/** - - - ^\Qcontent/docs/\E - ./ - - - - - - - - - - org.apache.maven.plugins - maven-clean-plugin - - - - post-provision-cleanup - process-classes - - clean - - - true - - - ${basedir}/target/${server.output.dir.prefix}-${server.output.dir.version} - - README.txt - copyright.txt - - - - ${basedir}/target/${server.output.dir.prefix}-${server.output.dir.version}/welcome-content - - robots.txt - index.html - - - - ${basedir}/target/${server.output.dir.prefix}-${server.output.dir.version}/modules/system/layers/keycloak/org/jboss/as/product - - ${product.slot}/**/* - - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - verifications-configuration - - copy-resources - - process-classes - - true - ${basedir}/target/verifier - - - src/verifier - true - - - - - - - - org.apache.maven.plugins - maven-verifier-plugin - - - org.apache.maven.plugins - maven-assembly-plugin - - - assemble - package - - single - - - - assembly.xml - - true - ${project.build.finalName} - false - ${project.build.directory} - ${project.build.directory}/assembly/work - gnu - - - - - - - - - - community - - - !product - - - - - org.wildfly - wildfly-galleon-pack - pom - provided - - - org.wildfly - wildfly-galleon-pack - zip - - - * - * - - - - - - keycloak-legacy-${project.version} - - - - product - - - product - - - - - ${ee.maven.groupId} - wildfly-ee-galleon-pack - pom - ${ee.maven.version} - provided - - - ${ee.maven.groupId} - wildfly-ee-galleon-pack - zip - ${ee.maven.version} - - - * - * - - - - - - ${product.name}-${product.filename.version} - - - org.apache.maven.plugins - maven-assembly-plugin - - - assemble - package - - single - - - - assembly-zip-only.xml - - - - - - - - - - - diff --git a/distribution/server-dist/src/verifier/verifications.xml b/distribution/server-dist/src/verifier/verifications.xml deleted file mode 100644 index cd83cb8218c..00000000000 --- a/distribution/server-dist/src/verifier/verifications.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - target/${server.output.dir.prefix}-${server.output.dir.version}/bin/product.conf - true - - - target/${server.output.dir.prefix}-${server.output.dir.version}/bin/product.conf - slot=${product.slot} - - - target/${server.output.dir.prefix}-${server.output.dir.version}/modules/system/layers/keycloak/org/jboss/as/product/${product.slot}/dir/META-INF/MANIFEST.MF - JBoss-Product-Release-Name: ${product.name.full} - - - target/${server.output.dir.prefix}-${server.output.dir.version}/modules/system/layers/keycloak/org/jboss/as/product/${product.slot}/dir/META-INF/MANIFEST.MF - JBoss-Product-Release-Version: ${product.version} - - - target/${server.output.dir.prefix}-${server.output.dir.version}/modules/system/layers/keycloak/org/jboss/as/product/${product.slot}/dir/META-INF/MANIFEST.MF - JBoss-Product-Console-Slot: ${product.wildfly.console.slot} - - - target/${server.output.dir.prefix}-${server.output.dir.version}/modules/system/layers/keycloak/org/jboss/as/product/${product.slot}/dir/META-INF/MANIFEST.MF - true - - - target/${server.output.dir.prefix}-${server.output.dir.version}/jboss-modules.jar - true - - - target/${server.output.dir.prefix}-${server.output.dir.version}/standalone/configuration/standalone.xml - true - - - target/${server.output.dir.prefix}-${server.output.dir.version}/standalone/configuration/standalone-ha.xml - true - - - target/${server.output.dir.prefix}-${server.output.dir.version}/domain/configuration/domain.xml - true - - - target/${server.output.dir.prefix}-${server.output.dir.version}/domain/configuration/host.xml - true - - - target/${server.output.dir.prefix}-${server.output.dir.version}/domain/configuration/host-master.xml - true - - - target/${server.output.dir.prefix}-${server.output.dir.version}/domain/configuration/host-slave.xml - true - - - diff --git a/distribution/server-legacy-dist/assembly.xml b/distribution/server-legacy-dist/assembly.xml deleted file mode 100755 index f6550de907f..00000000000 --- a/distribution/server-legacy-dist/assembly.xml +++ /dev/null @@ -1,138 +0,0 @@ - - - - server-dist - - - zip - tar.gz - - - true - - - - target/${project.build.finalName} - - true - - **/module.xml - - - - - target/${project.build.finalName} - - false - - .installation - bin/*.sh - - module.xml - welcome-content/** - appclient/** - bin/appclient.* - copyright.txt - README.txt - version.txt - ${profileExcludes} - docs/licenses-${product.slot}/** - - - - - - target/${project.build.finalName} - - - bin/*.sh - - 0755 - - - target/${project.build.finalName} - - - .installation - - 0700 - - - src/main/welcome-content - welcome-content - - *.* - - - - src/main/modules - modules - - layers.conf - - - - target/licenses/content/docs - docs - - licenses-${product.slot}/** - - - - src/main/docs - docs - - ** - - - - - - - src/main/version.txt - - true - - - - diff --git a/distribution/server-legacy-dist/pom.xml b/distribution/server-legacy-dist/pom.xml deleted file mode 100755 index 038c4c2cabf..00000000000 --- a/distribution/server-legacy-dist/pom.xml +++ /dev/null @@ -1,144 +0,0 @@ - - - - 4.0.0 - - keycloak-distribution-parent - org.keycloak - 999-SNAPSHOT - - - keycloak-server-legacy-dist - pom - Keycloak Server Legacy Distribution - - - - - org.keycloak - keycloak-server-feature-pack - zip - - - * - * - - - - - - - - - org.wildfly.build - wildfly-server-provisioning-maven-plugin - ${wildfly.build-tools.version} - - - server-provisioning - - build - - compile - - ../${keycloak.provisioning.xml} - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-server-feature-pack-licenses - prepare-package - - unpack-dependencies - - - org.keycloak - keycloak-server-feature-pack - zip - content/docs/licenses-${product.slot}/** - ${project.build.directory}/licenses - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - assemble - package - - single - - - - ${assemblyFile} - - true - ${project.build.finalName} - false - ${project.build.directory} - ${project.build.directory}/assembly/work - - - - - - - - - - community - - - !product - - - - assembly.xml - - - keycloak-${project.version} - - - - - product - - - product - - - - assembly.xml - %regex[(docs/contrib.*)|(docs/examples.*)|(docs/schema.*)] - - - ${product.name}-${product.filename.version} - - - - - diff --git a/distribution/server-legacy-dist/src/main/docs/examples/map-storage-concurrenthashmap.cli b/distribution/server-legacy-dist/src/main/docs/examples/map-storage-concurrenthashmap.cli deleted file mode 100644 index 7620591249a..00000000000 --- a/distribution/server-legacy-dist/src/main/docs/examples/map-storage-concurrenthashmap.cli +++ /dev/null @@ -1,38 +0,0 @@ -## -## CLI script to set Keycloak to use map storage rather than the standard JPA. -## The backend database is at this moment a ConcurrentHashMap-based storage -## which is suitable for dev and testing in standalone node. It does not -## support clustered deployments. -## -## Apply this file using the following command from the Keycloak root directory: -## -## bin/jboss-cli.sh --file=docs/examples/map-storage-concurrenthashmap.cli -## -## This will modify standalone/configuration/standalone.xml -## - -embed-server - -/system-property=keycloak.profile.feature.map_storage:add(value=enabled) - -/subsystem=keycloak-server/spi=authorizationPersister:add(default-provider=map) -/subsystem=keycloak-server/spi=client:add(default-provider=map) -/subsystem=keycloak-server/spi=clientScope:add(default-provider=map) -/subsystem=keycloak-server/spi=group:add(default-provider=map) -/subsystem=keycloak-server/spi=realm:add(default-provider=map) -/subsystem=keycloak-server/spi=role:add(default-provider=map) -/subsystem=keycloak-server/spi=deploymentState:add(default-provider=map) -/subsystem=keycloak-server/spi=deploymentState/provider=map:add(enabled=true,properties={resourcesVersionSeed=1JZ379bzyOCFA}) -/subsystem=keycloak-server/spi=user:add(default-provider=map) -/subsystem=keycloak-server/spi=dblock:add(default-provider=none) - -## For dev and single-node purposes, these are set to "map". -## For clustered deployments, these should be "infinispan" as map storage does not support distributed storage yet -/subsystem=keycloak-server/spi=authenticationSessions:add(default-provider=map) -/subsystem=keycloak-server/spi=loginFailure:add(default-provider=map) -/subsystem=keycloak-server/spi=userSessions:add(default-provider=map) - -/subsystem=keycloak-server/spi=mapStorage:add(default-provider=concurrenthashmap) -/subsystem=keycloak-server/spi=mapStorage/provider=concurrenthashmap:add(properties={dir="${jboss.server.data.dir}/map",keyType.realms=string,keyType.authz-resource-servers=string},enabled=true) - -quit \ No newline at end of file diff --git a/distribution/server-legacy-dist/src/main/modules/layers.conf b/distribution/server-legacy-dist/src/main/modules/layers.conf deleted file mode 100644 index 74f44850c7b..00000000000 --- a/distribution/server-legacy-dist/src/main/modules/layers.conf +++ /dev/null @@ -1 +0,0 @@ -layers=keycloak \ No newline at end of file diff --git a/distribution/server-legacy-dist/src/main/version.txt b/distribution/server-legacy-dist/src/main/version.txt deleted file mode 100644 index c9db8ca50eb..00000000000 --- a/distribution/server-legacy-dist/src/main/version.txt +++ /dev/null @@ -1 +0,0 @@ -${product.name.full} - Version ${product.version} diff --git a/distribution/server-legacy-dist/src/main/welcome-content/index.html b/distribution/server-legacy-dist/src/main/welcome-content/index.html deleted file mode 100644 index 762ad2be4c0..00000000000 --- a/distribution/server-legacy-dist/src/main/welcome-content/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - If you are not redirected automatically, follow this link. - - diff --git a/distribution/server-legacy-dist/src/main/welcome-content/robots.txt b/distribution/server-legacy-dist/src/main/welcome-content/robots.txt deleted file mode 100644 index 77470cb39f0..00000000000 --- a/distribution/server-legacy-dist/src/main/welcome-content/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: / \ No newline at end of file diff --git a/distribution/server-overlay/assembly.xml b/distribution/server-overlay/assembly.xml deleted file mode 100755 index 554a35334f5..00000000000 --- a/distribution/server-overlay/assembly.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - - server-dist - - - zip - tar.gz - - - false - - - - target/${project.build.finalName} - - true - - **/module.xml - - - - target/${project.build.finalName} - - false - - .installation - docs/** - domain/** - standalone/** - bin/*.sh - module.xml - welcome-content/** - appclient/** - bin/appclient.* - copyright.txt - README.txt - version.txt - ${profileExcludes} - - - - target/${project.build.finalName} - - - bin/*.sh - - 0755 - - - src/main/welcome-content - welcome-content - - *.* - - - - src/main/modules - modules - - layers.conf - - - - src/main - - - ${readmeInclude} - - true - - - target/cli - bin - - *.cli - - true - - - - - - src/main/version.txt - - true - - - - diff --git a/distribution/server-overlay/pom.xml b/distribution/server-overlay/pom.xml deleted file mode 100755 index d59b6c8e1f8..00000000000 --- a/distribution/server-overlay/pom.xml +++ /dev/null @@ -1,205 +0,0 @@ - - - - 4.0.0 - - keycloak-distribution-parent - org.keycloak - 16.0.0-SNAPSHOT - - - keycloak-server-overlay - pom - Keycloak Server Overlay Distribution - - - - - org.keycloak - keycloak-server-feature-pack - zip - - - org.keycloak - keycloak-client-cli-dist - zip - - - - - keycloak-overlay-${project.version} - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - compile - - unpack - - - - - org.keycloak - keycloak-wildfly-server-subsystem - ${project.version} - jar - cli/*.cli - ${project.build.directory} - - - - - - - - org.wildfly.build - wildfly-server-provisioning-maven-plugin - ${wildfly.build-tools.version} - - - server-provisioning - - build - - compile - - ../${keycloak.provisioning.xml} - true - - - - - - maven-resources-plugin - 2.5 - - - copy-resources - prepare-package - - copy-resources - - - target - - - src/main - true - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - false - - - merge-cli - prepare-package - - run - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - assemble - package - - single - - - - ${assemblyFile} - - true - ${project.build.finalName} - false - ${project.build.directory} - ${project.build.directory}/assembly/work - - - - - - - - - - community - - - !product - - - - assembly.xml - README.txt - - - - - product - - - product - - - - assembly.xml - %regex[(docs/contrib.*)|(docs/examples.*)|(docs/schema.*)] - - - - - - diff --git a/distribution/server-overlay/src/main/README.txt b/distribution/server-overlay/src/main/README.txt deleted file mode 100644 index e3b4ec66e01..00000000000 --- a/distribution/server-overlay/src/main/README.txt +++ /dev/null @@ -1 +0,0 @@ -Server overlay for WildFly @wildfly.version@ \ No newline at end of file diff --git a/distribution/server-overlay/src/main/cli/keycloak-install-base.cli b/distribution/server-overlay/src/main/cli/keycloak-install-base.cli deleted file mode 100644 index 759d0306760..00000000000 --- a/distribution/server-overlay/src/main/cli/keycloak-install-base.cli +++ /dev/null @@ -1,23 +0,0 @@ -embed-server --server-config=standalone.xml -/subsystem=datasources/data-source=KeycloakDS/:add(connection-url="jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE",enabled=true,driver-name=h2,jndi-name=java:jboss/datasources/KeycloakDS,password=sa,user-name=sa,use-java-context=true) -/subsystem=infinispan/cache-container=keycloak:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=realms:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) -/subsystem=infinispan/cache-container=keycloak/local-cache=users:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) -/subsystem=infinispan/cache-container=keycloak/local-cache=sessions:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=authenticationSessions:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=offlineSessions:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=clientSessions:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=offlineClientSessions:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=loginFailures:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=work:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=authorization:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) -/subsystem=infinispan/cache-container=keycloak/local-cache=keys:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) -/subsystem=infinispan/cache-container=keycloak/local-cache=keys/expiration=EXPIRATION:add(max-idle=3600000) -/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/memory=object:add(size=-1) -/subsystem=infinispan/cache-container=keycloak/local-cache=actionTokens/expiration=EXPIRATION:add(max-idle=-1,interval=300000) -/extension=org.keycloak.keycloak-server-subsystem/:add(module=org.keycloak.keycloak-server-subsystem) diff --git a/distribution/server-overlay/src/main/cli/keycloak-install-ha-base.cli b/distribution/server-overlay/src/main/cli/keycloak-install-ha-base.cli deleted file mode 100644 index d8ec6719e84..00000000000 --- a/distribution/server-overlay/src/main/cli/keycloak-install-ha-base.cli +++ /dev/null @@ -1,24 +0,0 @@ -embed-server --server-config=standalone-ha.xml -/subsystem=datasources/data-source=KeycloakDS/:add(connection-url="jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE",enabled=true,driver-name=h2,jndi-name=java:jboss/datasources/KeycloakDS,password=sa,user-name=sa,use-java-context=true) -/subsystem=infinispan/cache-container=keycloak:add() -/subsystem=infinispan/cache-container=keycloak/transport=TRANSPORT:add(lock-timeout=60000) -/subsystem=infinispan/cache-container=keycloak/local-cache=realms:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=realms/memory=object:add(size=10000) -/subsystem=infinispan/cache-container=keycloak/local-cache=users:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=users/memory=object:add(size=10000) -/subsystem=infinispan/cache-container=keycloak/distributed-cache=sessions:add(owners="1") -/subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions:add(owners="1") -/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineSessions:add(owners="1") -/subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions:add(owners="1") -/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions:add(owners="1") -/subsystem=infinispan/cache-container=keycloak/distributed-cache=loginFailures:add(owners="1") -/subsystem=infinispan/cache-container=keycloak/local-cache=authorization:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/memory=object:add(size=10000) -/subsystem=infinispan/cache-container=keycloak/replicated-cache=work:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=keys:add() -/subsystem=infinispan/cache-container=keycloak/local-cache=keys/memory=object:add(size=1000) -/subsystem=infinispan/cache-container=keycloak/local-cache=keys/expiration=EXPIRATION:add(max-idle=3600000) -/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens:add(indexing="NONE",owners="2") -/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/memory=object:add(size=-1) -/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/expiration=EXPIRATION:add(max-idle=-1,interval=300000) -/extension=org.keycloak.keycloak-server-subsystem/:add(module=org.keycloak.keycloak-server-subsystem) diff --git a/distribution/server-overlay/src/main/modules/layers.conf b/distribution/server-overlay/src/main/modules/layers.conf deleted file mode 100644 index 74f44850c7b..00000000000 --- a/distribution/server-overlay/src/main/modules/layers.conf +++ /dev/null @@ -1 +0,0 @@ -layers=keycloak \ No newline at end of file diff --git a/distribution/server-overlay/src/main/version.txt b/distribution/server-overlay/src/main/version.txt deleted file mode 100644 index c9db8ca50eb..00000000000 --- a/distribution/server-overlay/src/main/version.txt +++ /dev/null @@ -1 +0,0 @@ -${product.name.full} - Version ${product.version} diff --git a/pom.xml b/pom.xml index b5fcf937486..3109609d2d7 100644 --- a/pom.xml +++ b/pom.xml @@ -288,6 +288,7 @@ adapters authz misc + quarkus @@ -1907,18 +1908,6 @@ - - wildfly-dist - - - includeWildFly - - - - wildfly - - - community @@ -1954,19 +1943,6 @@ - - quarkus - - [11,) - - !product - - - - quarkus - - - product diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/AuthServerTestEnricher.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/AuthServerTestEnricher.java index 97c7832c76b..97e7131670a 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/AuthServerTestEnricher.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/AuthServerTestEnricher.java @@ -676,12 +676,6 @@ public class AuthServerTestEnricher { } } - protected boolean isAuthServerJBossBased() { - return containerRegistry.get().getContainers().stream() - .map(ContainerInfo::new) - .anyMatch(ContainerInfo::isJBossBased); - } - public void initializeOAuthClient(@Observes(precedence = 4) BeforeClass event) { // TODO workaround. Check if can be removed OAuthClient.updateURLs(suiteContext.getAuthServerInfo().getContextRoot().toString()); diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/group/GroupSearchTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/group/GroupSearchTest.java index df15cd2e35c..e349a3b9693 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/group/GroupSearchTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/group/GroupSearchTest.java @@ -160,11 +160,6 @@ public class GroupSearchTest extends AbstractGroupTest { controller.stop(suiteContext.getAuthServerInfo().getQualifier()); System.setProperty(SEARCHABLE_ATTRS_PROP, String.join(",", searchableAttributes)); controller.start(suiteContext.getAuthServerInfo().getQualifier()); - } else if (suiteContext.getAuthServerInfo().isJBossBased()) { - searchableAttributes = Arrays.stream(searchableAttributes).map(a -> a.replace("\"", "\\\\\\\"")).toArray(String[]::new); - String s = "\\\"" + String.join("\\\",\\\"", searchableAttributes) + "\\\""; - executeCli("/subsystem=keycloak-server/spi=group:add()", - "/subsystem=keycloak-server/spi=group/provider=jpa/:add(properties={searchableAttributes => \"[" + s + "]\"},enabled=true)"); } else if (suiteContext.getAuthServerInfo().isQuarkus()) { searchableAttributes = Arrays.stream(searchableAttributes) .map(a -> a.replace(" ", "\\ ").replace("\"", "\\\\\\\"")) @@ -188,8 +183,6 @@ public class GroupSearchTest extends AbstractGroupTest { controller.stop(suiteContext.getAuthServerInfo().getQualifier()); System.clearProperty(SEARCHABLE_ATTRS_PROP); controller.start(suiteContext.getAuthServerInfo().getQualifier()); - } else if (suiteContext.getAuthServerInfo().isJBossBased()) { - executeCli("/subsystem=keycloak-server/spi=group:remove"); } else if (suiteContext.getAuthServerInfo().isQuarkus()) { KeycloakQuarkusServerDeployableContainer container = (KeycloakQuarkusServerDeployableContainer) suiteContext.getAuthServerInfo().getArquillianContainer().getDeployableContainer(); container.setAdditionalBuildArgs(Collections.emptyList()); @@ -200,22 +193,6 @@ public class GroupSearchTest extends AbstractGroupTest { reconnectAdminClient(); } - private void executeCli(String... commands) throws Exception { - OnlineManagementClient client = AuthServerTestEnricher.getManagementClient(); - Administration administration = new Administration(client); - - log.debug("Running CLI commands:"); - for (String c : commands) { - log.debug(c); - client.execute(c).assertSuccess(); - } - log.debug("Done"); - - administration.reload(); - - client.close(); - } - private boolean isLegacyJpaStore() { return keycloakUsingProviderWithId(GroupProvider.class, "jpa"); } diff --git a/wildfly/adduser/pom.xml b/wildfly/adduser/pom.xml deleted file mode 100755 index b9f91649be1..00000000000 --- a/wildfly/adduser/pom.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - 4.0.0 - - - org.keycloak - keycloak-wildfly-parent - 999-SNAPSHOT - - - keycloak-wildfly-adduser - Keycloak WildFly Add User Script - - jar - - - - org.keycloak - keycloak-server-spi - - - org.keycloak - keycloak-server-spi-private - - - org.keycloak - keycloak-common - - - org.keycloak - keycloak-core - - - org.wildfly.core - wildfly-domain-management - ${wildfly.core.version} - - - org.aesh - aesh - - - diff --git a/wildfly/adduser/src/main/java/org/keycloak/wildfly/adduser/AddUser.java b/wildfly/adduser/src/main/java/org/keycloak/wildfly/adduser/AddUser.java deleted file mode 100644 index e2113a56ba5..00000000000 --- a/wildfly/adduser/src/main/java/org/keycloak/wildfly/adduser/AddUser.java +++ /dev/null @@ -1,325 +0,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. - */ - -package org.keycloak.wildfly.adduser; - -import com.fasterxml.jackson.core.type.TypeReference; -import org.aesh.AeshRuntimeRunner; -import org.aesh.command.CommandDefinition; -import org.aesh.command.option.Option; -import org.aesh.command.Command; -import org.aesh.command.CommandNotFoundException; -import org.aesh.command.CommandResult; -import org.aesh.command.container.CommandContainer; -import org.aesh.command.invocation.CommandInvocation; -import org.aesh.command.impl.registry.AeshCommandRegistryBuilder; -import org.aesh.command.registry.CommandRegistry; -import org.aesh.command.registry.CommandRegistryException; -import org.keycloak.common.crypto.CryptoIntegration; -import org.keycloak.credential.hash.PasswordHashProvider; -import org.keycloak.credential.hash.PasswordHashProviderFactory; -import org.keycloak.models.PasswordPolicy; -import org.keycloak.models.credential.PasswordCredentialModel; -import org.keycloak.models.utils.ModelToRepresentation; -import org.keycloak.representations.idm.CredentialRepresentation; -import org.keycloak.representations.idm.RealmRepresentation; -import org.keycloak.representations.idm.UserRepresentation; -import org.keycloak.util.JsonSerialization; - -import java.io.Console; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.lang.reflect.Method; -import java.util.HashMap; -import java.util.LinkedList; -import java.util.List; -import java.util.ServiceLoader; - -/** - * @author Stian Thorgersen - */ -public class AddUser { - - private static final String COMMAND_NAME = "add-user"; - private static final int DEFAULT_HASH_ITERATIONS = 100000; - private static final String DEFAULT_HASH_ALGORITH = PasswordPolicy.HASH_ALGORITHM_DEFAULT; - - public static void main(String[] args) { - AeshRuntimeRunner.builder().command(AddUserCommand.class).args(args).execute(); - } - - @CommandDefinition(name= COMMAND_NAME, description = "[options...]") - public static class AddUserCommand implements Command { - - @Option(shortName = 'r', hasValue = true, description = "Name of realm to add user to") - private String realm; - - @Option(shortName = 'u', hasValue = true, description = "Name of the user") - private String user; - - @Option(shortName = 'p', hasValue = true, description = "Password of the user") - private String password; - - @Option(hasValue = true, description = "Roles to add to the user") - private String roles; - - @Option(hasValue = true, description = "Hash iterations") - private int iterations; - - @Option(hasValue = false, description = "Enable domain mode") - private boolean domain; - - @Option(hasValue = true, description = "Define the location of the server config directory") - private String sc; - - @Option(hasValue = true, description = "Define the location of the domain config directory") - private String dc; - - @Option(shortName = 'h', hasValue = false, description = "Display this help and exit") - private boolean help; - - @Override - public CommandResult execute(CommandInvocation commandInvocation) throws InterruptedException { - try { - if (help) { - printHelp(this); - } else { - checkRequired(this, "user"); - - if (isEmpty(this, "password")) { - password = promptForInput(); - } - - File addUserFile = getAddUserFile(this); - - CryptoIntegration.init(AddUser.class.getClassLoader()); - - createUser(addUserFile, realm, user, password, roles, iterations); - } - } catch (Exception e){ - System.err.println(e.getMessage()); - System.exit(1); - } - - return CommandResult.SUCCESS; - } - - public String getRealm() { - return realm; - } - - public String getUser() { - return user; - } - - public String getPassword() { - return password; - } - - public String getRoles() { - return roles; - } - - public int getIterations() { - return iterations; - } - - public boolean isDomain() { - return domain; - } - - public String getSc() { - return sc; - } - - public String getDc() { - return dc; - } - - public boolean isHelp() { - return help; - } - } - - private static File getAddUserFile(AddUserCommand command) throws Exception { - File configDir; - if (command.isDomain()) { - if (command.getDc() != null) { - configDir = new File(command.getDc()); - } else if (System.getProperty("jboss.domain.config.user.dir") != null) { - configDir = new File(System.getProperty("jboss.domain.config.user.dir")); - } else if (System.getenv("JBOSS_HOME") != null) { - configDir = new File(System.getenv("JBOSS_HOME") + File.separator + "domain" + File.separator + "configuration"); - } else { - throw new Exception("Could not find domain configuration directory"); - } - } else { - if (command.getSc() != null) { - configDir = new File(command.getSc()); - } else if (System.getProperty("jboss.server.config.user.dir") != null) { - configDir = new File(System.getProperty("jboss.server.config.user.dir")); - } else if (System.getenv("JBOSS_HOME") != null) { - configDir = new File(System.getenv("JBOSS_HOME") + File.separator + "standalone" + File.separator + "configuration"); - } else { - throw new Exception("Could not find standalone configuration directory"); - } - } - - if (!configDir.isDirectory()) { - throw new Exception("'" + configDir + "' does not exist or is not a directory"); - } - - File addUserFile = new File(configDir, "keycloak-add-user.json"); - return addUserFile; - } - - private static void createUser(File addUserFile, String realmName, String userName, String password, String rolesString, int iterations) throws Exception { - List realms; - if (addUserFile.isFile()) { - realms = JsonSerialization.readValue(new FileInputStream(addUserFile), new TypeReference>() {}); - } else { - realms = new LinkedList<>(); - } - - if (realmName == null) { - realmName = "master"; - } - - RealmRepresentation realm = null; - for (RealmRepresentation r : realms) { - if (r.getRealm().equals(realmName)) { - realm = r; - } - } - - if (realm == null) { - realm = new RealmRepresentation(); - realm.setRealm(realmName); - realms.add(realm); - realm.setUsers(new LinkedList<>()); - } - - for (UserRepresentation u : realm.getUsers()) { - if (u.getUsername().equals(userName)) { - throw new Exception("User with username '" + userName + "' already added to '" + addUserFile + "'"); - } - } - - UserRepresentation user = new UserRepresentation(); - user.setEnabled(true); - user.setUsername(userName); - user.setCredentials(new LinkedList<>()); - - PasswordHashProviderFactory hashProviderFactory = getHashProviderFactory(DEFAULT_HASH_ALGORITH); - PasswordHashProvider hashProvider = hashProviderFactory.create(null); - - PasswordCredentialModel credentialModel = hashProvider.encodedCredential(password, iterations > 0 ? iterations : DEFAULT_HASH_ITERATIONS); - - CredentialRepresentation credentials = ModelToRepresentation.toRepresentation(credentialModel); - - user.getCredentials().add(credentials); - - String[] roles; - if (rolesString != null) { - roles = rolesString.split(","); - } else { - if (realmName.equals("master")) { - roles = new String[] { "admin" }; - } else { - roles = new String[] { "realm-management/realm-admin" }; - } - } - - for (String r : roles) { - if (r.indexOf('/') != -1) { - String[] cr = r.split("/"); - String client = cr[0]; - String clientRole = cr[1]; - - if (user.getClientRoles() == null) { - user.setClientRoles(new HashMap<>()); - } - - if (user.getClientRoles().get(client) == null) { - user.getClientRoles().put(client, new LinkedList<>()); - } - - user.getClientRoles().get(client).add(clientRole); - } else { - if (user.getRealmRoles() == null) { - user.setRealmRoles(new LinkedList<>()); - } - user.getRealmRoles().add(r); - } - } - - realm.getUsers().add(user); - - JsonSerialization.writeValuePrettyToStream(new FileOutputStream(addUserFile), realms); - System.out.println("Added '" + userName + "' to '" + addUserFile + "', restart server to load user"); - } - - private static PasswordHashProviderFactory getHashProviderFactory(String providerId) { - ServiceLoader providerFactories = ServiceLoader.load(PasswordHashProviderFactory.class); - for (PasswordHashProviderFactory f : providerFactories) { - if (f.getId().equals(providerId)) { - return f; - } - } - return null; - } - - private static void checkRequired(Command command, String field) throws Exception { - if (isEmpty(command, field)) { - Option option = command.getClass().getDeclaredField(field).getAnnotation(Option.class); - String optionName; - if (option != null && option.shortName() != '\u0000') { - optionName = "-" + option.shortName() + ", --" + field; - } else { - optionName = "--" + field; - } - throw new Exception("Option: " + optionName + " is required"); - } - } - - private static Boolean isEmpty(Command command, String field) throws Exception { - Method m = command.getClass().getMethod("get" + Character.toUpperCase(field.charAt(0)) + field.substring(1)); - return m.invoke(command) == null; - } - - private static String promptForInput() throws Exception { - Console console = System.console(); - if (console == null) { - throw new Exception("Couldn't get Console instance"); - } - console.printf("Press ctrl-d (Unix) or ctrl-z (Windows) to exit\n"); - char passwordArray[] = console.readPassword("Password: "); - - if(passwordArray == null) System.exit(0); - - return new String(passwordArray); - } - - private static void printHelp(Command command) throws CommandNotFoundException, CommandRegistryException { - CommandRegistry registry = AeshCommandRegistryBuilder.builder().command(command).create(); - CommandContainer commandContainer = registry.getCommand(command.getClass().getAnnotation(CommandDefinition.class).name(), null); - String help = commandContainer.printHelp(null); - System.out.println(help); - } - -} diff --git a/wildfly/extensions/pom.xml b/wildfly/extensions/pom.xml deleted file mode 100755 index d3b5d5e4915..00000000000 --- a/wildfly/extensions/pom.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - 4.0.0 - - - org.keycloak - keycloak-wildfly-parent - 999-SNAPSHOT - - - keycloak-wildfly-extensions - Keycloak WildFly Extensions - - jar - - - - org.wildfly.core - wildfly-controller - provided - - - org.keycloak - keycloak-core - provided - - - org.keycloak - keycloak-server-spi - provided - - - org.keycloak - keycloak-server-spi-private - provided - - - org.jboss.resteasy - resteasy-core-spi - provided - 4.7.2.Final - - - org.jboss.resteasy - resteasy-client - provided - 4.7.2.Final - - - org.jboss.resteasy - resteasy-client-api - provided - 4.7.2.Final - - - org.keycloak - keycloak-services - provided - - - org.jboss.spec.javax.servlet - jboss-servlet-api_4.0_spec - provided - - - junit - junit - test - - - diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/DMRConfigProviderFactory.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/DMRConfigProviderFactory.java deleted file mode 100644 index c2ee6c70767..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/DMRConfigProviderFactory.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2019 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. - */ - -package org.keycloak.provider.wildfly; - -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import java.util.Optional; -import java.util.Properties; -import javax.servlet.ServletContext; -import org.jboss.dmr.ModelNode; -import org.jboss.logging.Logger; -import org.jboss.resteasy.core.ResteasyContext; -import org.keycloak.Config; -import org.keycloak.common.util.Resteasy; -import org.keycloak.common.util.SystemEnvProperties; -import org.keycloak.services.ServicesLogger; -import org.keycloak.services.util.JsonConfigProviderFactory; -import org.keycloak.util.JsonSerialization; - -public class DMRConfigProviderFactory extends JsonConfigProviderFactory { - - // This param name is defined again in Keycloak Server Subsystem class - // org.keycloak.subsystem.server.extension.KeycloakServerDeploymentProcessor. We have this value in - // two places to avoid dependency between Keycloak Subsystem and Keycloak Wildfly Extensions module. - public static final String KEYCLOAK_CONFIG_PARAM_NAME = "org.keycloak.server-subsystem.Config"; - - public static final String SERVER_CONTEXT_CONFIG_PROPERTY_OVERRIDES = "keycloak.server.context.config.property-overrides"; - - private static final Logger LOG = Logger.getLogger(DMRConfigProviderFactory.class); - - @Override - public Optional create() { - - ServletContext context = Resteasy.getContextData(ServletContext.class); - - JsonNode node = null; - - try { - String dmrConfig = loadDmrConfig(context); - if (dmrConfig != null) { - node = JsonSerialization.mapper.readTree(dmrConfig); - ServicesLogger.LOGGER.loadingFrom("standalone.xml or domain.xml"); - } - } catch (IOException e) { - LOG.warn("Failed to load DMR config", e); - } - - return createJsonProvider(node); - - } - - @Override - protected Properties getProperties() { - return new SystemEnvProperties(getPropertyOverrides()); - } - - private String loadDmrConfig(ServletContext context) { - String dmrConfig = context.getInitParameter(KEYCLOAK_CONFIG_PARAM_NAME); - if (dmrConfig == null) { - return null; - } - - ModelNode dmrConfigNode = ModelNode.fromString(dmrConfig); - if (dmrConfigNode.asPropertyList().isEmpty()) { - return null; - } - - // note that we need to resolve expressions BEFORE we convert to JSON - return dmrConfigNode.resolve().toJSONString(true); - } - - private Map getPropertyOverrides() { - - ServletContext context = ResteasyContext.getContextData(ServletContext.class); - Map propertyOverridesMap = new HashMap<>(); - String propertyOverrides = context.getInitParameter(SERVER_CONTEXT_CONFIG_PROPERTY_OVERRIDES); - - try { - if (context.getInitParameter(SERVER_CONTEXT_CONFIG_PROPERTY_OVERRIDES) != null) { - JsonNode jsonObj = JsonSerialization.mapper.readTree(propertyOverrides); - jsonObj.fields().forEachRemaining(e -> propertyOverridesMap.put(e.getKey(), e.getValue().asText())); - } - } catch (IOException e) { - } - - return propertyOverridesMap; - - } - -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/ModuleProviderLoaderFactory.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/ModuleProviderLoaderFactory.java deleted file mode 100755 index 32a45b8219b..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/ModuleProviderLoaderFactory.java +++ /dev/null @@ -1,49 +0,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. - */ - -package org.keycloak.provider.wildfly; - -import org.jboss.modules.Module; -import org.jboss.modules.ModuleClassLoader; -import org.jboss.modules.ModuleIdentifier; -import org.keycloak.provider.DefaultProviderLoader; -import org.keycloak.provider.KeycloakDeploymentInfo; -import org.keycloak.provider.ProviderLoader; -import org.keycloak.provider.ProviderLoaderFactory; - -/** - * @author Stian Thorgersen - */ -public class ModuleProviderLoaderFactory implements ProviderLoaderFactory { - - @Override - public boolean supports(String type) { - return "module".equals(type); - } - - @Override - public ProviderLoader create(KeycloakDeploymentInfo info, ClassLoader baseClassLoader, String resource) { - try { - Module module = Module.getContextModuleLoader().loadModule(ModuleIdentifier.fromString(resource)); - ModuleClassLoader classLoader = module.getClassLoader(); - return new DefaultProviderLoader(info, classLoader); - } catch (Exception e) { - throw new RuntimeException(e); - } - } - -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/ModuleThemeProviderFactory.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/ModuleThemeProviderFactory.java deleted file mode 100644 index d1e6ce5fcc4..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/ModuleThemeProviderFactory.java +++ /dev/null @@ -1,52 +0,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. - */ - -package org.keycloak.provider.wildfly; - -import org.jboss.modules.Module; -import org.jboss.modules.ModuleClassLoader; -import org.jboss.modules.ModuleIdentifier; -import org.keycloak.Config; -import org.keycloak.theme.ClasspathThemeProviderFactory; -import org.keycloak.theme.JarThemeProviderFactory; - -/** - * @author Stian Thorgersen - */ -public class ModuleThemeProviderFactory extends ClasspathThemeProviderFactory { - - public ModuleThemeProviderFactory() { - super("module"); - } - - @Override - public void init(Config.Scope config) { - String[] modules = config.getArray("modules"); - if (modules != null) { - try { - for (String moduleSpec : modules) { - Module module = Module.getContextModuleLoader().loadModule(ModuleIdentifier.fromString(moduleSpec)); - ModuleClassLoader classLoader = module.getClassLoader(); - loadThemes(classLoader, classLoader.getResourceAsStream(KEYCLOAK_THEMES_JSON)); - } - } catch (Exception e) { - throw new RuntimeException("Failed to load themes", e); - } - } - } - -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/Resteasy3Provider.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/Resteasy3Provider.java deleted file mode 100644 index acf35aaf8a6..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/Resteasy3Provider.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.keycloak.provider.wildfly; - -import org.jboss.resteasy.core.ResteasyContext; -import org.keycloak.common.util.ResteasyProvider; - -public class Resteasy3Provider implements ResteasyProvider { - - @Override - public R getContextData(Class type) { - return ResteasyContext.getContextData(type); - } - - @Override - public void pushDefaultContextObject(Class type, Object instance) { - ResteasyContext.getContextData(org.jboss.resteasy.spi.Dispatcher.class).getDefaultContextObjects() - .put(type, instance); - } - - @Override - public void pushContext(Class type, Object instance) { - ResteasyContext.pushContext(type, instance); - } - - @Override - public void clearContextData() { - ResteasyContext.clearContextData(); - } - -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildFlyRequestFilter.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildFlyRequestFilter.java deleted file mode 100755 index 5cbb00f84e6..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildFlyRequestFilter.java +++ /dev/null @@ -1,76 +0,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. - */ - -package org.keycloak.provider.wildfly; - -import java.io.UnsupportedEncodingException; - -import javax.servlet.Filter; -import javax.servlet.FilterChain; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; -import javax.servlet.http.HttpServletRequest; - -import org.keycloak.common.ClientConnection; -import org.keycloak.services.filters.AbstractRequestFilter; - -public class WildFlyRequestFilter extends AbstractRequestFilter implements Filter { - - @Override - public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) - throws UnsupportedEncodingException { - servletRequest.setCharacterEncoding("UTF-8"); - ClientConnection clientConnection = createConnection((HttpServletRequest) servletRequest); - - filter(clientConnection, (session) -> { - try { - filterChain.doFilter(servletRequest, servletResponse); - } catch (Exception e) { - throw new RuntimeException(e); - } - }); - } - - private ClientConnection createConnection(HttpServletRequest request) { - return new ClientConnection() { - @Override - public String getRemoteAddr() { - return request.getRemoteAddr(); - } - - @Override - public String getRemoteHost() { - return request.getRemoteHost(); - } - - @Override - public int getRemotePort() { - return request.getRemotePort(); - } - - @Override - public String getLocalAddr() { - return request.getLocalAddr(); - } - - @Override - public int getLocalPort() { - return request.getLocalPort(); - } - }; - } -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyCacheManagerProvider.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyCacheManagerProvider.java deleted file mode 100644 index 11de009cc21..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyCacheManagerProvider.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2019 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. - */ - -package org.keycloak.provider.wildfly; - -import javax.naming.InitialContext; - -import org.keycloak.Config; -import org.keycloak.cluster.ManagedCacheManagerProvider; - -/** - * @author Pedro Igor - */ -public class WildflyCacheManagerProvider implements ManagedCacheManagerProvider { - - @Override - public C getCacheManager(Config.Scope config) { - String cacheContainer = config.get("cacheContainer"); - - if (cacheContainer == null) { - return null; - } - - try { - return (C) new InitialContext().lookup(cacheContainer); - } catch (Exception e) { - throw new RuntimeException("Failed to retrieve cache container", e); - } - } -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyLifecycleListener.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyLifecycleListener.java deleted file mode 100644 index ccf3158c73d..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyLifecycleListener.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2019 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. - */ - -package org.keycloak.provider.wildfly; - -import javax.servlet.ServletContextEvent; -import javax.servlet.ServletContextListener; -import javax.servlet.annotation.WebListener; -import org.keycloak.platform.Platform; - -@WebListener -public class WildflyLifecycleListener implements ServletContextListener { - - @Override - public void contextInitialized(ServletContextEvent sce) { - } - - @Override - public void contextDestroyed(ServletContextEvent sce) { - - Runnable shutdownHook = ((WildflyPlatform) Platform.getPlatform()).shutdownHook; - - if (shutdownHook != null) { - shutdownHook.run(); - } - - } - -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyPlatform.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyPlatform.java deleted file mode 100644 index e772efb9924..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyPlatform.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2019 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. - */ - -package org.keycloak.provider.wildfly; - -import java.io.File; - -import org.jboss.logging.Logger; -import org.jboss.modules.Module; -import org.jboss.modules.ModuleIdentifier; -import org.jboss.modules.ModuleLoadException; -import org.keycloak.Config; -import org.keycloak.common.util.Environment; -import org.keycloak.platform.PlatformProvider; -import org.keycloak.services.ServicesLogger; - -public class WildflyPlatform implements PlatformProvider { - - private static final Logger log = Logger.getLogger(WildflyPlatform.class); - - // In this module, the attempt to load script engine will be done by default - private static final String DEFAULT_SCRIPT_ENGINE_MODULE = "org.openjdk.nashorn.nashorn-core"; - - // Module name for deployment of keycloak server - private static final String DEPLOYMENT_MODULE_NAME = "deployment.keycloak-server.war"; - - Runnable shutdownHook; - - private File tmpDir; - - @Override - public void onStartup(Runnable startupHook) { - startupHook.run(); - } - - @Override - public void onShutdown(Runnable shutdownHook) { - this.shutdownHook = shutdownHook; - } - - @Override - public void exit(Throwable cause) { - ServicesLogger.LOGGER.fatal("Error during startup", cause); - exit(1); - } - - private void exit(int status) { - new Thread() { - @Override - public void run() { - System.exit(status); - } - }.start(); - } - - @Override - public File getTmpDirectory() { - if (tmpDir == null) { - String tmpDirName = System.getProperty("jboss.server.temp.dir"); - if (tmpDirName == null) { - throw new RuntimeException("System property jboss.server.temp.dir not set"); - } - - File tmpDir = new File(tmpDirName); - if (tmpDir.isDirectory()) { - this.tmpDir = tmpDir; - log.debugf("Using server tmp directory: %s", tmpDir.getAbsolutePath()); - } else { - throw new RuntimeException("Wildfly temp directory not exists under path: " + tmpDirName); - } - } - return tmpDir; - } - - @Override - public ClassLoader getScriptEngineClassLoader(Config.Scope scriptProviderConfig) { - String engineModule = scriptProviderConfig.get("script-engine-module"); - if (engineModule == null) { - engineModule = DEFAULT_SCRIPT_ENGINE_MODULE; - } - - try { - Module module = Module.getContextModuleLoader().loadModule(ModuleIdentifier.fromString(engineModule)); - log.infof("Found script engine module '%s'", engineModule); - return module.getClassLoader(); - } catch (ModuleLoadException mle) { - if (WildflyUtil.getJavaVersion() >= 15) { - log.warnf("Cannot find script engine in the JBoss module '%s'. Please add JavaScript engine to the specified JBoss Module or make sure it is available on the classpath", engineModule); - return null; - } else { - try { - Module module = Module.getContextModuleLoader().loadModule(ModuleIdentifier.fromString(DEPLOYMENT_MODULE_NAME)); - log.debugf("Cannot find script engine in the JBoss module '%s'. Will fallback to the default script engine available from the module '%s'", engineModule, DEPLOYMENT_MODULE_NAME); - return module.getClassLoader(); - } catch (ModuleLoadException mle2) { - // Should not happen - log.warnf("Cannot find script engine in the JBoss module '%s' and in the module '%s'. Please add JavaScript engine to the specified JBoss Module or make sure it is available on the classpath", engineModule, DEPLOYMENT_MODULE_NAME); - return null; - } - } - } - } -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyUtil.java b/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyUtil.java deleted file mode 100644 index 60dbb7ce00a..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/provider/wildfly/WildflyUtil.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2022 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. - * - */ - -package org.keycloak.provider.wildfly; - -/** - * @author Marek Posolda - */ -public class WildflyUtil { - - /** - * @return major version of java runtime like 8, 11 or 17 - */ - public static int getJavaVersion() { - String version = System.getProperty("java.version"); - if (version.startsWith("1.")) { - version = version.substring(2, 3); - } else { - int dot = version.indexOf("."); - if (dot != -1) version = version.substring(0, dot); - } - - return Integer.parseInt(version); - } -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/vault/ElytronCSKeyStoreProvider.java b/wildfly/extensions/src/main/java/org/keycloak/vault/ElytronCSKeyStoreProvider.java deleted file mode 100644 index 0ecb8615c41..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/vault/ElytronCSKeyStoreProvider.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2019 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. - */ - -package org.keycloak.vault; - -import java.lang.invoke.MethodHandles; -import java.nio.ByteBuffer; -import java.nio.CharBuffer; -import java.nio.charset.StandardCharsets; -import java.util.List; -import java.util.Optional; - -import org.jboss.logging.Logger; -import org.wildfly.security.credential.PasswordCredential; -import org.wildfly.security.credential.store.CredentialStore; -import org.wildfly.security.credential.store.CredentialStoreException; -import org.wildfly.security.password.interfaces.ClearPassword; - -/** - * A {@link VaultProvider} implementation that uses the Elytron keystore-based credential store implementation to retrieve secrets. - * Elytron credential stores can be created and managed using either the elytron subsystem in WildFly/EAP or the elytron tool. - * - * @author Stefan Guilhen - */ -public class ElytronCSKeyStoreProvider extends AbstractVaultProvider { - - private static final Logger logger = Logger.getLogger(MethodHandles.lookup().lookupClass()); - - private final CredentialStore credentialStore; - - public ElytronCSKeyStoreProvider(final CredentialStore store, final String realmName, final List resolvers) { - super(realmName, resolvers); - this.credentialStore = store; - } - - @Override - protected VaultRawSecret obtainSecretInternal(String vaultSecretId) { - try { - PasswordCredential credential = this.credentialStore.retrieve(vaultSecretId, PasswordCredential.class); - if (credential == null) { - // alias not found, password type doesn't match entry, or algorithm (clear) doesn't match entry. - logger.debugf("Cannot find secret %s in credential store", vaultSecretId); - return DefaultVaultRawSecret.forBuffer(Optional.empty()); - } - char[] secret = credential.getPassword().castAndApply(ClearPassword.class, ClearPassword::getPassword); - ByteBuffer buffer = StandardCharsets.UTF_8.encode(CharBuffer.wrap(secret)); - return DefaultVaultRawSecret.forBuffer(Optional.of(buffer)); - } catch (CredentialStoreException e) { - // this might happen if there is an error when trying to retrieve the secret from the store. - logger.debugf(e, "Unable to retrieve secret %s from credential store", vaultSecretId); - return DefaultVaultRawSecret.forBuffer(Optional.empty()); - } - } - - @Override - public void close() { - } -} diff --git a/wildfly/extensions/src/main/java/org/keycloak/vault/ElytronCSKeyStoreProviderFactory.java b/wildfly/extensions/src/main/java/org/keycloak/vault/ElytronCSKeyStoreProviderFactory.java deleted file mode 100644 index 34b69826f7b..00000000000 --- a/wildfly/extensions/src/main/java/org/keycloak/vault/ElytronCSKeyStoreProviderFactory.java +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Copyright 2019 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. - */ - -package org.keycloak.vault; - -import java.io.IOException; -import java.lang.invoke.MethodHandles; -import java.nio.file.Files; -import java.nio.file.Paths; -import java.security.GeneralSecurityException; -import java.security.NoSuchAlgorithmException; -import java.security.Security; -import java.security.spec.AlgorithmParameterSpec; -import java.util.HashMap; -import java.util.Map; - -import org.jboss.logging.Logger; -import org.keycloak.Config; -import org.keycloak.models.KeycloakSession; -import org.keycloak.models.KeycloakSessionFactory; -import org.wildfly.security.auth.SupportLevel; -import org.wildfly.security.auth.server.IdentityCredentials; -import org.wildfly.security.credential.Credential; -import org.wildfly.security.credential.PasswordCredential; -import org.wildfly.security.credential.source.CredentialSource; -import org.wildfly.security.credential.store.CredentialStore; -import org.wildfly.security.credential.store.CredentialStoreException; -import org.wildfly.security.credential.store.WildFlyElytronCredentialStoreProvider; -import org.wildfly.security.credential.store.impl.KeyStoreCredentialStore; -import org.wildfly.security.password.interfaces.ClearPassword; -import org.wildfly.security.util.PasswordBasedEncryptionUtil; - -/** - * A {@link VaultProviderFactory} implementation that creates and configures {@link ElytronCSKeyStoreProvider}s. The following - * configuration attributes are available for the {@code ElytronCSKeyStoreProviderFactory}: - *
    - *
  • location (required): the path to he keystore file that contains the secrets. This file is created and managed by Elytron - * using either the {@code elytron} subsystem in WildFly/EAP or the {@code elytron-tool.sh} script.
  • - *
  • secret (required): the keystore master secret. Can be specified in clear text form or in masked form. The masked form - * can be generated using the {@code elytron-tool.sh} script. For further details, check the Elytron tool documentation.
  • - *
  • keyStoreType (optional): the keystore type. Defaults to {@code JCEKS}.
  • - *
  • keyResolvers (optional): a comma-separated list of vault key resolvers. Defaults to {@code REALM_UNDERSCORE_KEY}.
  • - *
- *

- * If any of the required configuration attributes is missing, the factory logs a debug message indicating that it has not - * been properly configured and will return {@code null} when {@link #create(KeycloakSession)} is called. - *

- * If the factory has been properly configured but the {@code location} attribute points to a keystore that does not exist, - * a {@link VaultNotFoundException} is raised on init. Similarly, if the key resolvers are configured and none of the specified - * resolvers is valid, a {@link VaultConfigurationException} is raised on init. - * - * @author Stefan Guilhen - */ -public class ElytronCSKeyStoreProviderFactory extends AbstractVaultProviderFactory { - - private static final Logger logger = Logger.getLogger(MethodHandles.lookup().lookupClass()); - - private static final String PROVIDER_ID = "elytron-cs-keystore"; - - static final String CS_LOCATION = "location"; - static final String CS_SECRET = "secret"; - static final String CS_KEYSTORE_TYPE = "keyStoreType"; - static final String JCEKS = "JCEKS"; - - private String credentialStoreLocation; - private String credentialStoreType; - private String credentialStoreSecret; - - @Override - public VaultProvider create(KeycloakSession session) { - if (this.credentialStoreLocation == null || this.credentialStoreSecret == null) { - logger.debug("Can not create an elytron-based vault provider since it's not initialized correctly"); - return null; - } - Map attributes = new HashMap<>(); - attributes.put(CS_LOCATION, this.credentialStoreLocation); - attributes.put(CS_KEYSTORE_TYPE, this.credentialStoreType); - - CredentialStore credentialStore; - try { - credentialStore = CredentialStore.getInstance(KeyStoreCredentialStore.KEY_STORE_CREDENTIAL_STORE); - credentialStore.initialize(attributes, new CredentialStore.CredentialSourceProtectionParameter( - this.getCredentialSource(this.credentialStoreSecret))); - } catch (NoSuchAlgorithmException | CredentialStoreException e) { - logger.debug("Error instantiating credential store", e); - return null; - } - - return new ElytronCSKeyStoreProvider(credentialStore, getRealmName(session), super.keyResolvers); - } - - @Override - public void init(Config.Scope config) { - super.init(config); - - this.credentialStoreLocation = config.get(CS_LOCATION); - if (this.credentialStoreLocation == null) { - logger.debug("ElytronCSKeyStoreProviderFactory not properly configured - missing store location"); - return; - } - if (!Files.exists(Paths.get(this.credentialStoreLocation))) { - throw new VaultNotFoundException("The " + this.credentialStoreLocation + " file doesn't exist"); - } - - this.credentialStoreSecret = config.get(CS_SECRET); - if (this.credentialStoreSecret == null) { - logger.debug("ElytronCSKeyStoreProviderFactory not properly configured - missing store secret"); - return; - } - this.credentialStoreType = config.get(CS_KEYSTORE_TYPE, JCEKS); - - // install the elytron credential store provider. - Security.addProvider(WildFlyElytronCredentialStoreProvider.getInstance()); - } - - @Override - public void postInit(KeycloakSessionFactory factory) { - } - - @Override - public void close() { - // remove the elytron credential store provider. - Security.removeProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName()); - } - - @Override - public String getId() { - return PROVIDER_ID; - } - - /** - * Obtains the {@code CredentialSource} to be used as a protection parameter when initializing the Elytron credential - * store. The source is essentially a wrapper for the credential store secret. The credential store secret can be specified - * in clear text form or in masked form. Check the Elytron tool documentation for instruction on how to mask the credential - * store secret. - *

- * Note: This logic should ideally be provided directly by Elytron but is currently missing. - * - * @param secret the secret obtained from the {@link ElytronCSKeyStoreProviderFactory} configuration. - * @return the constructed {@code CredentialSource}. - */ - protected CredentialSource getCredentialSource(final String secret) { - if (secret != null && secret.startsWith("MASK-")) { - return new CredentialSource() { - @Override - public SupportLevel getCredentialAcquireSupport(Class credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException { - return credentialType == PasswordCredential.class ? SupportLevel.SUPPORTED : SupportLevel.UNSUPPORTED; - } - - @Override - public C getCredential(Class credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException { - String[] part = secret.substring(5).split(";"); // strip "MASK-" and split by ';' - if (part.length != 3) { - throw new IOException("Masked password command has the wrong format.%nUsage: MASK-;; " + - "where =UTF-8 characters, =reasonable sized positive integer"); - } - String salt = part[1]; - final int iterationCount; - try { - iterationCount = Integer.parseInt(part[2]); - } catch (NumberFormatException e) { - throw new IOException("Masked password command has the wrong format.%nUsage: MASK-;; " + - "where =UTF-8 characters, =reasonable sized positive integer"); - } - try { - PasswordBasedEncryptionUtil decryptUtil = new PasswordBasedEncryptionUtil.Builder() - .picketBoxCompatibility().salt(salt).iteration(iterationCount).decryptMode() - .build(); - return credentialType.cast(new PasswordCredential(ClearPassword.createRaw(ClearPassword.ALGORITHM_CLEAR, - decryptUtil.decodeAndDecrypt(part[0])))); - } catch (GeneralSecurityException e) { - throw new IOException(e); - } - } - }; - } else { - return IdentityCredentials.NONE.withCredential(new PasswordCredential( - ClearPassword.createRaw(ClearPassword.ALGORITHM_CLEAR, secret.toCharArray()))); - } - } - - -} diff --git a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.cluster.ManagedCacheManagerProvider b/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.cluster.ManagedCacheManagerProvider deleted file mode 100644 index a1836f87ab8..00000000000 --- a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.cluster.ManagedCacheManagerProvider +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright 2019 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. -# - -org.keycloak.provider.wildfly.WildflyCacheManagerProvider \ No newline at end of file diff --git a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.common.util.ResteasyProvider b/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.common.util.ResteasyProvider deleted file mode 100644 index 260db8b3098..00000000000 --- a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.common.util.ResteasyProvider +++ /dev/null @@ -1 +0,0 @@ -org.keycloak.provider.wildfly.Resteasy3Provider \ No newline at end of file diff --git a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.config.ConfigProviderFactory b/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.config.ConfigProviderFactory deleted file mode 100644 index 4eb2d01ee0d..00000000000 --- a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.config.ConfigProviderFactory +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright 2019 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. -# - -org.keycloak.provider.wildfly.DMRConfigProviderFactory diff --git a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.platform.PlatformProvider b/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.platform.PlatformProvider deleted file mode 100644 index 606cc86c619..00000000000 --- a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.platform.PlatformProvider +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright 2019 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. -# - -org.keycloak.provider.wildfly.WildflyPlatform diff --git a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.provider.ProviderLoaderFactory b/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.provider.ProviderLoaderFactory deleted file mode 100644 index daa09db21c0..00000000000 --- a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.provider.ProviderLoaderFactory +++ /dev/null @@ -1,18 +0,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. -# - -org.keycloak.provider.wildfly.ModuleProviderLoaderFactory \ No newline at end of file diff --git a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.theme.ThemeProviderFactory b/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.theme.ThemeProviderFactory deleted file mode 100644 index 3134335f007..00000000000 --- a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.theme.ThemeProviderFactory +++ /dev/null @@ -1,18 +0,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. -# - -org.keycloak.provider.wildfly.ModuleThemeProviderFactory \ No newline at end of file diff --git a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.vault.VaultProviderFactory b/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.vault.VaultProviderFactory deleted file mode 100644 index de0d28a50a0..00000000000 --- a/wildfly/extensions/src/main/resources/META-INF/services/org.keycloak.vault.VaultProviderFactory +++ /dev/null @@ -1 +0,0 @@ -org.keycloak.vault.ElytronCSKeyStoreProviderFactory \ No newline at end of file diff --git a/wildfly/extensions/src/test/java/org/keycloak/vault/ElytronCSKeyStoreProviderTest.java b/wildfly/extensions/src/test/java/org/keycloak/vault/ElytronCSKeyStoreProviderTest.java deleted file mode 100644 index d5ff5a5196b..00000000000 --- a/wildfly/extensions/src/test/java/org/keycloak/vault/ElytronCSKeyStoreProviderTest.java +++ /dev/null @@ -1,383 +0,0 @@ -/* - * Copyright 2019 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. - */ - -package org.keycloak.vault; - -import java.nio.charset.StandardCharsets; -import java.security.Security; -import java.util.HashMap; -import java.util.Map; -import java.util.Set; - -import org.hamcrest.Description; -import org.hamcrest.Matcher; -import org.hamcrest.TypeSafeMatcher; -import org.junit.Assert; -import org.junit.Rule; -import org.junit.Test; -import org.junit.rules.ExpectedException; -import org.keycloak.Config; -import org.keycloak.models.KeycloakSession; -import org.wildfly.security.credential.store.WildFlyElytronCredentialStoreProvider; - -/** - * Tests for the {@link ElytronCSKeyStoreProvider} and associated {@link ElytronCSKeyStoreProviderFactory}. - * - * @author Stefan Guilhen - */ -public class ElytronCSKeyStoreProviderTest { - - @Rule - public ExpectedException expectedException = ExpectedException.none(); - - /** - * Tests the initialization of the {@link ElytronCSKeyStoreProviderFactory} using a valid configuration. As a result, - * the Elytron credential store security provider should have been installed by the factory. - * - * @throws Exception if an exception occurs while running the test. - */ - @Test - public void testInitFactoryWithValidConfig() throws Exception { - ElytronCSKeyStoreProviderFactory factory = null; - try { - ProviderConfig config = new ProviderConfig("src/test/resources/org/keycloak/vault/credential-store.p12", - "MASK-3u2HNQaMogJJ8VP7J6gRIl;12345678;321", "PKCS12"); - config.setKeyResolvers("KEY_ONLY, REALM_UNDERSCORE_KEY"); - factory = new ElytronCSKeyStoreProviderFactory(); - - factory.init(config); - // should initialize without errors and the elytron credential store provider is installed. - Assert.assertNotNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - } finally { - if (factory != null) { - factory.close(); - } - // elytron credential store provider should be removed on close. - Assert.assertNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - } - } - - /** - * Tests the initialization of the {@link ElytronCSKeyStoreProviderFactory} using an empty config (this happens when - * the factory is loaded via SPI but is not configured in keycloak). The factory must initialize without errors but - * it won't be able to create providers. - * - * @throws Exception if an error occurs while runnig the test. - */ - @Test - public void testInitFactoryWithEmptyConfig() throws Exception { - ProviderConfig config = new ProviderConfig(null, null, null); - ElytronCSKeyStoreProviderFactory factory = new ElytronCSKeyStoreProviderFactory(); - factory.init(config); - // should initialize without exceptions being thrown, but the elytron credential store provider isn't installed. - Assert.assertNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - } - - /** - * Tests the initialization of the {@link ElytronCSKeyStoreProviderFactory} using a config that points to a credential - * store location that does not exist. The initialization is expected to fail in this case. - * - * @throws Exception if an error occurs while running the test. - */ - @Test - public void testInitFactoryWithInvalidLocationThrowsException() throws Exception { - ProviderConfig config = new ProviderConfig("src/test/resources/org/keycloak/vault/non-existing.p12", "secretpw1!", "JCEKS"); - ElytronCSKeyStoreProviderFactory factory = new ElytronCSKeyStoreProviderFactory(); - this.expectedException.expect(VaultNotFoundException.class); - try { - factory.init(config); - } finally { - // make sure the elytron credential store provider wasn't installed. - Assert.assertNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - } - } - - /** - * Tests the initialization of the {@link ElytronCSKeyStoreProviderFactory} using a config that specifies only invalid - * key resolvers. One of the resolvers configured in this test is the {@code FACTORY_PROVIDED}, which is a valid name, - * but the {@link ElytronCSKeyStoreProviderFactory} doesn't implement the {@code getFactoryResolver} method and as such - * is unable to provide a valid resolver. - * - * @throws Exception if an error occurs while running the test. - */ - @Test - public void testInitFactoryWithInvalidResolversThrowsException() throws Exception { - ProviderConfig config = new ProviderConfig("src/test/resources/org/keycloak/vault/credential-store.p12", "secretpw1!", "PKCS12"); - config.setKeyResolvers("INVALID_RESOLVER, FACTORY_PROVIDED"); - ElytronCSKeyStoreProviderFactory factory = new ElytronCSKeyStoreProviderFactory(); - this.expectedException.expect(VaultConfigurationException.class); - try { - factory.init(config); - } finally { - // make sure the elytron credential store provider wasn't installed. - Assert.assertNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - } - } - - /** - * Tests the creation of a provider using the {@link ElytronCSKeyStoreProviderFactory}. The test plays with the configuration - * to check if the factory returns a proper {@link ElytronCSKeyStoreProvider} instance when fed with valid configuration and - * if {@code null} is returned when a required configuration property is missing. - * - * @throws Exception if an error occurs while running the test. - */ - @Test - public void testCreateProvider() throws Exception { - ElytronCSKeyStoreProviderFactory factory = null; - try { - // init the factory with valid config and check it can successfully create a provider instance. - ProviderConfig config = new ProviderConfig("src/test/resources/org/keycloak/vault/credential-store.p12", "secretpw1!", "PKCS12"); - factory = new ElytronCSKeyStoreProviderFactory() { - @Override - protected String getRealmName(KeycloakSession session) { - return "master"; - } - }; - factory.init(config); - Assert.assertNotNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - - VaultProvider provider = factory.create(null); - Assert.assertNotNull(provider); - - // init the factory without a location and check that it returns a null provider on create. - config.setLocation(null); - factory.init(config); - provider = factory.create(null); - Assert.assertNull(provider); - - // init the factory without a password and check that it returns a null provider on create. - config.setLocation("src/test/resources/org/keycloak/vault/credential-store.p12"); - config.setPassword(null); - factory.init(config); - provider = factory.create(null); - Assert.assertNull(provider); - - // init the factory with an invalid keystore type and check that it returns a null provider on create. - config.setPassword("secretpw1!"); - config.setKeyStoreType("INV_TYPE"); - factory.init(config); - provider = factory.create(null); - Assert.assertNull(provider); - } finally { - if (factory != null) { - factory.close(); - } - Assert.assertNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - } - } - - /** - * Tests the retrieval of secrets using the {@link ElytronCSKeyStoreProvider}. The test relies on the factory to obtain - * an instance of the provider and then checks if the provider is capable of retrieving secrets using the configured - * Elytron credential store. - * - * @throws Exception if an error occurs while running the test. - */ - @Test - public void testRetrieveSecretFromVault() throws Exception { - ElytronCSKeyStoreProviderFactory factory = null; - try { - ProviderConfig config = new ProviderConfig("src/test/resources/org/keycloak/vault/credential-store.p12", - "MASK-3u2HNQaMogJJ8VP7J6gRIl;12345678;321", "PKCS12"); - config.setKeyResolvers("KEY_ONLY, REALM_UNDERSCORE_KEY"); - factory = new ElytronCSKeyStoreProviderFactory() { - @Override - protected String getRealmName(KeycloakSession session) { - return "master"; - } - }; - - factory.init(config); - Assert.assertNotNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - - VaultProvider provider = factory.create(null); - Assert.assertNotNull(provider); - - // obtain a secret using a key that exists (matches the key provided by the REALM_UNDERSCORE_KEY resolver). - VaultRawSecret secret = provider.obtainSecret("smtp_key"); - Assert.assertNotNull(secret); - Assert.assertTrue(secret.get().isPresent()); - Assert.assertThat(secret, SecretContains.secretContains("secure_master_smtp_secret")); - - // try to retrieve a secret using a key that doesn't exist (neither of the key resolvers provides a key that exists in the vault). - secret = provider.obtainSecret("another_key"); - Assert.assertNotNull(secret); - Assert.assertFalse(secret.get().isPresent()); - } finally { - if (factory != null) { - factory.close(); - } - Assert.assertNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - } - } - - /** - * Tests the retrieval of secrets using a custom {@link VaultProviderFactory} that extends the {@link ElytronCSKeyStoreProviderFactory} - * and overrides the {@code getFactoryResolver} method to return a key resolver that combines the realm and key using the - * {@code realm###key} format. We have an entry ({@code test###smtp_key}) in the test credential store that matches the format , - * so using a config that sets the {@code keyResolvers} property to {@code FACTORY_PROVIDED} should result in the proper - * secret being retrieved from the vault. - * - * @throws Exception if an error occurs while running the test. - */ - @Test - public void testRetrieveSecretUsingCustomFactory() throws Exception { - ElytronCSKeyStoreProviderFactory factory = null; - try { - ProviderConfig config = new ProviderConfig("src/test/resources/org/keycloak/vault/credential-store.p12", - "MASK-3u2HNQaMogJJ8VP7J6gRIl;12345678;321", "PKCS12"); - config.setKeyResolvers("FACTORY_PROVIDED"); - factory = new ElytronCSKeyStoreProviderFactory() { - @Override - protected String getRealmName(KeycloakSession session) { - return "test"; - } - - @Override - protected VaultKeyResolver getFactoryResolver() { - return (realm, key) -> realm + "###" + key; - } - }; - - factory.init(config); - Assert.assertNotNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - - VaultProvider provider = factory.create(null); - Assert.assertNotNull(provider); - - // obtain a secret using a key that exists (matches the key provided by the FACTORY_PROVIDED resolver). - VaultRawSecret secret = provider.obtainSecret("smtp_key"); - Assert.assertNotNull(secret); - Assert.assertTrue(secret.get().isPresent()); - Assert.assertThat(secret, SecretContains.secretContains("custom_smtp_secret")); - } finally { - if (factory != null) { - factory.close(); - } - Assert.assertNull(Security.getProvider(WildFlyElytronCredentialStoreProvider.getInstance().getName())); - } - } - - /** - * Implementation of {@link Config.Scope} to be used for the tests. - */ - private static class ProviderConfig implements Config.Scope { - - private Map config = new HashMap<>(); - - ProviderConfig(final String location, final String password, final String keyStoreType) { - this.config.put(ElytronCSKeyStoreProviderFactory.CS_LOCATION, location); - this.config.put(ElytronCSKeyStoreProviderFactory.CS_SECRET, password); - this.config.put(ElytronCSKeyStoreProviderFactory.CS_KEYSTORE_TYPE, keyStoreType); - } - - void setLocation(final String location) { - this.config.put(ElytronCSKeyStoreProviderFactory.CS_LOCATION, location); - } - - void setPassword(final String password) { - this.config.put(ElytronCSKeyStoreProviderFactory.CS_SECRET, password); - } - - void setKeyStoreType(final String keyStoreType) { - this.config.put(ElytronCSKeyStoreProviderFactory.CS_KEYSTORE_TYPE, keyStoreType); - } - - void setKeyResolvers(final String keyResolvers) { - this.config.put(AbstractVaultProviderFactory.KEY_RESOLVERS, keyResolvers); - } - - @Override - public String get(String key) { - return this.config.get(key); - } - - @Override - public String get(String key, String defaultValue) { - return this.config.get(key) != null ? this.config.get(key) : defaultValue; - } - - @Override - public String[] getArray(String key) { - throw new UnsupportedOperationException("not implemented"); - } - - @Override - public Integer getInt(String key) { - throw new UnsupportedOperationException("not implemented"); - } - - @Override - public Integer getInt(String key, Integer defaultValue) { - throw new UnsupportedOperationException("not implemented"); - } - - @Override - public Long getLong(String key) { - throw new UnsupportedOperationException("not implemented"); - } - - @Override - public Long getLong(String key, Long defaultValue) { - throw new UnsupportedOperationException("not implemented"); - } - - @Override - public Boolean getBoolean(String key) { - throw new UnsupportedOperationException("not implemented"); - } - - @Override - public Boolean getBoolean(String key, Boolean defaultValue) { - throw new UnsupportedOperationException("not implemented"); - } - - @Override - public Config.Scope scope(String... scope) { - throw new UnsupportedOperationException("not implemented"); - } - - @Override - public Set getPropertyNames() { - throw new UnsupportedOperationException("not implemented"); - } - } - - static class SecretContains extends TypeSafeMatcher { - - private String thisVaultAsString; - - SecretContains(String thisVaultAsString) { - this.thisVaultAsString = thisVaultAsString; - } - - @Override - protected boolean matchesSafely(VaultRawSecret secret) { - String convertedSecret = StandardCharsets.UTF_8.decode(secret.get().get()).toString(); - return thisVaultAsString.equals(convertedSecret); - } - - @Override - public void describeTo(Description description) { - description.appendText("is equal to " + thisVaultAsString); - } - - static Matcher secretContains(String thisVaultAsString) { - return new SecretContains(thisVaultAsString); - } - } -} diff --git a/wildfly/extensions/src/test/resources/log4j.properties b/wildfly/extensions/src/test/resources/log4j.properties deleted file mode 100755 index 0032431e6f6..00000000000 --- a/wildfly/extensions/src/test/resources/log4j.properties +++ /dev/null @@ -1,5 +0,0 @@ -log4j.rootLogger=info, stdout - -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %t [%c] %m%n \ No newline at end of file diff --git a/wildfly/extensions/src/test/resources/org/keycloak/vault/credential-store.p12 b/wildfly/extensions/src/test/resources/org/keycloak/vault/credential-store.p12 deleted file mode 100644 index ede88bdd712..00000000000 Binary files a/wildfly/extensions/src/test/resources/org/keycloak/vault/credential-store.p12 and /dev/null differ diff --git a/wildfly/pom.xml b/wildfly/pom.xml deleted file mode 100755 index 9451ada0c9c..00000000000 --- a/wildfly/pom.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - keycloak-parent - org.keycloak - 999-SNAPSHOT - - - Keycloak WildFly Server Integration Parent - - 4.0.0 - - keycloak-wildfly-parent - pom - - - adduser - extensions - server-subsystem - - diff --git a/wildfly/server-subsystem/pom.xml b/wildfly/server-subsystem/pom.xml deleted file mode 100755 index d3ebcf5103e..00000000000 --- a/wildfly/server-subsystem/pom.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - 4.0.0 - - - org.keycloak - keycloak-wildfly-parent - 999-SNAPSHOT - - - keycloak-wildfly-server-subsystem - Keycloak WildFly Server Subsystem - - jar - - - - - org.apache.maven.plugins - maven-surefire-plugin - - false - true - - - jboss.home - ${jboss.home} - - - - **/*TestCase.java - - - - - - src/main/config/default-server-subsys-config.properties - - - - src/main/resources - true - - - - - src/test/resources - true - - - - - - - com.fasterxml.jackson.core - jackson-core - - - com.fasterxml.jackson.core - jackson-databind - - - org.wildfly.core - wildfly-controller - provided - - - org.wildfly.core - wildfly-server - provided - - - org.wildfly - wildfly-web-common - provided - - - org.jboss.logging - jboss-logging-annotations - provided - - - - org.jboss.logging - jboss-logging-processor - provided - - - org.keycloak - keycloak-services - provided - - - org.keycloak - keycloak-server-spi-private - provided - - - org.keycloak - keycloak-server-spi - provided - - - org.keycloak - keycloak-authz-policy-common - provided - - - - org.wildfly.core - wildfly-subsystem-test-framework - test - - - junit - junit - test - - - diff --git a/wildfly/server-subsystem/src/main/config/default-server-subsys-config.properties b/wildfly/server-subsystem/src/main/config/default-server-subsys-config.properties deleted file mode 100644 index 5a080b47b63..00000000000 --- a/wildfly/server-subsystem/src/main/config/default-server-subsys-config.properties +++ /dev/null @@ -1,89 +0,0 @@ -# IMPORTANT: If you change this file you should also make equivalent changes -# to src/main/resources/cli/default-keycloak-subsys-config.cli -# The CLI file is packaged with the subsystem and extracted by the overlay distribution. -# -# !!! This file has to be in sync with distribution/galleon-feature-packs/server-galleon-pack/src/main/resources/feature_groups/keycloak-server-subsystem.xml -# -# Also, you should update the migrate-*.cli scripts in -# /distribution/feature-packs/server-feature-pack/src/main/resources/content/bin -# - -keycloak.server.subsys.default.config=\ -\ - auth\ - \ - classpath:${jboss.home.dir}/providers/*\ - \ - master\ - 900\ - \ - 2592000\ - true\ - true\ -

${jboss.home.dir}/themes\ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - jpa\ - \ - \ - basic\ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - default\ - \ - \ - \ - \ - \ - \ - \ - ${keycloak.jta.lookup.provider:jboss}\ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - ${keycloak.x509cert.lookup.provider:default}\ - \ - \ - \ - default\ - \ - \ - \ - \ - \ - \ - \ -
\ diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/attributes/ModulesListAttributeBuilder.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/attributes/ModulesListAttributeBuilder.java deleted file mode 100644 index 1583b66d057..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/attributes/ModulesListAttributeBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.attributes; - -import org.jboss.as.controller.StringListAttributeDefinition; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class ModulesListAttributeBuilder extends StringListAttributeDefinition.Builder { - public ModulesListAttributeBuilder() { - super("modules"); - setAllowExpression(true); - setRequired(false); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/attributes/ProvidersListAttributeBuilder.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/attributes/ProvidersListAttributeBuilder.java deleted file mode 100644 index 8cd85aa8879..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/attributes/ProvidersListAttributeBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.attributes; - -import org.jboss.as.controller.StringListAttributeDefinition; -import org.jboss.dmr.ModelNode; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class ProvidersListAttributeBuilder extends StringListAttributeDefinition.Builder { - public ProvidersListAttributeBuilder() { - super("providers"); - ModelNode provider = new ModelNode(); - provider.add("classpath:${jboss.home.dir}/providers/*"); - setDefaultValue(provider); - setAllowExpression(true); - setRequired(false); - } - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/JsonConfigConverter.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/JsonConfigConverter.java deleted file mode 100644 index 1869ab9c90a..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/JsonConfigConverter.java +++ /dev/null @@ -1,262 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.ObjectMapper; -import org.jboss.as.controller.PathAddress; -import org.jboss.as.controller.operations.common.Util; -import org.jboss.dmr.ModelNode; - -import java.io.IOException; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Iterator; -import java.util.List; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.WRITE_ATTRIBUTE_OPERATION; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.MASTER_REALM_NAME; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.PROVIDERS; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.SCHEDULED_TASK_INTERVAL; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.CACHE_TEMPLATES; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.CACHE_THEMES; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.DEFAULT; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.DIR; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.MODULES; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.STATIC_MAX_AGE; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.WELCOME_THEME; - -/** - * Converts json representation of Keycloak config to DMR operations. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class JsonConfigConverter { - - private static final List NON_SPI_LIST = new ArrayList<>(); - - static { - NON_SPI_LIST.add("providers"); - NON_SPI_LIST.add("admin"); - NON_SPI_LIST.add("theme"); - NON_SPI_LIST.add("scheduled"); - } - - /** - * Convert keycloak-server.json to DMR operations that write to standalone.xml - * or domain.xml. - * - * @param json The json representation of the config. - * @param subsysAddress The management model address of the keycloak-server subsystem. - * @return A list of DMR operations. - * @throws IOException If the json can not be parsed. - */ - public static List convertJsonConfig(String json, PathAddress subsysAddress) throws IOException { - List list = new ArrayList<>(); - - JsonNode root = new ObjectMapper().readTree(json); - - list.add(masterRealmName(root, subsysAddress)); - list.add(scheduledTaskInterval(root, subsysAddress)); - list.add(providers(root, subsysAddress)); - list.add(theme(root, subsysAddress.append(ThemeResourceDefinition.TAG_NAME, - ThemeResourceDefinition.RESOURCE_NAME))); - list.addAll(spis(root, subsysAddress)); - - return list; - } - - private static ModelNode masterRealmName(JsonNode root, PathAddress addr) { - JsonNode targetNode = getNode(root, "admin", "realm"); - String value = MASTER_REALM_NAME.getDefaultValue().asString(); - if (targetNode != null) value = targetNode.asText(value); - - ModelNode op = Util.createOperation(WRITE_ATTRIBUTE_OPERATION, addr); - op.get("name").set(MASTER_REALM_NAME.getName()); - op.get("value").set(value); - return op; - } - - private static ModelNode scheduledTaskInterval(JsonNode root, PathAddress addr) { - JsonNode targetNode = getNode(root, "scheduled", "interval"); - Long value = SCHEDULED_TASK_INTERVAL.getDefaultValue().asLong(); - if (targetNode != null) value = targetNode.asLong(value); - - ModelNode op = Util.createOperation(WRITE_ATTRIBUTE_OPERATION, addr); - op.get("name").set(SCHEDULED_TASK_INTERVAL.getName()); - op.get("value").set(value); - return op; - } - - private static ModelNode providers(JsonNode root, PathAddress addr) { - JsonNode targetNode = getNode(root, "providers"); - ModelNode value = PROVIDERS.getDefaultValue(); - if (targetNode != null && targetNode.isArray()) { - value = new ModelNode(); - for (JsonNode node : targetNode) { - value.add(node.asText()); - } - } - - ModelNode op = Util.createOperation(WRITE_ATTRIBUTE_OPERATION, addr); - op.get("name").set(PROVIDERS.getName()); - op.get("value").set(value); - return op; - } - - private static ModelNode theme(JsonNode root, PathAddress addr) { - JsonNode themeNode = getNode(root, "theme"); - ModelNode op = Util.createAddOperation(addr); - - JsonNode targetNode = getNode(themeNode, "staticMaxAge"); - Long lValue = STATIC_MAX_AGE.getDefaultValue().asLong(); - if (targetNode != null) lValue = targetNode.asLong(lValue); - op.get(STATIC_MAX_AGE.getName()).set(lValue); - - targetNode = getNode(themeNode, "cacheTemplates"); - Boolean bValue = CACHE_TEMPLATES.getDefaultValue().asBoolean(); - if (targetNode != null) bValue = targetNode.asBoolean(bValue); - op.get(CACHE_TEMPLATES.getName()).set(bValue); - - targetNode = getNode(themeNode, "cacheThemes"); - bValue = CACHE_THEMES.getDefaultValue().asBoolean(); - if (targetNode != null) bValue = targetNode.asBoolean(bValue); - op.get(CACHE_THEMES.getName()).set(bValue); - - targetNode = getNode(themeNode, "folder", "dir"); - String sValue = DIR.getDefaultValue().asString(); - if (targetNode != null) sValue = targetNode.asText(sValue); - op.get(DIR.getName()).set(sValue); - - targetNode = getNode(themeNode, "welcomeTheme"); - if (targetNode != null) op.get(WELCOME_THEME.getName()).set(targetNode.asText()); - - targetNode = getNode(themeNode, "default"); - if (targetNode != null) op.get(DEFAULT.getName()).set(targetNode.asText()); - - targetNode = getNode(themeNode, "module", "modules"); - if (targetNode != null && targetNode.isArray()) { - op.get(MODULES.getName()).set(themeModules(targetNode)); - } - - return op; - } - - private static ModelNode themeModules(JsonNode modulesNode) { - ModelNode modules = new ModelNode(); - for (JsonNode node : modulesNode) { - modules.add(node.asText()); - } - return modules; - } - - private static Collection spis(JsonNode root, PathAddress addr) { - List spis = new ArrayList<>(); - - Iterator spiIterator = root.fieldNames(); - while (spiIterator.hasNext()) { - String spiName = spiIterator.next(); - if (NON_SPI_LIST.contains(spiName)) continue; - - PathAddress spiAddr = addr.append("spi", spiName); - spis.addAll(spi(root, spiAddr, spiName)); - } - - return spis; - } - - private static List spi(JsonNode root, PathAddress spiAddr, String spiName) { - List spiAndProviders = new ArrayList<>(); - ModelNode op = Util.createAddOperation(spiAddr); - spiAndProviders.add(op); - - Iterator providerIterator = root.get(spiName).fieldNames(); - while (providerIterator.hasNext()) { - String providerName = providerIterator.next(); - if ("provider".equals(providerName)) { - op.get(SpiResourceDefinition.DEFAULT_PROVIDER.getName()).set(getNode(root, spiName, "provider").asText()); - } else { - PathAddress providerAddr = spiAddr.append("provider", providerName); - spiAndProviders.add(spiProvider(getNode(root, spiName, providerName), providerAddr)); - } - } - - return spiAndProviders; - } - - private static ModelNode spiProvider(JsonNode providerNode, PathAddress providerAddr) { - ModelNode op = Util.createAddOperation(providerAddr); - - ModelNode properties = new ModelNode(); - - Iterator propNames = providerNode.fieldNames(); - while (propNames.hasNext()) { - String propName = propNames.next(); - - if ("enabled".equals(propName)) { - op.get(ProviderResourceDefinition.ENABLED.getName()).set(providerNode.get(propName).asBoolean()); - } else { - if (providerNode.get(propName).isArray()) { - properties.get(propName).set(makeArrayText(providerNode.get(propName))); - } else { - properties.get(propName).set(providerNode.get(propName).asText()); - } - } - } - - if (properties.isDefined() && !properties.asPropertyList().isEmpty()) { - op.get("properties").set(properties); - } - - if (!op.hasDefined(ProviderResourceDefinition.ENABLED.getName())) { - op.get(ProviderResourceDefinition.ENABLED.getName()).set(ProviderResourceDefinition.ENABLED.getDefaultValue()); - } - - return op; - } - - private static String makeArrayText(JsonNode arrayNode) { - StringBuilder builder = new StringBuilder("["); - - Iterator nodes = arrayNode.iterator(); - while (nodes.hasNext()) { - JsonNode node = nodes.next(); - builder.append("\""); - builder.append(node.asText()); - builder.append("\""); - if (nodes.hasNext()) builder.append(","); - } - builder.append("]"); - - return builder.toString(); - } - - private static JsonNode getNode(JsonNode root, String... path) { - if (root == null) { - return null; - } - JsonNode n = root; - for (String p : path) { - n = n.get(p); - if (n == null) { - return null; - } - } - return n; - } - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakAdapterConfigService.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakAdapterConfigService.java deleted file mode 100755 index 538ed81cb80..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakAdapterConfigService.java +++ /dev/null @@ -1,178 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.PathAddress; -import org.jboss.as.controller.PathElement; -import org.jboss.dmr.ModelNode; -import org.jboss.dmr.Property; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADDRESS; - -/** - * This service keeps track of the entire Keycloak management model so as to provide - * configuration to the Keycloak Server. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2013 Red Hat Inc. - */ -public final class KeycloakAdapterConfigService { - - static final KeycloakAdapterConfigService INSTANCE = new KeycloakAdapterConfigService(); - - static final String DEPLOYMENT_NAME = "keycloak-server.war"; - - static ModelNode fullConfig = new ModelNode(); - - private String webContext; - - - private KeycloakAdapterConfigService() { - } - - void updateConfig(ModelNode operation, ModelNode config) { - PathAddress address = PathAddress.pathAddress(operation.get(ADDRESS)); - address = address.subAddress(1); // remove root (subsystem=keycloak-server) - - ModelNode newConfig = fullConfig.clone(); - ModelNode subNode = newConfig; - for (PathElement pathElement : address) { - subNode = subNode.get(pathElement.getKey(), pathElement.getValue()); - } - - subNode.set(config.clone()); - - // remove undefined properties - for (Property prop : subNode.asPropertyList()) { - if (!prop.getValue().isDefined()) { - subNode.remove(prop.getName()); - } - } - - fullConfig = newConfig; - } - - ModelNode getConfig() { - ModelNode copy = fullConfig.clone(); - //System.out.println("******** BEFORE *************"); - //System.out.println(copy); - //System.out.println("*****************************"); - copy.remove("web-context"); - massageScheduledTaskInterval(copy); - massageMasterRealm(copy); - massageTheme(copy); - massageSpis(copy); - //System.out.println("******** JSON *************"); - //System.out.println(copy.resolve().toJSONString(false)); - //System.out.println("**********************"); - return copy; - } - - // The "massage" methods rearrange the model so that everything will - // be where the Keycloak server's Config interface expects it to be. - - private void massageScheduledTaskInterval(ModelNode copy) { - if (!copy.hasDefined("scheduled-task-interval")) return; - ModelNode taskInterval = copy.remove("scheduled-task-interval"); - copy.get("scheduled", "interval").set(taskInterval); - } - - private void massageMasterRealm(ModelNode copy) { - if (!copy.hasDefined("master-realm-name")) return; - ModelNode master = copy.remove("master-realm-name"); - copy.get("admin", "realm").set(master); - } - - private void massageTheme(ModelNode copy) { - if (!copy.hasDefined("theme")) return; - if (!copy.get("theme").hasDefined("defaults")) return; - - ModelNode themeDefaults = copy.get("theme", "defaults"); - copy.get("theme").set(themeDefaults); - - if (copy.has("theme", "dir")) { - ModelNode dir = copy.get("theme", "dir"); - copy.get("theme", "folder", "dir").set(dir); - copy.get("theme").remove("dir"); - } - - if (copy.has("theme", "modules")) { - ModelNode modules = copy.get("theme").remove("modules"); - copy.get("theme", "module", "modules").set(modules); - } - } - - private void massageSpis(ModelNode copy) { - if (!copy.hasDefined("spi")) return; - ModelNode spis = copy.remove("spi"); - - for (Property prop : spis.asPropertyList()) { - ModelNode spi = prop.getValue(); - - if (spi.has("provider")) { - massageProviders(spi); - } - - if (spi.has("default-provider")) { - ModelNode defaultProvider = spi.remove("default-provider"); - spi.get("provider").set(defaultProvider); - } - - copy.get(prop.getName()).set(spi); - } - } - - private void massageProviders(ModelNode spi) { - if (!spi.hasDefined("provider")) return; - ModelNode providers = spi.remove("provider"); - for (Property prop : providers.asPropertyList()) { - ModelNode provider = prop.getValue(); - if (provider.has("properties")) { - massageProviderProps(provider); - } - spi.get(prop.getName()).set(provider); - } - } - - private void massageProviderProps(ModelNode provider) { - if (!provider.hasDefined("properties")) return; - ModelNode providerProps = provider.remove("properties"); - for (Property prop : providerProps.asPropertyList()) { - ModelNode value = prop.getValue(); - if (isArray(value.asString().trim())) { - provider.get(prop.getName()).set(ModelNode.fromString(value.asString()).asList()); - } else { - provider.get(prop.getName()).set(value); - } - } - } - - private boolean isArray(String value) { - return value.startsWith("[") && value.endsWith("]"); - } - - void setWebContext(String webContext) { - this.webContext = webContext; - } - - String getWebContext() { - return webContext; - } - - boolean isKeycloakServerDeployment(String deploymentName) { - return DEPLOYMENT_NAME.equals(deploymentName); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakExtension.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakExtension.java deleted file mode 100755 index 03911268d7a..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakExtension.java +++ /dev/null @@ -1,84 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.Extension; -import org.jboss.as.controller.ExtensionContext; -import org.jboss.as.controller.ModelVersion; -import org.jboss.as.controller.PathElement; -import org.jboss.as.controller.ResourceDefinition; -import org.jboss.as.controller.SubsystemRegistration; -import org.jboss.as.controller.descriptions.StandardResourceDescriptionResolver; -import org.jboss.as.controller.parsing.ExtensionParsingContext; -import org.jboss.as.controller.registry.ManagementResourceRegistration; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.SUBSYSTEM; -import static org.keycloak.subsystem.server.logging.KeycloakLogger.ROOT_LOGGER; - - -/** - * Main Extension class for the subsystem. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2013 Red Hat Inc. - */ -public class KeycloakExtension implements Extension { - - static final String SUBSYSTEM_NAME = "keycloak-server"; - static final String NAMESPACE = "urn:jboss:domain:keycloak-server:1.1"; - static final PathElement PATH_SUBSYSTEM = PathElement.pathElement(SUBSYSTEM, SUBSYSTEM_NAME); - - private static final String RESOURCE_NAME = KeycloakExtension.class.getPackage().getName() + ".LocalDescriptions"; - private static final ResourceDefinition KEYCLOAK_SUBSYSTEM_RESOURCE = new KeycloakSubsystemDefinition(); - private static final KeycloakSubsystemParser PARSER = new KeycloakSubsystemParser(); - private static final ModelVersion MGMT_API_VERSION = ModelVersion.create(1,1,0); - - static final ThemeResourceDefinition THEME_DEFINITION = new ThemeResourceDefinition(); - static final SpiResourceDefinition SPI_DEFINITION = new SpiResourceDefinition(); - static final ProviderResourceDefinition PROVIDER_DEFINITION = new ProviderResourceDefinition(); - - static StandardResourceDescriptionResolver getResourceDescriptionResolver(final String... keyPrefix) { - StringBuilder prefix = new StringBuilder(SUBSYSTEM_NAME); - for (String kp : keyPrefix) { - prefix.append('.').append(kp); - } - return new StandardResourceDescriptionResolver(prefix.toString(), RESOURCE_NAME, KeycloakExtension.class.getClassLoader(), true, false); - } - - /** - * {@inheritDoc} - */ - @Override - public void initializeParsers(final ExtensionParsingContext context) { - context.setSubsystemXmlMapping(SUBSYSTEM_NAME, NAMESPACE, PARSER); - } - - /** - * {@inheritDoc} - */ - @Override - public void initialize(final ExtensionContext context) { - ROOT_LOGGER.debug("Activating Keycloak Extension"); - final SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, MGMT_API_VERSION); - - ManagementResourceRegistration subsystemRegistration = subsystem.registerSubsystemModel(KEYCLOAK_SUBSYSTEM_RESOURCE); - subsystemRegistration.registerSubModel(THEME_DEFINITION); - ManagementResourceRegistration spiRegistration = subsystemRegistration.registerSubModel(SPI_DEFINITION); - spiRegistration.registerSubModel(PROVIDER_DEFINITION); - - subsystem.registerXMLElementWriter(PARSER); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakProviderDependencyProcessor.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakProviderDependencyProcessor.java deleted file mode 100644 index b6e81345051..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakProviderDependencyProcessor.java +++ /dev/null @@ -1,125 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.server.deployment.Attachments; -import org.jboss.as.server.deployment.DeploymentPhaseContext; -import org.jboss.as.server.deployment.DeploymentUnit; -import org.jboss.as.server.deployment.DeploymentUnitProcessingException; -import org.jboss.as.server.deployment.DeploymentUnitProcessor; -import org.jboss.as.server.deployment.module.ModuleDependency; -import org.jboss.as.server.deployment.module.ModuleSpecification; -import org.jboss.as.server.deployment.module.ResourceRoot; -import org.jboss.modules.Module; -import org.jboss.modules.ModuleIdentifier; -import org.jboss.modules.ModuleLoader; -import org.jboss.vfs.VirtualFile; -import org.jboss.vfs.util.AbstractVirtualFileFilterWithAttributes; -import org.keycloak.provider.KeycloakDeploymentInfo; - -import java.io.IOException; -import java.util.List; - -/** - * @author Bill Burke - * @version $Revision: 1 $ - */ -public class KeycloakProviderDependencyProcessor implements DeploymentUnitProcessor { - private static final ModuleIdentifier KEYCLOAK_COMMON = ModuleIdentifier.create("org.keycloak.keycloak-common"); - private static final ModuleIdentifier KEYCLOAK_CORE = ModuleIdentifier.create("org.keycloak.keycloak-core"); - private static final ModuleIdentifier KEYCLOAK_SERVER_SPI = ModuleIdentifier.create("org.keycloak.keycloak-server-spi"); - private static final ModuleIdentifier KEYCLOAK_SERVER_SPI_PRIVATE = ModuleIdentifier.create("org.keycloak.keycloak-server-spi-private"); - private static final ModuleIdentifier KEYCLOAK_JPA = ModuleIdentifier.create("org.keycloak.keycloak-model-jpa"); - private static final ModuleIdentifier KEYCLOAK_MAP = ModuleIdentifier.create("org.keycloak.keycloak-model-map"); - private static final ModuleIdentifier JAXRS = ModuleIdentifier.create("javax.ws.rs.api"); - private static final ModuleIdentifier RESTEASY = ModuleIdentifier.create("org.jboss.resteasy.resteasy-jaxrs"); - private static final ModuleIdentifier APACHE = ModuleIdentifier.create("org.apache.httpcomponents"); - - @Override - public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { - DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); - KeycloakAdapterConfigService config = KeycloakAdapterConfigService.INSTANCE; - String deploymentName = deploymentUnit.getName(); - - if (config.isKeycloakServerDeployment(deploymentName)) { - return; - } - - KeycloakDeploymentInfo info = getKeycloakProviderDeploymentInfo(deploymentUnit); - if (info.hasServices()) { - final ModuleSpecification moduleSpecification = deploymentUnit.getAttachment(Attachments.MODULE_SPECIFICATION); - final ModuleLoader moduleLoader = Module.getBootModuleLoader(); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, KEYCLOAK_COMMON, false, false, false, false)); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, KEYCLOAK_CORE, false, false, false, false)); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, KEYCLOAK_SERVER_SPI, false, false, false, false)); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, KEYCLOAK_SERVER_SPI_PRIVATE, false, false, false, false)); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, JAXRS, false, false, false, false)); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, RESTEASY, false, false, false, false)); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, APACHE, false, false, false, false)); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, KEYCLOAK_JPA, false, false, false, false)); - moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, KEYCLOAK_MAP, false, false, false, false)); - } - } - - public KeycloakProviderDependencyProcessor() { - super(); - } - - public static KeycloakDeploymentInfo getKeycloakProviderDeploymentInfo(DeploymentUnit du) { - KeycloakDeploymentInfo info = KeycloakDeploymentInfo.create(); - info.name(du.getName()); - - final ResourceRoot resourceRoot = du.getAttachment(Attachments.DEPLOYMENT_ROOT); - if (resourceRoot != null) { - final VirtualFile deploymentRoot = resourceRoot.getRoot(); - if (deploymentRoot != null && deploymentRoot.exists()) { - if (deploymentRoot.getChild("META-INF/keycloak-themes.json").exists() && deploymentRoot.getChild("theme").exists()) { - info.themes(); - } - - if (deploymentRoot.getChild("theme-resources").exists()) { - info.themeResources(); - } - - VirtualFile services = deploymentRoot.getChild("META-INF/services"); - if(services.exists()) { - try { - List archives = services.getChildren(new AbstractVirtualFileFilterWithAttributes() { - @Override - public boolean accepts(VirtualFile file) { - return file.getName().startsWith("org.keycloak"); - } - }); - if (!archives.isEmpty()) { - info.services(); - } - } catch (IOException e) { - e.printStackTrace(); - } - } - } - } - - return info; - } - - @Override - public void undeploy(DeploymentUnit context) { - - } - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakProviderDeploymentProcessor.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakProviderDeploymentProcessor.java deleted file mode 100644 index 6db04e05c01..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakProviderDeploymentProcessor.java +++ /dev/null @@ -1,76 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.server.deployment.AttachmentKey; -import org.jboss.as.server.deployment.Attachments; -import org.jboss.as.server.deployment.DeploymentPhaseContext; -import org.jboss.as.server.deployment.DeploymentUnit; -import org.jboss.as.server.deployment.DeploymentUnitProcessingException; -import org.jboss.as.server.deployment.DeploymentUnitProcessor; -import org.jboss.logging.Logger; -import org.jboss.modules.Module; -import org.keycloak.provider.KeycloakDeploymentInfo; -import org.keycloak.provider.ProviderManager; -import org.keycloak.provider.ProviderManagerRegistry; - -/** - * @author Bill Burke - * @version $Revision: 1 $ - */ -public class KeycloakProviderDeploymentProcessor implements DeploymentUnitProcessor { - - AttachmentKey ATTACHMENT_KEY = AttachmentKey.create(ProviderManager.class); - - private static final Logger logger = Logger.getLogger(KeycloakProviderDeploymentProcessor.class); - @Override - public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { - DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); - KeycloakAdapterConfigService config = KeycloakAdapterConfigService.INSTANCE; - String deploymentName = deploymentUnit.getName(); - - if (config.isKeycloakServerDeployment(deploymentName)) { - return; - } - - KeycloakDeploymentInfo info = KeycloakProviderDependencyProcessor.getKeycloakProviderDeploymentInfo(deploymentUnit); - - ScriptProviderDeploymentProcessor.deploy(deploymentUnit, info); - - if (info.isProvider()) { - logger.infov("Deploying Keycloak provider: {0}", deploymentUnit.getName()); - final Module module = deploymentUnit.getAttachment(Attachments.MODULE); - ProviderManager pm = new ProviderManager(info, module.getClassLoader()); - ProviderManagerRegistry.SINGLETON.deploy(pm); - deploymentUnit.putAttachment(ATTACHMENT_KEY, pm); - } - } - - public KeycloakProviderDeploymentProcessor() { - super(); - } - - @Override - public void undeploy(DeploymentUnit context) { - ProviderManager pm = context.getAttachment(ATTACHMENT_KEY); - if (pm != null) { - logger.infov("Undeploying Keycloak provider: {0}", context.getName()); - ProviderManagerRegistry.SINGLETON.undeploy(pm); - context.removeAttachment(ATTACHMENT_KEY); - } - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakServerDeploymentProcessor.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakServerDeploymentProcessor.java deleted file mode 100755 index fbacff5374e..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakServerDeploymentProcessor.java +++ /dev/null @@ -1,116 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.capability.CapabilityServiceSupport; -import org.jboss.as.ee.component.EEModuleDescription; -import org.jboss.as.server.deployment.Attachments; -import org.jboss.as.server.deployment.DeploymentPhaseContext; -import org.jboss.as.server.deployment.DeploymentUnit; -import org.jboss.as.server.deployment.DeploymentUnitProcessingException; -import org.jboss.as.server.deployment.DeploymentUnitProcessor; -import org.jboss.as.web.common.WarMetaData; -import org.jboss.metadata.javaee.spec.ParamValueMetaData; -import org.jboss.metadata.web.jboss.JBossWebMetaData; -import org.jboss.msc.service.ServiceName; -import org.jboss.msc.service.ServiceTarget; - -import java.util.ArrayList; -import java.util.List; - -/** - * DUP responsible for setting the web context of a Keycloak auth server and - * passing the Keycloak configuration to the Keycloak server. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2014 Red Hat Inc. - */ -public class KeycloakServerDeploymentProcessor implements DeploymentUnitProcessor { - - private static final String[] CACHES = new String[] { - "realms", "users","sessions","authenticationSessions","offlineSessions","clientSessions","offlineClientSessions","loginFailures","work","authorization","keys","actionTokens" - }; - - // This param name is defined again in Keycloak Services class - // org.keycloak.services.resources.KeycloakApplication. We have this value in - // two places to avoid dependency between Keycloak Subsystem and Keycloak Services module. - public static final String KEYCLOAK_CONFIG_PARAM_NAME = "org.keycloak.server-subsystem.Config"; - - @Override - public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { - DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); - KeycloakAdapterConfigService configService = KeycloakAdapterConfigService.INSTANCE; - String deploymentName = deploymentUnit.getName(); - - if (!configService.isKeycloakServerDeployment(deploymentName)) { - return; - } - - final EEModuleDescription description = deploymentUnit.getAttachment(org.jboss.as.ee.component.Attachments.EE_MODULE_DESCRIPTION); - String webContext = configService.getWebContext(); - if (webContext == null) { - throw new DeploymentUnitProcessingException("Can't determine web context/module for Keycloak Server"); - } - description.setModuleName(webContext); - - addInfinispanCaches(phaseContext); - addConfiguration(deploymentUnit, configService); - } - - private void addConfiguration(DeploymentUnit deploymentUnit, KeycloakAdapterConfigService configService) throws DeploymentUnitProcessingException { - WarMetaData warMetaData = deploymentUnit.getAttachment(WarMetaData.ATTACHMENT_KEY); - if (warMetaData == null) { - throw new DeploymentUnitProcessingException("WarMetaData not found for KeycloakServer."); - } - - JBossWebMetaData webMetaData = warMetaData.getMergedJBossWebMetaData(); - if (webMetaData == null) { - webMetaData = new JBossWebMetaData(); - warMetaData.setMergedJBossWebMetaData(webMetaData); - } - - List contextParams = webMetaData.getContextParams(); - if (contextParams == null) { - contextParams = new ArrayList<>(); - } - - ParamValueMetaData param = new ParamValueMetaData(); - param.setParamName(KEYCLOAK_CONFIG_PARAM_NAME); - param.setParamValue(configService.getConfig().toString()); - contextParams.add(param); - - // Prefer ResteasyJackson2Provider over JsonBindingProvider - param = new ParamValueMetaData(); - param.setParamName("resteasy.preferJacksonOverJsonB"); // Corresponds to ResteasyContextParameters.RESTEASY_PREFER_JACKSON_OVER_JSONB - param.setParamValue(Boolean.TRUE.toString()); - contextParams.add(param); - - webMetaData.setContextParams(contextParams); - } - - private void addInfinispanCaches(DeploymentPhaseContext context) { - ServiceTarget st = context.getServiceTarget(); - CapabilityServiceSupport support = context.getDeploymentUnit().getAttachment(Attachments.CAPABILITY_SERVICE_SUPPORT); - for (String c : CACHES) { - ServiceName sn = support.getCapabilityServiceName("org.wildfly.clustering.infinispan.cache", "keycloak", c); - st.addDependency(sn); - } - } - - @Override - public void undeploy(DeploymentUnit du) { - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemAdd.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemAdd.java deleted file mode 100755 index 6d75e28af6f..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemAdd.java +++ /dev/null @@ -1,96 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AbstractBoottimeAddStepHandler; -import org.jboss.as.controller.AttributeDefinition; -import org.jboss.as.controller.OperationContext; -import org.jboss.as.controller.OperationFailedException; -import org.jboss.as.controller.registry.Resource; -import org.jboss.as.server.AbstractDeploymentChainStep; -import org.jboss.as.server.DeploymentProcessorTarget; -import org.jboss.as.server.deployment.Phase; -import org.jboss.dmr.ModelNode; - -import static org.keycloak.subsystem.server.extension.KeycloakExtension.SUBSYSTEM_NAME; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.ALL_ATTRIBUTES; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.WEB_CONTEXT; - -/** - * The Keycloak subsystem add update handler. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2013 Red Hat Inc. - */ -class KeycloakSubsystemAdd extends AbstractBoottimeAddStepHandler { - - static final KeycloakSubsystemAdd INSTANCE = new KeycloakSubsystemAdd(); - - @Override - protected void performBoottime(final OperationContext context, final ModelNode operation, final ModelNode model) { - context.addStep(new AbstractDeploymentChainStep() { - @Override - protected void execute(DeploymentProcessorTarget processorTarget) { - processorTarget.addDeploymentProcessor(SUBSYSTEM_NAME, Phase.DEPENDENCIES, 0, new KeycloakProviderDependencyProcessor()); - processorTarget.addDeploymentProcessor(SUBSYSTEM_NAME, - Phase.POST_MODULE, // PHASE - Phase.POST_MODULE_VALIDATOR_FACTORY - 2, // PRIORITY - new KeycloakProviderDeploymentProcessor()); - processorTarget.addDeploymentProcessor(SUBSYSTEM_NAME, - Phase.POST_MODULE, // PHASE - Phase.POST_MODULE_VALIDATOR_FACTORY - 1, // PRIORITY - new KeycloakServerDeploymentProcessor()); - } - }, OperationContext.Stage.RUNTIME); - context.addStep(new AbstractDeploymentChainStep() { - @Override - protected void execute(DeploymentProcessorTarget processorTarget) { - } - }, OperationContext.Stage.RUNTIME); - } - - @Override - protected void populateModel(final OperationContext context, final ModelNode operation, final Resource resource) throws OperationFailedException { - ModelNode model = resource.getModel(); - - // set attribute values from parsed model - for (AttributeDefinition attrDef : ALL_ATTRIBUTES) { - attrDef.validateAndSet(operation, model); - } - - // returns early if on domain controller - if (!requiresRuntime(context)) { - return; - } - - // don't want to try to start server on host controller - if (!context.isNormalServer()) { - return; - } - - ModelNode webContextNode = resource.getModel().get(WEB_CONTEXT.getName()); - if (!webContextNode.isDefined()) { - webContextNode = WEB_CONTEXT.getDefaultValue(); - } - String webContext = webContextNode.asString(); - - ServerUtil serverUtil = new ServerUtil(operation); - serverUtil.addStepToUploadServerWar(context); - KeycloakAdapterConfigService.INSTANCE.setWebContext(webContext); - - KeycloakAdapterConfigService.INSTANCE.updateConfig(operation, model); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemDefinition.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemDefinition.java deleted file mode 100644 index ed5a4ee8e83..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemDefinition.java +++ /dev/null @@ -1,109 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AttributeDefinition; -import org.jboss.as.controller.SimpleAttributeDefinition; -import org.jboss.as.controller.SimpleAttributeDefinitionBuilder; -import org.jboss.as.controller.SimpleResourceDefinition; -import org.jboss.as.controller.StringListAttributeDefinition; -import org.jboss.as.controller.operations.common.GenericSubsystemDescribeHandler; -import org.jboss.as.controller.registry.ManagementResourceRegistration; -import org.jboss.dmr.ModelNode; -import org.jboss.dmr.ModelType; -import org.keycloak.subsystem.server.attributes.ProvidersListAttributeBuilder; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * Definition of subsystem=keycloak-server. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2013 Red Hat Inc. - */ -public class KeycloakSubsystemDefinition extends SimpleResourceDefinition { - - static final SimpleAttributeDefinition WEB_CONTEXT = - new SimpleAttributeDefinitionBuilder("web-context", ModelType.STRING, true) - .setAllowExpression(true) - .setDefaultValue(new ModelNode("auth")) - .setRestartAllServices() - .build(); - - static final StringListAttributeDefinition PROVIDERS = new ProvidersListAttributeBuilder().build(); - - static final SimpleAttributeDefinition MASTER_REALM_NAME = - new SimpleAttributeDefinitionBuilder("master-realm-name", ModelType.STRING, true) - .setAllowExpression(true) - .setDefaultValue(new ModelNode("master")) - .setRestartAllServices() - .build(); - - static final SimpleAttributeDefinition SCHEDULED_TASK_INTERVAL = - new SimpleAttributeDefinitionBuilder("scheduled-task-interval", ModelType.LONG, true) - .setAllowExpression(true) - .setDefaultValue(new ModelNode("900")) - .setRestartAllServices() - .build(); - - static final List ALL_ATTRIBUTES = new ArrayList(); - - static { - ALL_ATTRIBUTES.add(WEB_CONTEXT); - ALL_ATTRIBUTES.add(PROVIDERS); - ALL_ATTRIBUTES.add(MASTER_REALM_NAME); - ALL_ATTRIBUTES.add(SCHEDULED_TASK_INTERVAL); - } - - private static final Map DEFINITION_LOOKUP = new HashMap(); - static { - for (AttributeDefinition def : ALL_ATTRIBUTES) { - DEFINITION_LOOKUP.put(def.getXmlName(), def); - } - } - - private static KeycloakSubsystemWriteAttributeHandler attrHandler = new KeycloakSubsystemWriteAttributeHandler(ALL_ATTRIBUTES); - - protected KeycloakSubsystemDefinition() { - super(KeycloakExtension.PATH_SUBSYSTEM, - KeycloakExtension.getResourceDescriptionResolver("subsystem"), - KeycloakSubsystemAdd.INSTANCE, - KeycloakSubsystemRemoveHandler.INSTANCE - ); - } - - @Override - public void registerOperations(ManagementResourceRegistration resourceRegistration) { - super.registerOperations(resourceRegistration); - resourceRegistration.registerOperationHandler(GenericSubsystemDescribeHandler.DEFINITION, GenericSubsystemDescribeHandler.INSTANCE); - resourceRegistration.registerOperationHandler(MigrateJsonOperation.DEFINITION, new MigrateJsonOperation()); - } - - @Override - public void registerAttributes(ManagementResourceRegistration resourceRegistration) { - super.registerAttributes(resourceRegistration); - for (AttributeDefinition attrDef : ALL_ATTRIBUTES) { - resourceRegistration.registerReadWriteAttribute(attrDef, null, attrHandler); - } - } - - public static AttributeDefinition lookup(String name) { - return DEFINITION_LOOKUP.get(name); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemParser.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemParser.java deleted file mode 100755 index 551a6dc960b..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemParser.java +++ /dev/null @@ -1,286 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AttributeDefinition; -import org.jboss.as.controller.PathAddress; -import org.jboss.as.controller.PathElement; -import org.jboss.as.controller.PropertiesAttributeDefinition; -import org.jboss.as.controller.SimpleAttributeDefinition; -import org.jboss.as.controller.descriptions.ModelDescriptionConstants; -import org.jboss.as.controller.operations.common.Util; -import org.jboss.as.controller.parsing.ParseUtils; -import org.jboss.as.controller.persistence.SubsystemMarshallingContext; -import org.jboss.dmr.ModelNode; -import org.jboss.dmr.Property; -import org.jboss.staxmapper.XMLElementReader; -import org.jboss.staxmapper.XMLElementWriter; -import org.jboss.staxmapper.XMLExtendedStreamReader; -import org.jboss.staxmapper.XMLExtendedStreamWriter; - -import javax.xml.stream.XMLStreamConstants; -import javax.xml.stream.XMLStreamException; -import java.util.List; - -import static org.keycloak.subsystem.server.extension.KeycloakExtension.PATH_SUBSYSTEM; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.MASTER_REALM_NAME; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.PROVIDERS; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.SCHEDULED_TASK_INTERVAL; -import static org.keycloak.subsystem.server.extension.KeycloakSubsystemDefinition.WEB_CONTEXT; -import static org.keycloak.subsystem.server.extension.ProviderResourceDefinition.ENABLED; -import static org.keycloak.subsystem.server.extension.ProviderResourceDefinition.PROPERTIES; -import static org.keycloak.subsystem.server.extension.SpiResourceDefinition.DEFAULT_PROVIDER; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.MODULES; - -/** - * The subsystem parser, which uses stax to read and write to and from xml - */ -class KeycloakSubsystemParser implements XMLStreamConstants, XMLElementReader>, XMLElementWriter { - - /** - * {@inheritDoc} - */ - @Override - public void readElement(final XMLExtendedStreamReader reader, final List list) throws XMLStreamException { - // Require no attributes - ParseUtils.requireNoAttributes(reader); - ModelNode addKeycloakSub = Util.createAddOperation(PathAddress.pathAddress(PATH_SUBSYSTEM)); - list.add(addKeycloakSub); - - while (reader.hasNext() && nextTag(reader) != END_ELEMENT) { - if (reader.getLocalName().equals(WEB_CONTEXT.getXmlName())) { - WEB_CONTEXT.parseAndSetParameter(reader.getElementText(), addKeycloakSub, reader); - } else if (reader.getLocalName().equals(PROVIDERS.getXmlName())) { - readProviders(reader, addKeycloakSub); - } else if (reader.getLocalName().equals(MASTER_REALM_NAME.getXmlName())) { - MASTER_REALM_NAME.parseAndSetParameter(reader.getElementText(), addKeycloakSub, reader); - } else if (reader.getLocalName().equals(SCHEDULED_TASK_INTERVAL.getXmlName())) { - SCHEDULED_TASK_INTERVAL.parseAndSetParameter(reader.getElementText(), addKeycloakSub, reader); - } else if (reader.getLocalName().equals(ThemeResourceDefinition.TAG_NAME)) { - readTheme(list, reader); - } else if (reader.getLocalName().equals(SpiResourceDefinition.TAG_NAME)) { - readSpi(list, reader); - } else { - throw new XMLStreamException("Unknown keycloak-server subsystem tag: " + reader.getLocalName()); - } - } - } - - private void readProviders(final XMLExtendedStreamReader reader, ModelNode addKeycloakSub) throws XMLStreamException { - while (reader.hasNext() && nextTag(reader) != END_ELEMENT) { - PROVIDERS.parseAndAddParameterElement(reader.getElementText(),addKeycloakSub, reader); - } - } - - private void readTheme(final List list, final XMLExtendedStreamReader reader) throws XMLStreamException { - ModelNode addThemeDefaults = new ModelNode(); - addThemeDefaults.get(ModelDescriptionConstants.OP).set(ModelDescriptionConstants.ADD); - PathAddress addr = PathAddress.pathAddress(PathElement.pathElement(ModelDescriptionConstants.SUBSYSTEM, KeycloakExtension.SUBSYSTEM_NAME), - PathElement.pathElement(ThemeResourceDefinition.TAG_NAME, ThemeResourceDefinition.RESOURCE_NAME)); - addThemeDefaults.get(ModelDescriptionConstants.OP_ADDR).set(addr.toModelNode()); - list.add(addThemeDefaults); - - while (reader.hasNext() && nextTag(reader) != END_ELEMENT) { - String tagName = reader.getLocalName(); - if (MODULES.getName().equals(tagName)) { - readModules(reader, addThemeDefaults); - continue; - } - - SimpleAttributeDefinition def = KeycloakExtension.THEME_DEFINITION.lookup(tagName); - if (def == null) throw new XMLStreamException("Unknown theme tag " + tagName); - def.parseAndSetParameter(reader.getElementText(), addThemeDefaults, reader); - } - } - - private void readModules(final XMLExtendedStreamReader reader, ModelNode addThemeDefaults) throws XMLStreamException { - while (reader.hasNext() && nextTag(reader) != END_ELEMENT) { - MODULES.parseAndAddParameterElement(reader.getElementText(),addThemeDefaults, reader); - } - } - - private void readSpi(final List list, final XMLExtendedStreamReader reader) throws XMLStreamException { - String spiName = ParseUtils.requireAttributes(reader, "name")[0]; - ModelNode addSpi = new ModelNode(); - addSpi.get(ModelDescriptionConstants.OP).set(ModelDescriptionConstants.ADD); - PathAddress addr = PathAddress.pathAddress(PathElement.pathElement(ModelDescriptionConstants.SUBSYSTEM, KeycloakExtension.SUBSYSTEM_NAME), - PathElement.pathElement(SpiResourceDefinition.TAG_NAME, spiName)); - addSpi.get(ModelDescriptionConstants.OP_ADDR).set(addr.toModelNode()); - list.add(addSpi); - - while (reader.hasNext() && nextTag(reader) != END_ELEMENT) { - if (reader.getLocalName().equals(DEFAULT_PROVIDER.getXmlName())) { - DEFAULT_PROVIDER.parseAndSetParameter(reader.getElementText(), addSpi, reader); - } else if (reader.getLocalName().equals(ProviderResourceDefinition.TAG_NAME)) { - readProvider(list, spiName, reader); - } - } - } - - private void readProvider(final List list, String spiName, final XMLExtendedStreamReader reader) throws XMLStreamException { - String[] attributes = ParseUtils.requireAttributes(reader, "name", ENABLED.getXmlName()); - String providerName = attributes[0]; - String enabled = attributes[1]; - - ModelNode addProvider = new ModelNode(); - addProvider.get(ModelDescriptionConstants.OP).set(ModelDescriptionConstants.ADD); - PathAddress addr = PathAddress.pathAddress(PathElement.pathElement(ModelDescriptionConstants.SUBSYSTEM, KeycloakExtension.SUBSYSTEM_NAME), - PathElement.pathElement(SpiResourceDefinition.TAG_NAME, spiName), - PathElement.pathElement(ProviderResourceDefinition.TAG_NAME, providerName)); - addProvider.get(ModelDescriptionConstants.OP_ADDR).set(addr.toModelNode()); - addProvider.get(ENABLED.getName()).set(Boolean.valueOf(enabled)); - list.add(addProvider); - - while (nextTag(reader) != END_ELEMENT) { - if (reader.getLocalName().equals(PROPERTIES.getXmlName())) { - readProperties(PROPERTIES, addProvider, reader); - } - } - } - - private void readProperties(final PropertiesAttributeDefinition attrDef, ModelNode addOp, final XMLExtendedStreamReader reader) throws XMLStreamException { - while (nextTag(reader) != END_ELEMENT) { - int attrCount = reader.getAttributeCount(); - if (attrCount != 2) throw new XMLStreamException("Property must have only two attributes"); - String name = ""; - String value = ""; - for (int i=0 ; i < 2; i++) { - String attrName = reader.getAttributeLocalName(i); - String attrValue = reader.getAttributeValue(i); - if (attrName.equals("name")) { - name = attrValue; - } else if (attrName.equals("value")) { - value = attrValue; - } else { - throw new XMLStreamException("Property can only have attributes named 'name' and 'value'"); - } - } - attrDef.parseAndAddParameterElement(name, value, addOp, reader); - nextTag(reader); - } - } - - // used for debugging - private int nextTag(XMLExtendedStreamReader reader) throws XMLStreamException { - return reader.nextTag(); - } - - /** - * {@inheritDoc} - */ - @Override - public void writeContent(final XMLExtendedStreamWriter writer, final SubsystemMarshallingContext context) throws XMLStreamException { - context.startSubsystemElement(KeycloakExtension.NAMESPACE, false); - writeWebContext(writer, context); - writeList(writer, context.getModelNode(), PROVIDERS, "provider"); - writeAdmin(writer, context); - writeScheduledTaskInterval(writer, context); - writeThemeDefaults(writer, context); - writeSpis(writer, context); - writer.writeEndElement(); - } - - private void writeThemeDefaults(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { - if (!context.getModelNode().get(ThemeResourceDefinition.TAG_NAME).isDefined()) { - return; - } - - writer.writeStartElement(ThemeResourceDefinition.TAG_NAME); - ModelNode themeElements = context.getModelNode().get(ThemeResourceDefinition.TAG_NAME, ThemeResourceDefinition.RESOURCE_NAME); - for (AttributeDefinition def : ThemeResourceDefinition.ALL_ATTRIBUTES) { - if (themeElements.hasDefined(def.getName())) { - if (def == MODULES) { - ModelNode themeContext = context.getModelNode().get("theme", "defaults"); - writeList(writer, themeContext, def, "module"); - } else { - def.marshallAsElement(themeElements, writer); - } - } - } - writer.writeEndElement(); - } - - private void writeSpis(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { - if (!context.getModelNode().get(SpiResourceDefinition.TAG_NAME).isDefined()) { - return; - } - - for (Property spi : context.getModelNode().get(SpiResourceDefinition.TAG_NAME).asPropertyList()) { - writer.writeStartElement(SpiResourceDefinition.TAG_NAME); - writer.writeAttribute("name", spi.getName()); - ModelNode spiElements = spi.getValue(); - DEFAULT_PROVIDER.marshallAsElement(spiElements, writer); - writeProviders(writer, spiElements); - writer.writeEndElement(); - } - } - - private void writeProviders(XMLExtendedStreamWriter writer, ModelNode spiElements) throws XMLStreamException { - if (!spiElements.get(ProviderResourceDefinition.TAG_NAME).isDefined()) { - return; - } - - for (Property provider : spiElements.get(ProviderResourceDefinition.TAG_NAME).asPropertyList()) { - writer.writeStartElement(ProviderResourceDefinition.TAG_NAME); - writer.writeAttribute("name", provider.getName()); - ModelNode providerElements = provider.getValue(); - ENABLED.marshallAsAttribute(providerElements, writer); - PROPERTIES.marshallAsElement(providerElements, writer); - writer.writeEndElement(); - } - } - - private void writeWebContext(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { - if (!context.getModelNode().get(WEB_CONTEXT.getName()).isDefined()) { - return; - } - - WEB_CONTEXT.marshallAsElement(context.getModelNode(), writer); - } - - private void writeAdmin(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { - if (!context.getModelNode().get(MASTER_REALM_NAME.getName()).isDefined()) { - return; - } - - MASTER_REALM_NAME.marshallAsElement(context.getModelNode(), writer); - } - - private void writeScheduledTaskInterval(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { - if (!context.getModelNode().get(SCHEDULED_TASK_INTERVAL.getName()).isDefined()) { - return; - } - - SCHEDULED_TASK_INTERVAL.marshallAsElement(context.getModelNode(), writer); - } - - private void writeList(XMLExtendedStreamWriter writer, ModelNode context, AttributeDefinition def, String elementName) throws XMLStreamException { - if (!context.get(def.getName()).isDefined()) { - return; - } - - writer.writeStartElement(def.getXmlName()); - ModelNode modules = context.get(def.getName()); - for (ModelNode module : modules.asList()) { - writer.writeStartElement(elementName); - writer.writeCharacters(module.asString()); - writer.writeEndElement(); - } - writer.writeEndElement(); - } - -} \ No newline at end of file diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemRemoveHandler.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemRemoveHandler.java deleted file mode 100644 index 41a5baf2839..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemRemoveHandler.java +++ /dev/null @@ -1,65 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.OperationContext; -import org.jboss.as.controller.OperationFailedException; -import org.jboss.as.controller.OperationStepHandler; -import org.jboss.as.controller.PathAddress; -import org.jboss.as.controller.PathElement; -import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; -import org.jboss.as.controller.operations.common.Util; -import org.jboss.as.controller.registry.ImmutableManagementResourceRegistration; -import org.jboss.dmr.ModelNode; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DEPLOYMENT; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.REMOVE; - -/** - * Remove an auth-server from a realm. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2014 Red Hat Inc. - */ -public final class KeycloakSubsystemRemoveHandler extends ReloadRequiredRemoveStepHandler { - - static KeycloakSubsystemRemoveHandler INSTANCE = new KeycloakSubsystemRemoveHandler(); - - private KeycloakSubsystemRemoveHandler() {} - - @Override - protected void performRemove(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { - String deploymentName = ServerUtil.getDeploymentName(operation); - KeycloakAdapterConfigService.INSTANCE.setWebContext(null); - - if (requiresRuntime(context)) { // don't do this on a domain controller - addStepToRemoveServerWar(context, deploymentName); - } - - super.performRemove(context, operation, model); - } - - private void addStepToRemoveServerWar(OperationContext context, String deploymentName) { - PathAddress deploymentAddress = PathAddress.pathAddress(PathElement.pathElement(DEPLOYMENT, deploymentName)); - ModelNode op = Util.createOperation(REMOVE, deploymentAddress); - context.addStep(op, getRemoveHandler(context, deploymentAddress), OperationContext.Stage.MODEL); - } - - private OperationStepHandler getRemoveHandler(OperationContext context, PathAddress address) { - ImmutableManagementResourceRegistration rootResourceRegistration = context.getRootResourceRegistration(); - return rootResourceRegistration.getOperationHandler(address, REMOVE); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemWriteAttributeHandler.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemWriteAttributeHandler.java deleted file mode 100755 index f0bf06ed845..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/KeycloakSubsystemWriteAttributeHandler.java +++ /dev/null @@ -1,70 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AttributeDefinition; -import org.jboss.as.controller.ModelOnlyWriteAttributeHandler; -import org.jboss.as.controller.OperationContext; -import org.jboss.as.controller.OperationFailedException; -import org.jboss.as.controller.registry.Resource; -import org.jboss.dmr.ModelNode; - -import java.util.List; - -/** - * Update an attribute on an Auth Server. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2014 Red Hat Inc. - */ -public class KeycloakSubsystemWriteAttributeHandler extends ModelOnlyWriteAttributeHandler { //extends ReloadRequiredWriteAttributeHandler { - - public KeycloakSubsystemWriteAttributeHandler(List definitions) { - this(definitions.toArray(new AttributeDefinition[definitions.size()])); - } - - public KeycloakSubsystemWriteAttributeHandler(AttributeDefinition... definitions) { - super(definitions); - } - - @Override - protected void finishModelStage(OperationContext context, ModelNode operation, String attributeName, ModelNode newValue, ModelNode oldValue, Resource model) throws OperationFailedException { - if (!context.isNormalServer() || attribNotChanging(attributeName, newValue, oldValue)) { - super.finishModelStage(context, operation, attributeName, newValue, oldValue, model); - return; - } - - String deploymentName = ServerUtil.getDeploymentName(operation); - - if (attributeName.equals(KeycloakSubsystemDefinition.WEB_CONTEXT.getName())) { - KeycloakAdapterConfigService.INSTANCE.setWebContext(newValue.asString()); - ServerUtil.addStepToRedeployServerWar(context, deploymentName); - } - - super.finishModelStage(context, operation, attributeName, newValue, oldValue, model); - } - - private boolean attribNotChanging(String attributeName, ModelNode newValue, ModelNode oldValue) { - AttributeDefinition attribDef = KeycloakSubsystemDefinition.lookup(attributeName); - if (!oldValue.isDefined()) { - oldValue = attribDef.getDefaultValue(); - } - if (!newValue.isDefined()) { - newValue = attribDef.getDefaultValue(); - } - return newValue.equals(oldValue); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/MigrateJsonOperation.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/MigrateJsonOperation.java deleted file mode 100644 index dbb7324562e..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/MigrateJsonOperation.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AttributeDefinition; -import org.jboss.as.controller.OperationContext; -import org.jboss.as.controller.OperationDefinition; -import org.jboss.as.controller.OperationFailedException; -import org.jboss.as.controller.OperationStepHandler; -import org.jboss.as.controller.PathAddress; -import org.jboss.as.controller.SimpleAttributeDefinitionBuilder; -import org.jboss.as.controller.SimpleOperationDefinitionBuilder; -import org.jboss.dmr.ModelNode; -import org.jboss.dmr.ModelType; - -import java.io.IOException; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.List; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADDRESS; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP; - -/** - * This operation provides a migration path from keycloak-server.json to - * standalone.xml or domain.xml. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class MigrateJsonOperation implements OperationStepHandler { - public static final String OPERATION_NAME = "migrate-json"; - - private static final String CONFIG_DIR = System.getProperty("jboss.server.config.dir"); - private static final Path DEFAULT_CONFIG_FILE = Paths.get(CONFIG_DIR, "keycloak-server.json"); - - private static final AttributeDefinition FILE_ATTRIBUTE = SimpleAttributeDefinitionBuilder.create("file", ModelType.BYTES, true).build(); - public static final OperationDefinition DEFINITION = new SimpleOperationDefinitionBuilder(OPERATION_NAME, KeycloakExtension.getResourceDescriptionResolver()) - .setRuntimeOnly() - .setReadOnly() - .setReplyType(ModelType.STRING) - .setParameters(FILE_ATTRIBUTE) - .build(); - - private String localConfig() throws IOException { - if (Files.notExists(DEFAULT_CONFIG_FILE)) return null; - return new String(Files.readAllBytes(DEFAULT_CONFIG_FILE)); - } - - private String readConfig(ModelNode operation) throws IOException { - ModelNode file = operation.get(FILE_ATTRIBUTE.getName()); - if (file.isDefined() && file.asBytes().length > 0) { - return new String(file.asBytes()); - } - - String localConfig = localConfig(); - if (localConfig != null) return localConfig; - - throw new IOException("Can not find json file to migrate"); - } - - @Override - public void execute(OperationContext context, ModelNode operation) throws OperationFailedException { - List ops = null; - try { - PathAddress currentAddr = context.getCurrentAddress(); - ops = JsonConfigConverter.convertJsonConfig(readConfig(operation), currentAddr); - } catch (IOException ioe) { - throw new OperationFailedException(ioe); - } - - for (ModelNode op : ops) { - PathAddress addr = PathAddress.pathAddress(op.get(ADDRESS)); - String opName = op.get(OP).asString(); - context.addStep(op, - context.getRootResourceRegistration().getOperationHandler(addr, opName), - OperationContext.Stage.MODEL); - } - - context.completeStep(OperationContext.RollbackHandler.NOOP_ROLLBACK_HANDLER); - } - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceAddHandler.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceAddHandler.java deleted file mode 100644 index 746e448f559..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceAddHandler.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AbstractAddStepHandler; -import org.jboss.as.controller.OperationFailedException; -import org.jboss.dmr.ModelNode; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class ProviderResourceAddHandler extends AbstractAddStepHandler { - - public static ProviderResourceAddHandler INSTANCE = new ProviderResourceAddHandler(); - - private ProviderResourceAddHandler() { - } - - @Override - protected void populateModel(ModelNode operation, ModelNode model) throws OperationFailedException { - // TODO: localize exception. get id number - if (!operation.get(OP).asString().equals(ADD)) { - throw new OperationFailedException("Unexpected operation for add SPI. operation=" + operation.toString()); - } - - ProviderResourceDefinition.ENABLED.validateAndSet(operation, model); - ProviderResourceDefinition.PROPERTIES.validateAndSet(operation, model); - - KeycloakAdapterConfigService.INSTANCE.updateConfig(operation, model); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceDefinition.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceDefinition.java deleted file mode 100644 index 626dc683c88..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceDefinition.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.PathElement; -import org.jboss.as.controller.PropertiesAttributeDefinition; -import org.jboss.as.controller.ReloadRequiredWriteAttributeHandler; -import org.jboss.as.controller.SimpleAttributeDefinition; -import org.jboss.as.controller.SimpleAttributeDefinitionBuilder; -import org.jboss.as.controller.SimpleResourceDefinition; -import org.jboss.as.controller.registry.ManagementResourceRegistration; -import org.jboss.dmr.ModelNode; -import org.jboss.dmr.ModelType; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class ProviderResourceDefinition extends SimpleResourceDefinition { - - public static final String TAG_NAME = "provider"; - - protected static final SimpleAttributeDefinition ENABLED = - new SimpleAttributeDefinitionBuilder("enabled", ModelType.BOOLEAN, true) - .setAllowExpression(true) - .setDefaultValue(new ModelNode(true)) - .setRequired(true) - .setRestartAllServices() - .build(); - - static final PropertiesAttributeDefinition PROPERTIES = - new PropertiesAttributeDefinition.Builder("properties", true) - .setRestartAllServices() - .setAllowExpression(true) - .build(); - - protected static final ReloadRequiredWriteAttributeHandler WRITE_ATTR_HANDLER = new ReloadRequiredWriteAttributeHandler(ENABLED, PROPERTIES); - - protected ProviderResourceDefinition() { - super(PathElement.pathElement(TAG_NAME), - KeycloakExtension.getResourceDescriptionResolver(TAG_NAME), - ProviderResourceAddHandler.INSTANCE, - ProviderResourceRemoveHandler.INSTANCE - ); - } - - @Override - public void registerAttributes(ManagementResourceRegistration resourceRegistration) { - super.registerAttributes(resourceRegistration); - resourceRegistration.registerReadWriteAttribute(ENABLED, null, WRITE_ATTR_HANDLER); - resourceRegistration.registerReadWriteAttribute(PROPERTIES, null, WRITE_ATTR_HANDLER); - } - - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceRemoveHandler.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceRemoveHandler.java deleted file mode 100644 index 21d82174107..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ProviderResourceRemoveHandler.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AbstractRemoveStepHandler; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class ProviderResourceRemoveHandler extends AbstractRemoveStepHandler { - - public static ProviderResourceRemoveHandler INSTANCE = new ProviderResourceRemoveHandler(); - - private ProviderResourceRemoveHandler() {} - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ScriptProviderDeploymentProcessor.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ScriptProviderDeploymentProcessor.java deleted file mode 100644 index 8bb43b1cafb..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ScriptProviderDeploymentProcessor.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2019 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. - */ -package org.keycloak.subsystem.server.extension; - -import static org.keycloak.representations.provider.ScriptProviderDescriptor.AUTHENTICATORS; -import static org.keycloak.representations.provider.ScriptProviderDescriptor.MAPPERS; -import static org.keycloak.representations.provider.ScriptProviderDescriptor.POLICIES; -import static org.keycloak.representations.provider.ScriptProviderDescriptor.SAML_MAPPERS; - -import java.io.IOException; -import java.io.InputStream; -import java.nio.charset.StandardCharsets; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.function.BiConsumer; - -import org.jboss.as.server.deployment.Attachments; -import org.jboss.as.server.deployment.DeploymentUnit; -import org.jboss.as.server.deployment.module.ResourceRoot; -import org.jboss.vfs.VirtualFile; -import org.keycloak.authentication.AuthenticatorSpi; -import org.keycloak.authentication.authenticators.browser.DeployedScriptAuthenticatorFactory; -import org.keycloak.authorization.policy.provider.PolicySpi; -import org.keycloak.authorization.policy.provider.js.DeployedScriptPolicyFactory; -import org.keycloak.common.util.StreamUtil; -import org.keycloak.protocol.ProtocolMapperSpi; -import org.keycloak.protocol.oidc.mappers.DeployedScriptOIDCProtocolMapper; -import org.keycloak.protocol.saml.mappers.DeployedScriptSAMLProtocolMapper; -import org.keycloak.provider.KeycloakDeploymentInfo; -import org.keycloak.representations.provider.ScriptProviderDescriptor; -import org.keycloak.representations.provider.ScriptProviderMetadata; -import org.keycloak.util.JsonSerialization; - -/** - * @author Pedro Igor - */ -final class ScriptProviderDeploymentProcessor { - - private static final Map> PROVIDERS = new HashMap<>(); - - private static void registerScriptAuthenticator(KeycloakDeploymentInfo info, ScriptProviderMetadata metadata) { - info.addProvider(AuthenticatorSpi.class, new DeployedScriptAuthenticatorFactory(metadata)); - } - - private static void registerScriptPolicy(KeycloakDeploymentInfo info, ScriptProviderMetadata metadata) { - info.addProvider(PolicySpi.class, new DeployedScriptPolicyFactory(metadata)); - } - - private static void registerScriptMapper(KeycloakDeploymentInfo info, ScriptProviderMetadata metadata) { - info.addProvider(ProtocolMapperSpi.class, new DeployedScriptOIDCProtocolMapper(metadata)); - } - - private static void registerSAMLScriptMapper(KeycloakDeploymentInfo info, ScriptProviderMetadata metadata) { - info.addProvider(ProtocolMapperSpi.class, new DeployedScriptSAMLProtocolMapper(metadata)); - } - - static void deploy(DeploymentUnit deploymentUnit, KeycloakDeploymentInfo info) { - ResourceRoot resourceRoot = deploymentUnit.getAttachment(Attachments.DEPLOYMENT_ROOT); - - if (resourceRoot == null) { - return; - } - - VirtualFile jarFile = resourceRoot.getRoot(); - - if (jarFile == null || !jarFile.exists() || !jarFile.getName().endsWith(".jar")) { - return; - } - - ScriptProviderDescriptor descriptor = readScriptProviderDescriptor(jarFile); - - if (descriptor == null) { - return; - } - - for (Map.Entry> entry : descriptor.getProviders().entrySet()) { - for (ScriptProviderMetadata metadata : entry.getValue()) { - String fileName = metadata.getFileName(); - - if (fileName == null) { - throw new RuntimeException("You must provide the script file name"); - } - - try (InputStream in = jarFile.getChild(fileName).openStream()) { - metadata.setCode(StreamUtil.readString(in, StandardCharsets.UTF_8)); - } catch (IOException cause) { - throw new RuntimeException("Failed to read script file [" + fileName + "]", cause); - } - - metadata.setId(new StringBuilder("script").append("-").append(fileName).toString()); - - String name = metadata.getName(); - - if (name == null) { - name = fileName; - } - - metadata.setName(name); - - PROVIDERS.get(entry.getKey()).accept(info, metadata); - } - } - } - - private static ScriptProviderDescriptor readScriptProviderDescriptor(VirtualFile deploymentRoot) { - VirtualFile metadataFile = deploymentRoot.getChild("META-INF/keycloak-scripts.json"); - - if (!metadataFile.exists()) { - return null; - } - - try (InputStream inputStream = metadataFile.openStream()) { - return JsonSerialization.readValue(inputStream, ScriptProviderDescriptor.class); - } catch (IOException cause) { - throw new RuntimeException("Failed to read providers metadata", cause); - } - } - - static { - PROVIDERS.put(AUTHENTICATORS, ScriptProviderDeploymentProcessor::registerScriptAuthenticator); - PROVIDERS.put(POLICIES, ScriptProviderDeploymentProcessor::registerScriptPolicy); - PROVIDERS.put(MAPPERS, ScriptProviderDeploymentProcessor::registerScriptMapper); - PROVIDERS.put(SAML_MAPPERS, ScriptProviderDeploymentProcessor::registerSAMLScriptMapper); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ServerUtil.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ServerUtil.java deleted file mode 100644 index f1ee631966e..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ServerUtil.java +++ /dev/null @@ -1,150 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.OperationContext; -import org.jboss.as.controller.OperationFailedException; -import org.jboss.as.controller.OperationStepHandler; -import org.jboss.as.controller.PathAddress; -import org.jboss.as.controller.PathElement; -import org.jboss.as.controller.operations.common.Util; -import org.jboss.as.controller.registry.ImmutableManagementResourceRegistration; -import org.jboss.dmr.ModelNode; -import org.jboss.modules.Module; -import org.jboss.modules.ModuleIdentifier; -import org.jboss.modules.ModuleLoadException; - -import java.io.File; -import java.net.URI; -import java.net.URISyntaxException; -import java.net.URL; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADDRESS; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ARCHIVE; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.CONTENT; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DEPLOYMENT; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ENABLED; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.PATH; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.PERSISTENT; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.REDEPLOY; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.RUNTIME_NAME; - -/** - * Utility methods that help assemble and start an auth server. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2014 Red Hat Inc. - */ -public class ServerUtil { - - private static final ModuleIdentifier KEYCLOAK_SUBSYSTEM = ModuleIdentifier.create("org.keycloak.keycloak-server-subsystem"); - - private final String deploymentName; - private final Module subsysModule; - private final URI serverWar; - - ServerUtil(ModelNode operation) { - this.deploymentName = getDeploymentName(operation); - this.subsysModule = findSubsysModule(); - this.serverWar = findServerWarUri(); - } - - private Module findSubsysModule() { - try { - return Module.getModuleFromCallerModuleLoader(KEYCLOAK_SUBSYSTEM); - } catch (ModuleLoadException e) { - throw new IllegalStateException("Can't find Keycloak subsystem.", e); - } - } - - private URI findServerWarUri() throws IllegalStateException { - try { - URL subsysResource = this.subsysModule.getExportedResource("module.xml"); - File subsysDir = new File(subsysResource.toURI()).getParentFile(); - File serverWarDir = new File(subsysDir, "server-war"); - return serverWarDir.toURI(); - } catch (URISyntaxException e) { - throw new IllegalStateException(e); - } catch (IllegalArgumentException e) { - throw new IllegalStateException(e); - } - } - - void addStepToUploadServerWar(OperationContext context) throws OperationFailedException { - PathAddress deploymentAddress = deploymentAddress(deploymentName); - ModelNode op = Util.createOperation(ADD, deploymentAddress); - - // this is required for deployment to take place - op.get(ENABLED).set(true); - - // prevents writing this deployment out to standalone.xml - op.get(PERSISTENT).set(false); - - // Owner attribute is valid starting with WidlFly 9. Ignored in WildFly 8 - op.get("owner").set(new ModelNode().add("subsystem", KeycloakExtension.SUBSYSTEM_NAME)); - - if (serverWar == null) { - throw new OperationFailedException("Keycloak Server WAR not found in keycloak-server-subsystem module"); - } - - op.get(CONTENT).add(makeContentItem()); - - context.addStep(op, getHandler(context, deploymentAddress, ADD), OperationContext.Stage.MODEL); - } - - private ModelNode makeContentItem() throws OperationFailedException { - ModelNode contentItem = new ModelNode(); - - String urlString = new File(serverWar).getAbsolutePath(); - contentItem.get(PATH).set(urlString); - contentItem.get(ARCHIVE).set(false); - - return contentItem; - } - - static void addStepToRedeployServerWar(OperationContext context, String deploymentName) { - addDeploymentAction(context, REDEPLOY, deploymentName); - } - - private static void addDeploymentAction(OperationContext context, String operation, String deploymentName) { - if (!context.isNormalServer()) { - return; - } - PathAddress deploymentAddress = deploymentAddress(deploymentName); - ModelNode op = Util.createOperation(operation, deploymentAddress); - op.get(RUNTIME_NAME).set(deploymentName); - context.addStep(op, getHandler(context, deploymentAddress, operation), OperationContext.Stage.MODEL); - } - - private static PathAddress deploymentAddress(String deploymentName) { - return PathAddress.pathAddress(PathElement.pathElement(DEPLOYMENT, deploymentName)); - } - - static OperationStepHandler getHandler(OperationContext context, PathAddress address, String opName) { - ImmutableManagementResourceRegistration rootResourceRegistration = context.getRootResourceRegistration(); - return rootResourceRegistration.getOperationHandler(address, opName); - } - - static String getDeploymentName(ModelNode operation) { - String deploymentName = Util.getNameFromAddress(operation.get(ADDRESS)); - if (!deploymentName.toLowerCase().endsWith(".war")) { - deploymentName += ".war"; - } - - return deploymentName; - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceAddHandler.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceAddHandler.java deleted file mode 100644 index c10b6b5f3a9..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceAddHandler.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AbstractAddStepHandler; -import org.jboss.as.controller.OperationFailedException; -import org.jboss.dmr.ModelNode; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class SpiResourceAddHandler extends AbstractAddStepHandler { - - public static SpiResourceAddHandler INSTANCE = new SpiResourceAddHandler(); - - private SpiResourceAddHandler() {} - - @Override - protected void populateModel(ModelNode operation, ModelNode model) throws OperationFailedException { - // TODO: localize exception. get id number - if (!operation.get(OP).asString().equals(ADD)) { - throw new OperationFailedException("Unexpected operation for add SPI. operation=" + operation.toString()); - } - - SpiResourceDefinition.DEFAULT_PROVIDER.validateAndSet(operation, model); - - KeycloakAdapterConfigService.INSTANCE.updateConfig(operation, model); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceDefinition.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceDefinition.java deleted file mode 100644 index db15ba49117..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceDefinition.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.PathElement; -import org.jboss.as.controller.ReloadRequiredWriteAttributeHandler; -import org.jboss.as.controller.SimpleAttributeDefinition; -import org.jboss.as.controller.SimpleAttributeDefinitionBuilder; -import org.jboss.as.controller.SimpleResourceDefinition; -import org.jboss.as.controller.registry.ManagementResourceRegistration; -import org.jboss.dmr.ModelType; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class SpiResourceDefinition extends SimpleResourceDefinition { - - public static final String TAG_NAME = "spi"; - - protected static final SimpleAttributeDefinition DEFAULT_PROVIDER = - new SimpleAttributeDefinitionBuilder("default-provider", ModelType.STRING, true) - .setAllowExpression(true) - .setRestartAllServices() - .build(); - - protected static final ReloadRequiredWriteAttributeHandler WRITE_ATTR_HANDLER = new ReloadRequiredWriteAttributeHandler(DEFAULT_PROVIDER); - - protected SpiResourceDefinition() { - super(PathElement.pathElement(TAG_NAME), - KeycloakExtension.getResourceDescriptionResolver(TAG_NAME), - SpiResourceAddHandler.INSTANCE, - SpiResourceRemoveHandler.INSTANCE - ); - } - - @Override - public void registerAttributes(ManagementResourceRegistration resourceRegistration) { - super.registerAttributes(resourceRegistration); - resourceRegistration.registerReadWriteAttribute(DEFAULT_PROVIDER, null, WRITE_ATTR_HANDLER); - } - - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceRemoveHandler.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceRemoveHandler.java deleted file mode 100644 index 468a40a6a60..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/SpiResourceRemoveHandler.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AbstractRemoveStepHandler; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class SpiResourceRemoveHandler extends AbstractRemoveStepHandler { - - public static SpiResourceRemoveHandler INSTANCE = new SpiResourceRemoveHandler(); - - private SpiResourceRemoveHandler() {} - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceAddHandler.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceAddHandler.java deleted file mode 100644 index 1407f4174d8..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceAddHandler.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AbstractAddStepHandler; -import org.jboss.as.controller.AttributeDefinition; -import org.jboss.as.controller.OperationFailedException; -import org.jboss.as.controller.PathAddress; -import org.jboss.as.controller.PathElement; -import org.jboss.dmr.ModelNode; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADDRESS; -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP; -import static org.keycloak.subsystem.server.extension.ThemeResourceDefinition.ALL_ATTRIBUTES; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class ThemeResourceAddHandler extends AbstractAddStepHandler { - - public static ThemeResourceAddHandler INSTANCE = new ThemeResourceAddHandler(); - - private ThemeResourceAddHandler() {} - - @Override - protected void populateModel(ModelNode operation, ModelNode model) throws OperationFailedException { - // TODO: localize exception. get id number - if (!operation.get(OP).asString().equals(ADD)) { - throw new OperationFailedException("Unexpected operation for add Theme. operation=" + operation.toString()); - } - - PathAddress address = PathAddress.pathAddress(operation.get(ADDRESS)); - PathElement last = address.getLastElement(); - if (!last.getValue().equals(ThemeResourceDefinition.RESOURCE_NAME)) { - throw new OperationFailedException("Theme resource with name " + last.getValue() + " not allowed."); - } - - for (AttributeDefinition def : ALL_ATTRIBUTES) { - def.validateAndSet(operation, model); - } - - KeycloakAdapterConfigService.INSTANCE.updateConfig(operation, model); - } -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceDefinition.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceDefinition.java deleted file mode 100644 index aed00e61ddb..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceDefinition.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AttributeDefinition; -import org.jboss.as.controller.PathElement; -import org.jboss.as.controller.ReloadRequiredWriteAttributeHandler; -import org.jboss.as.controller.SimpleAttributeDefinition; -import org.jboss.as.controller.SimpleAttributeDefinitionBuilder; -import org.jboss.as.controller.SimpleResourceDefinition; -import org.jboss.as.controller.StringListAttributeDefinition; -import org.jboss.as.controller.registry.ManagementResourceRegistration; -import org.jboss.dmr.ModelNode; -import org.jboss.dmr.ModelType; -import org.keycloak.subsystem.server.attributes.ModulesListAttributeBuilder; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class ThemeResourceDefinition extends SimpleResourceDefinition { - - public static final String TAG_NAME = "theme"; - - // This is the internal name of the singleton resource - public static final String RESOURCE_NAME = "defaults"; - - // NOTE: All attributes must be SimpleAttributeDefinition. If that needs to - // change then refactor starting with lookup() method below. - static final SimpleAttributeDefinition STATIC_MAX_AGE = - new SimpleAttributeDefinitionBuilder("staticMaxAge", ModelType.LONG, true) - .setAllowExpression(true) - .setDefaultValue(new ModelNode("2592000")) - .setRestartAllServices() - .build(); - - static final SimpleAttributeDefinition CACHE_THEMES = - new SimpleAttributeDefinitionBuilder("cacheThemes", ModelType.BOOLEAN, true) - .setAllowExpression(true) - .setDefaultValue(new ModelNode(true)) - .setRequired(true) - .setRestartAllServices() - .build(); - - static final SimpleAttributeDefinition CACHE_TEMPLATES = - new SimpleAttributeDefinitionBuilder("cacheTemplates", ModelType.BOOLEAN, true) - .setAllowExpression(true) - .setDefaultValue(new ModelNode(true)) - .setRequired(true) - .setRestartAllServices() - .build(); - - static final SimpleAttributeDefinition WELCOME_THEME = - new SimpleAttributeDefinitionBuilder("welcomeTheme", ModelType.STRING, true) - .setAllowExpression(true) - .setRestartAllServices() - .build(); - - static final SimpleAttributeDefinition DEFAULT = - new SimpleAttributeDefinitionBuilder("default", ModelType.STRING, true) - .setAllowExpression(true) - .setRestartAllServices() - .build(); - - static final SimpleAttributeDefinition DIR = - new SimpleAttributeDefinitionBuilder("dir", ModelType.STRING, true) - .setAllowExpression(true) - .setDefaultValue(new ModelNode("${jboss.home.dir}/themes")) - .setRestartAllServices() - .build(); - - static final StringListAttributeDefinition MODULES = new ModulesListAttributeBuilder().build(); - - static final List ALL_ATTRIBUTES = new ArrayList<>(); - - static { - ALL_ATTRIBUTES.add(STATIC_MAX_AGE); - ALL_ATTRIBUTES.add(CACHE_THEMES); - ALL_ATTRIBUTES.add(CACHE_TEMPLATES); - ALL_ATTRIBUTES.add(WELCOME_THEME); - ALL_ATTRIBUTES.add(DEFAULT); - ALL_ATTRIBUTES.add(DIR); - ALL_ATTRIBUTES.add(MODULES); - } - - private static final Map DEFINITION_LOOKUP = new HashMap<>(); - static { - for (AttributeDefinition def : ALL_ATTRIBUTES) { - DEFINITION_LOOKUP.put(def.getXmlName(), def); - } - } - - protected static final ReloadRequiredWriteAttributeHandler WRITE_ATTR_HANDLER = new ReloadRequiredWriteAttributeHandler(ALL_ATTRIBUTES); - - protected ThemeResourceDefinition() { - super(PathElement.pathElement(TAG_NAME), - KeycloakExtension.getResourceDescriptionResolver(TAG_NAME), - ThemeResourceAddHandler.INSTANCE, - ThemeResourceRemoveHandler.INSTANCE - ); - } - - @Override - public void registerAttributes(ManagementResourceRegistration resourceRegistration) { - super.registerAttributes(resourceRegistration); - - for (AttributeDefinition def : ALL_ATTRIBUTES) { - resourceRegistration.registerReadWriteAttribute(def, null, WRITE_ATTR_HANDLER); - } - } - - public static SimpleAttributeDefinition lookup(String name) { - return (SimpleAttributeDefinition)DEFINITION_LOOKUP.get(name); - } - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceRemoveHandler.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceRemoveHandler.java deleted file mode 100644 index 797c564d8a6..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/extension/ThemeResourceRemoveHandler.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors - * as indicated by the @author tags. All rights reserved. - * - * 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. - */ - -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.AbstractRemoveStepHandler; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class ThemeResourceRemoveHandler extends AbstractRemoveStepHandler { - - public static ThemeResourceRemoveHandler INSTANCE = new ThemeResourceRemoveHandler(); - - private ThemeResourceRemoveHandler() {} - -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/logging/KeycloakLogger.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/logging/KeycloakLogger.java deleted file mode 100755 index 58b16e55c7a..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/logging/KeycloakLogger.java +++ /dev/null @@ -1,35 +0,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. - */ -package org.keycloak.subsystem.server.logging; - -import org.jboss.logging.BasicLogger; -import org.jboss.logging.Logger; -import org.jboss.logging.annotations.MessageLogger; - -/** - * This interface to be fleshed out later when error messages are fully externalized. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2013 Red Hat Inc. - */ -@MessageLogger(projectCode = "KEYCLOAK") -public interface KeycloakLogger extends BasicLogger { - - /** - * A logger with a category of the package name. - */ - KeycloakLogger ROOT_LOGGER = Logger.getMessageLogger(KeycloakLogger.class, "org.jboss.keycloak"); -} diff --git a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/logging/KeycloakMessages.java b/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/logging/KeycloakMessages.java deleted file mode 100755 index 8935a34d526..00000000000 --- a/wildfly/server-subsystem/src/main/java/org/keycloak/subsystem/server/logging/KeycloakMessages.java +++ /dev/null @@ -1,34 +0,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. - */ -package org.keycloak.subsystem.server.logging; - -import org.jboss.logging.Messages; -import org.jboss.logging.annotations.MessageBundle; - -/** - * This interface to be fleshed out later when error messages are fully externalized. - * - * @author Stan Silvert ssilvert@redhat.com (C) 2012 Red Hat Inc. - */ -@MessageBundle(projectCode = "KEYCLOAK") -public interface KeycloakMessages { - - /** - * The messages - */ - KeycloakMessages MESSAGES = Messages.getBundle(KeycloakMessages.class); -} diff --git a/wildfly/server-subsystem/src/main/resources/META-INF/services/org.jboss.as.controller.Extension b/wildfly/server-subsystem/src/main/resources/META-INF/services/org.jboss.as.controller.Extension deleted file mode 100644 index 3d07b77412c..00000000000 --- a/wildfly/server-subsystem/src/main/resources/META-INF/services/org.jboss.as.controller.Extension +++ /dev/null @@ -1,18 +0,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. -# - -org.keycloak.subsystem.server.extension.KeycloakExtension diff --git a/wildfly/server-subsystem/src/main/resources/cli/default-keycloak-subsys-config.cli b/wildfly/server-subsystem/src/main/resources/cli/default-keycloak-subsys-config.cli deleted file mode 100644 index 757e9eb961f..00000000000 --- a/wildfly/server-subsystem/src/main/resources/cli/default-keycloak-subsys-config.cli +++ /dev/null @@ -1,22 +0,0 @@ -/subsystem=keycloak-server:add(web-context=auth,master-realm-name=master,scheduled-task-interval=900) -/subsystem=keycloak-server/theme=defaults/:add(dir=${jboss.home.dir}/themes,staticMaxAge=2592000,cacheTemplates=true,cacheThemes=true) -/subsystem=keycloak-server/spi=hostname/:add(default-provider=default) -/subsystem=keycloak-server/spi=hostname/provider=default/:add(properties={frontendUrl => "${keycloak.frontendUrl:}",forceBackendUrlToFrontendUrl => "false"},enabled=true) -/subsystem=keycloak-server/spi=eventsStore/:add -/subsystem=keycloak-server/spi=eventsStore/provider=jpa/:add(properties={exclude-events => "[\"REFRESH_TOKEN\"]"},enabled=true) -/subsystem=keycloak-server/spi=userCache/:add -/subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true) -/subsystem=keycloak-server/spi=userSessionPersister/:add(default-provider=jpa) -/subsystem=keycloak-server/spi=timer/:add(default-provider=basic) -/subsystem=keycloak-server/spi=connectionsHttpClient/:add -/subsystem=keycloak-server/spi=connectionsHttpClient/provider=default/:add(enabled=true) -/subsystem=keycloak-server/spi=connectionsJpa/:add -/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:add(properties={dataSource => "java:jboss/datasources/KeycloakDS",initializeEmpty => "true",migrationStrategy => "update",migrationExport => "${jboss.home.dir}/keycloak-database-update.sql"},enabled=true) -/subsystem=keycloak-server/spi=realmCache/:add -/subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true) -/subsystem=keycloak-server/spi=connectionsInfinispan/:add(default-provider=default) -/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default/:add(properties={cacheContainer => "java:jboss/infinispan/container/keycloak"},enabled=true) -/subsystem=keycloak-server/spi=jta-lookup/:add(default-provider=${keycloak.jta.lookup.provider:jboss}) -/subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true) -/subsystem=keycloak-server/spi=publicKeyStorage/:add -/subsystem=keycloak-server/spi=publicKeyStorage/provider=infinispan/:add(properties={minTimeBetweenRequests => "10"},enabled=true) diff --git a/wildfly/server-subsystem/src/main/resources/default-config/keycloak-server-default-config.xml b/wildfly/server-subsystem/src/main/resources/default-config/keycloak-server-default-config.xml deleted file mode 100644 index e5206116c6e..00000000000 --- a/wildfly/server-subsystem/src/main/resources/default-config/keycloak-server-default-config.xml +++ /dev/null @@ -1 +0,0 @@ -${keycloak.server.subsys.default.config} \ No newline at end of file diff --git a/wildfly/server-subsystem/src/main/resources/org/keycloak/subsystem/server/extension/LocalDescriptions.properties b/wildfly/server-subsystem/src/main/resources/org/keycloak/subsystem/server/extension/LocalDescriptions.properties deleted file mode 100755 index 8d5c5a780d3..00000000000 --- a/wildfly/server-subsystem/src/main/resources/org/keycloak/subsystem/server/extension/LocalDescriptions.properties +++ /dev/null @@ -1,52 +0,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. -# - -keycloak-server.migrate-json=Migrate keycloak-server.json to standalone.xml or domain.xml -keycloak-server.migrate-json.file=Optional local path to keycloak-server.json - -keycloak-server.subsystem=Keycloak subsystem -keycloak-server.subsystem.add=Operation Adds Keycloak subsystem -keycloak-server.subsystem.remove=Operation removes Keycloak subsystem -keycloak-server.subsystem.web-context=Web context where Keycloak server is bound. Default value is 'auth'. -keycloak-server.subsystem.providers=Paths to search for Keycloak provider jars. -keycloak-server.subsystem.master-realm-name=The name of the master admin realm. -keycloak-server.subsystem.scheduled-task-interval=The interval (in seconds) to run scheduled tasks. -keycloak-server.subsystem.spi=A Service Provider type. -keycloak-server.subsystem.theme=Theme configuration properties. - -keycloak-server.theme=Theme configuration properties. -keycloak-server.theme.add=Add the theme config properties. -keycloak-server.theme.remove=Remove the theme config properties. -keycloak-server.theme.staticMaxAge=Maximum time the browser should cache theme resources. A value of -1 will disable caching. -keycloak-server.theme.cacheThemes=If true, themes are cached. -keycloak-server.theme.cacheTemplates=If true, theme templates are cached. -keycloak-server.theme.welcomeTheme=The welcome theme. -keycloak-server.theme.default=The default theme to use if no theme is specified for a realm. -keycloak-server.theme.dir=Directory where themes can be located. -keycloak-server.theme.modules=List of modules containing themes. - -keycloak-server.spi=A Service Provider type. -keycloak-server.spi.add=Add an spi. -keycloak-server.spi.remove=Remove an spi. -keycloak-server.spi.default-provider=The default provider for the spi. -keycloak-server.spi.provider=A provider for the spi. - -keycloak-server.provider=A provider for the spi. -keycloak-server.provider.add=Add a provider. -keycloak-server.provider.remove=Remove a provider. -keycloak-server.provider.enabled=Enable or disable the provider. -keycloak-server.provider.properties=The properties for the provider. diff --git a/wildfly/server-subsystem/src/main/resources/schema/wildfly-keycloak-server_1_1.xsd b/wildfly/server-subsystem/src/main/resources/schema/wildfly-keycloak-server_1_1.xsd deleted file mode 100755 index fa9f9e04784..00000000000 --- a/wildfly/server-subsystem/src/main/resources/schema/wildfly-keycloak-server_1_1.xsd +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/wildfly/server-subsystem/src/main/resources/subsystem-templates/README.md b/wildfly/server-subsystem/src/main/resources/subsystem-templates/README.md deleted file mode 100644 index 4f08d373d88..00000000000 --- a/wildfly/server-subsystem/src/main/resources/subsystem-templates/README.md +++ /dev/null @@ -1,5 +0,0 @@ -Subsystem Config Files -======== - -IMPORTANT: If you change files in this directory you should also update the migrate-*.cli scripts in -`/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin` diff --git a/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-datasources.xml b/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-datasources.xml deleted file mode 100755 index 8130c1281f7..00000000000 --- a/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-datasources.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - org.jboss.as.connector - - - - jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE - h2 - - sa - sa - - - - - h2 - - sa - sa - - - - - org.h2.jdbcx.JdbcDataSource - - - - - - - jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE - - - - - jdbc:h2:${jboss.server.data.dir}/../../shared-database/keycloak;AUTO_SERVER=TRUE - - - diff --git a/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-infinispan.xml b/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-infinispan.xml deleted file mode 100755 index 71707c5baae..00000000000 --- a/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-infinispan.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - org.jboss.as.clustering.infinispan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-server.xml b/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-server.xml deleted file mode 100644 index 67bf03e733f..00000000000 --- a/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-server.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - org.keycloak.keycloak-server-subsystem - ${keycloak.server.subsys.default.config} - diff --git a/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-undertow.xml b/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-undertow.xml deleted file mode 100644 index ac2d1aca31d..00000000000 --- a/wildfly/server-subsystem/src/main/resources/subsystem-templates/keycloak-undertow.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - org.wildfly.extension.undertow - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/wildfly/server-subsystem/src/test/java/org/keycloak/subsystem/server/extension/JsonConfigConverterTestCase.java b/wildfly/server-subsystem/src/test/java/org/keycloak/subsystem/server/extension/JsonConfigConverterTestCase.java deleted file mode 100644 index 7752258f2a7..00000000000 --- a/wildfly/server-subsystem/src/test/java/org/keycloak/subsystem/server/extension/JsonConfigConverterTestCase.java +++ /dev/null @@ -1,447 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.controller.PathAddress; -import org.jboss.as.controller.PathElement; -import org.jboss.dmr.ModelNode; -import org.junit.Test; - -import java.util.ArrayList; -import java.util.List; - -import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADDRESS; -import static org.junit.Assert.assertEquals; - -/** - * - * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. - */ -public class JsonConfigConverterTestCase { - - private final PathElement domainRoot = PathElement.pathElement("profile", "auth-server-clustered"); - private final PathAddress domainAddress = PathAddress.pathAddress(domainRoot) - .append(KeycloakExtension.PATH_SUBSYSTEM); - private final PathAddress standaloneAddress = PathAddress.pathAddress(KeycloakExtension.PATH_SUBSYSTEM); - - @Test - public void testConvertJsonStandaloneWithModules() throws Exception { - String json = basicJsonConfig(true); - List expResult = expectedOperations(true, false); - - List result = JsonConfigConverter.convertJsonConfig(json, standaloneAddress); - assertEquals(expResult, result); - } - - @Test - public void testConvertJsonStandaloneWithoutModules() throws Exception { - String json = basicJsonConfig(false); - List expResult = expectedOperations(false, false); - - List result = JsonConfigConverter.convertJsonConfig(json, standaloneAddress); - assertEquals(expResult, result); - } - - @Test - public void testConvertJsonDomainWithModules() throws Exception { - String json = basicJsonConfig(true); - List expResult = expectedOperations(true, true); - - List result = JsonConfigConverter.convertJsonConfig(json, domainAddress); - assertEquals(expResult, result); - } - - @Test - public void testConvertJsonDomainWithoutModules() throws Exception { - String json = basicJsonConfig(false); - List expResult = expectedOperations(false, true); - - List result = JsonConfigConverter.convertJsonConfig(json, domainAddress); - assertEquals(expResult, result); - } - - private String basicJsonConfig(boolean includeModules) { - String basicConfig = - "{\n" - + " \"providers\": [\n" - + " \"classpath:${jboss.home.dir}/providers/*\"\n" - + " ],\n" - + "\n" - + " \"admin\": {\n" - + " \"realm\": \"master\"\n" - + " },\n" - + "\n" - + " \"eventsStore\": {\n" - + " \"provider\": \"jpa\",\n" - + " \"jpa\": {\n" - + " \"exclude-events\": [ \"REFRESH_TOKEN\" ]\n" - + " }\n" - + " },\n" - + "\n" - + " \"realm\": {\n" - + " \"provider\": \"jpa\"\n" - + " },\n" - + "\n" - + " \"user\": {\n" - + " \"provider\": \"jpa\"\n" - + " },\n" - + "\n" - + " \"userCache\": {\n" - + " \"default\" : {\n" - + " \"enabled\": true\n" - + " }\n" - + " },\n" - + "\n" - + " \"userSessionPersister\": {\n" - + " \"provider\": \"jpa\"\n" - + " },\n" - + "\n" - + " \"authorizationPersister\": {\n" - + " \"provider\": \"jpa\"\n" - + " },\n" - + "\n" - + " \"timer\": {\n" - + " \"provider\": \"basic\"\n" - + " },\n" - + "\n" - + " \"theme\": {\n" - + " \"staticMaxAge\": 2592001,\n" - + " \"cacheTemplates\": false,\n" - + " \"cacheThemes\": false,\n" - + " \"welcomeTheme\": \"welcome\",\n" - + " \"default\": \"default\",\n" - + " \"folder\": {\n" - + " \"dir\": \"${jboss.home.dir}/themes\"\n"; - - - if (includeModules) { - basicConfig += - " },\n" - + " \"module\": {\n" - + " \"modules\": [ \"org.keycloak.example.themes\" ]\n" - + " }\n"; - } else { - basicConfig += - " }\n"; - } - - basicConfig += - " },\n" - + "\n" - + " \"scheduled\": {\n" - + " \"interval\": 900\n" - + " },\n" - + "\n" - + " \"connectionsHttpClient\": {\n" - + " \"default\": {}\n" - + " },\n" - + "\n" - + " \"connectionsJpa\": {\n" - + " \"default\": {\n" - + " \"dataSource\": \"java:jboss/datasources/KeycloakDS\",\n" - + " \"databaseSchema\": \"update\"\n" - + " }\n" - + " },\n" - + "\n" - + " \"realmCache\": {\n" - + " \"default\" : {\n" - + " \"enabled\": true\n" - + " }\n" - + " },\n" - + "\n" - + " \"connectionsInfinispan\": {\n" - + " \"provider\": \"default\",\n" - + " \"default\": {\n" - + " \"cacheContainer\" : \"java:jboss/infinispan/container/keycloak\"\n" - + " }\n" - + " }\n" - + "}"; - - return basicConfig; - } - - private List expectedOperations(boolean includeModules, boolean isDomain) { - List ops = new ArrayList<>(); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"write-attribute\",\n" + - " \"address\" => [(\"subsystem\" => \"keycloak-server\")],\n" + - " \"name\" => \"master-realm-name\",\n" + - " \"value\" => \"master\"\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"write-attribute\",\n" + - " \"address\" => [(\"subsystem\" => \"keycloak-server\")],\n" + - " \"name\" => \"scheduled-task-interval\",\n" + - " \"value\" => 900L\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"write-attribute\",\n" + - " \"address\" => [(\"subsystem\" => \"keycloak-server\")],\n" + - " \"name\" => \"providers\",\n" + - " \"value\" => [\"classpath:${jboss.home.dir}/providers/*\"]\n" + - "}" - )); - - if (includeModules) { - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"theme\" => \"defaults\")\n" + - " ],\n" + - " \"staticMaxAge\" => 2592001L,\n" + - " \"cacheTemplates\" => false,\n" + - " \"cacheThemes\" => false,\n" + - " \"dir\" => \"${jboss.home.dir}/themes\",\n" + - " \"welcomeTheme\" => \"welcome\",\n" + - " \"default\" => \"default\",\n" + - " \"modules\" => [\"org.keycloak.example.themes\"]\n" + - "}" - )); - } else { - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"theme\" => \"defaults\")\n" + - " ],\n" + - " \"staticMaxAge\" => 2592001L,\n" + - " \"cacheTemplates\" => false,\n" + - " \"cacheThemes\" => false,\n" + - " \"dir\" => \"${jboss.home.dir}/themes\",\n" + - " \"welcomeTheme\" => \"welcome\",\n" + - " \"default\" => \"default\",\n" + - "}" - )); - } - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"eventsStore\")\n" + - " ],\n" + - " \"default-provider\" => \"jpa\"\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"eventsStore\"),\n" + - " (\"provider\" => \"jpa\")\n" + - " ],\n" + - " \"properties\" => {\"exclude-events\" => \"[\\\"REFRESH_TOKEN\\\"]\"},\n" + - " \"enabled\" => true\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"realm\")\n" + - " ],\n" + - " \"default-provider\" => \"jpa\"\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"user\")\n" + - " ],\n" + - " \"default-provider\" => \"jpa\"\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"userCache\")\n" + - " ]\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"userCache\"),\n" + - " (\"provider\" => \"default\")\n" + - " ],\n" + - " \"enabled\" => true\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"userSessionPersister\")\n" + - " ],\n" + - " \"default-provider\" => \"jpa\"\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"authorizationPersister\")\n" + - " ],\n" + - " \"default-provider\" => \"jpa\"\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"timer\")\n" + - " ],\n" + - " \"default-provider\" => \"basic\"\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"connectionsHttpClient\")\n" + - " ]\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"connectionsHttpClient\"),\n" + - " (\"provider\" => \"default\")\n" + - " ],\n" + - " \"enabled\" => true\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"connectionsJpa\")\n" + - " ]\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"connectionsJpa\"),\n" + - " (\"provider\" => \"default\")\n" + - " ],\n" + - " \"properties\" => {\n" + - " \"dataSource\" => \"java:jboss/datasources/KeycloakDS\",\n" + - " \"databaseSchema\" => \"update\"\n" + - " },\n" + - " \"enabled\" => true\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"realmCache\")\n" + - " ]\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"realmCache\"),\n" + - " (\"provider\" => \"default\")\n" + - " ],\n" + - " \"enabled\" => true\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"connectionsInfinispan\")\n" + - " ],\n" + - " \"default-provider\" => \"default\"\n" + - "}" - )); - - ops.add(ModelNode.fromString( - "{\n" + - " \"operation\" => \"add\",\n" + - " \"address\" => [\n" + - " (\"subsystem\" => \"keycloak-server\"),\n" + - " (\"spi\" => \"connectionsInfinispan\"),\n" + - " (\"provider\" => \"default\")\n" + - " ],\n" + - " \"properties\" => {\"cacheContainer\" => \"java:jboss/infinispan/container/keycloak\"},\n" + - " \"enabled\" => true\n" + - "}" - )); - - if (isDomain) { // prepend the domain root - for (ModelNode op : ops) { - PathAddress addr = PathAddress.pathAddress(op.get(ADDRESS)); - PathAddress domainAddr = PathAddress.pathAddress(domainRoot).append(addr); - op.get(ADDRESS).set(domainAddr.toModelNode()); - } - } - - return ops; - } -} \ No newline at end of file diff --git a/wildfly/server-subsystem/src/test/java/org/keycloak/subsystem/server/extension/SubsystemParsingTestCase.java b/wildfly/server-subsystem/src/test/java/org/keycloak/subsystem/server/extension/SubsystemParsingTestCase.java deleted file mode 100755 index 25cfa10e91d..00000000000 --- a/wildfly/server-subsystem/src/test/java/org/keycloak/subsystem/server/extension/SubsystemParsingTestCase.java +++ /dev/null @@ -1,64 +0,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. - */ -package org.keycloak.subsystem.server.extension; - -import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest; - -import java.io.IOException; -import java.util.Properties; - -/** - * Tests all management expects for subsystem, parsing, marshaling, model definition and other - * Here is an example that allows you a fine grained controller over what is tested and how. So it can give you ideas what can be done and tested. - * If you have no need for advanced testing of subsystem you look at {@link AbstractSubsystemBaseTest} that testes same stuff but most of the code - * is hidden inside of test harness - * - * @author Kabir Khan - * @author Tomaz Cerar - * @author Marko Strukelj - */ -public class SubsystemParsingTestCase extends AbstractSubsystemBaseTest { - - public SubsystemParsingTestCase() { - super(KeycloakExtension.SUBSYSTEM_NAME, new KeycloakExtension()); - } - - @Override - protected Properties getResolvedProperties() { - Properties properties = new Properties(); - properties.put("jboss.home.dir", System.getProperty("java.io.tmpdir")); - properties.put("keycloak.jta.lookup.provider", "jboss"); - return properties; - } - - @Override - protected String getSubsystemXml() throws IOException { - return readResource("keycloak-server-1.1.xml"); - } - - @Override - protected String getSubsystemXsdPath() throws Exception { - return "schema/wildfly-keycloak-server_1_1.xsd"; - } - - @Override - protected String[] getSubsystemTemplatePaths() throws IOException { - return new String[]{ - "/subsystem-templates/keycloak-server.xml" - }; - } -} diff --git a/wildfly/server-subsystem/src/test/resources/org/keycloak/subsystem/server/extension/keycloak-server-1.1.xml b/wildfly/server-subsystem/src/test/resources/org/keycloak/subsystem/server/extension/keycloak-server-1.1.xml deleted file mode 100644 index e5206116c6e..00000000000 --- a/wildfly/server-subsystem/src/test/resources/org/keycloak/subsystem/server/extension/keycloak-server-1.1.xml +++ /dev/null @@ -1 +0,0 @@ -${keycloak.server.subsys.default.config} \ No newline at end of file