<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ 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.
  -->
<module xmlns="urn:jboss:module:1.3" name="org.keycloak.keycloak-services">
    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <resources>
        <resource-root path="keycloak-services-4.3.0.Final.jar"/>
    </resources>

    <dependencies>
        <module name="org.keycloak.keycloak-common" services="import"/>
        <module name="org.keycloak.keycloak-core" services="import"/>
        <module name="org.keycloak.keycloak-js-adapter" services="import"/>
        <module name="org.keycloak.keycloak-kerberos-federation" services="import"/>
        <module name="org.keycloak.keycloak-ldap-federation" services="import"/>
        <module name="org.keycloak.keycloak-sssd-federation" optional="true" services="import"/>
        <module name="org.keycloak.keycloak-server-spi" services="import"/>
        <module name="org.keycloak.keycloak-server-spi-private" services="import"/>
        <module name="org.keycloak.keycloak-model-jpa" services="import"/>
        <module name="org.keycloak.keycloak-model-infinispan" services="import"/>
        <module name="org.keycloak.keycloak-saml-core-public" services="import"/>
        <module name="org.keycloak.keycloak-saml-core" services="import"/>
        <module name="org.keycloak.keycloak-services" export="true" services="import"/>
        <module name="org.keycloak.keycloak-wildfly-extensions" services="import"/>

        <!-- Authorization -->
        <module name="org.keycloak.keycloak-authz-policy-common" services="import"/>
        <module name="org.keycloak.keycloak-authz-policy-drools" services="import"/>

        <module name="com.googlecode.owasp-java-html-sanitizer"/>
        <module name="com.google.guava"/>
        <module name="org.freemarker"/>
        <module name="javax.ws.rs.api"/>
        <module name="javax.mail.api"/>
        <module name="javax.xml.soap.api"/>
        <module name="org.jboss.resteasy.resteasy-jaxrs"/>
        <module name="org.jboss.resteasy.resteasy-multipart-provider"/>
        <module name="org.jboss.dmr"/>
        <module name="javax.servlet.api"/>
        <module name="com.fasterxml.jackson.core.jackson-core"/>
        <module name="com.fasterxml.jackson.core.jackson-annotations"/>
        <module name="com.fasterxml.jackson.core.jackson-databind"/>
        <module name="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider"/>
        <module name="com.google.zxing.core"/>
        <module name="com.google.zxing.javase"/>
        <module name="org.jboss.logging"/>
        <module name="org.bouncycastle" />
        <module name="javax.api"/>
        <module name="javax.activation.api"/>
        <module name="javax.json.api"/>
        <module name="org.apache.httpcomponents"/>
        <module name="org.twitter4j"/>
        <module name="javax.transaction.api"/>
        <module name="sun.jdk"/>
    </dependencies>
</module>
