<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2010, 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.jboss.as.security" xmlns="urn:jboss:module:1.9">
    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <exports>
        <exclude path="org/jboss/as/security/logging"/>
    </exports>

    <resources>
        <resource-root path="wildfly-security-24.0.1.Final.jar"/>
    </resources>

    <dependencies>
        <module name="java.naming"/>
        <module name="java.security.sasl"/>
        <module name="java.xml"/>
        <!--WFLY-14219 Remove deprecated <module name="javax.api"/> -->
        <module name="javax.security.jacc.api"/>
        <module name="javax.servlet.api"/>
        <module name="javax.transaction.api"/>
        <module name="org.apache.commons.cli" optional="true"/>
        <module name="org.infinispan" optional="true"/>
        <module name="org.infinispan.commons" optional="true"/>
        <module name="org.jboss.as.core-security"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.domain-management"/>
        <module name="org.jboss.as.ee"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.as.security-plugins" export="true">
            <exports>
                <include-set>
                    <!-- 
                        The LoginModule could have been referenced by name in configuration
                        that also specifies the module.
                     -->
                    <path name="org/jboss/as/security/remoting"/>
                </include-set>
            </exports>
        </module>
        <module name="org.jboss.as.naming"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.metadata.common"/>
        <module name="org.jboss.metadata.web"/>
        <module name="org.jboss.metadata.ear"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.remoting"/>
        <module name="org.jboss.security.negotiation" optional="true"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.picketbox"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.clustering.infinispan.spi" optional="true"/>
        <module name="org.wildfly.clustering.service" optional="true"/>
        <module name="org.wildfly.security.elytron-private"/>
        <module name="org.wildfly.extension.undertow"/>
        <module name="sun.jdk"/>
    </dependencies>
</module>
