<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2015, Red Hat, Inc., and individual contributors
  ~ as indicated by the @author tags. See the copyright.txt file in the
  ~ distribution for a full listing of individual contributors.
  ~
  ~ This is free software; you can redistribute it and/or modify it
  ~ under the terms of the GNU Lesser General Public License as
  ~ published by the Free Software Foundation; either version 2.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ This software is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~ Lesser General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public
  ~ License along with this software; if not, write to the Free
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  -->
<module name="org.wildfly.extension.elytron" xmlns="urn:jboss:module:1.8">

    <exports>
        <exclude path="org/wildfly/extension/elytron/ElytronExtension"/>
        <exclude path="org/wildfly/extension/elytron/ElytronSubsystemTransformers"/>
        <exclude path="org/wildfly/extension/elytron/_private"/>
        <exclude path="org/wildfly/extension/elytron/capabilities/_private"/>
    </exports>

    <resources>
        <resource-root path="wildfly-elytron-integration-13.0.3.Final.jar"/>
    </resources>

    <dependencies>
        <module name="java.logging"/>
        <module name="java.naming"/>
        <module name="java.security.jgss"/>
        <module name="java.security.sasl"/>
        <module name="java.sql"/>
        <module name="java.xml"/>
        <module name="javax.security.jacc.api"/>
        <module name="javax.security.auth.message.api"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.vfs"/>
        <module name="org.jboss.logmanager"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.security.elytron-private"/>
        <!-- WFCORE-5032 Dependency on legacy security integration to enable discovery of services if available. --> 
        <module name="org.jboss.as.security-integration" optional="true" services="import"/>
    </dependencies>
</module>
