subsystem-templates.hawkular-accounts-keycloak-adapter.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hawkular-accounts-feature-pack-resources
Show all versions of hawkular-accounts-feature-pack-resources
This Maven module exists solely because wildfly-server-provisioning-maven-plugin is able to load the subsystem
fragments (see src/main/resources/subsystem-templates/*) only from jars that are pulled by some WildFly module.
Projects that have WildFly modules usually pack this kind of resources inside one of the modules' jars.
Although we do not need a WildFly module to run any code, we need to have one just for the sake of loading the
subsystem-templates by wildfly-server-provisioning-maven-plugin.
Once Hawkular Accounts will have a subsystem or a WildFly module, the resources hosted here can move there.
<?xml version='1.0' encoding='UTF-8'?> <!-- Copyright 2015 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. --> <!-- Template used by WildFly build when directed to include Keycloak subsystem in a configuration. --> <config> <extension-module>org.keycloak.keycloak-adapter-subsystem</extension-module> <subsystem xmlns="urn:jboss:domain:keycloak:1.1"> <realm name="hawkular"> <auth-server-url>${keycloak.server.url}</auth-server-url> <ssl-required>none</ssl-required> </realm> <secure-deployment name="hawkular-accounts.war"> <realm>hawkular</realm> <resource>hawkular-accounts-backend</resource> <use-resource-role-mappings>true</use-resource-role-mappings> <enable-cors>true</enable-cors> <enable-basic-auth>true</enable-basic-auth> <credential name="secret">${uuid.hawkular.accounts.backend}</credential> </secure-deployment> <secure-deployment name="secret-store.war"> <realm>hawkular</realm> <resource>hawkular-accounts-backend</resource> <use-resource-role-mappings>true</use-resource-role-mappings> <enable-cors>true</enable-cors> <enable-basic-auth>true</enable-basic-auth> <credential name="secret">${uuid.hawkular.accounts.backend}</credential> </secure-deployment> </subsystem> </config>