<?xml version="1.0" encoding="UTF-8"?>
<feature-group-spec name="basic-profile" xmlns="urn:jboss:galleon:feature-group:1.0">

    <feature-group name="remoting">
        <feature spec="subsystem.remoting">
            <feature spec="subsystem.remoting.configuration.endpoint">
                <unset param="worker"/>
            </feature>
        </feature>
    </feature-group>

    <origin name="org.wildfly:wildfly-servlet-galleon-pack">
        <feature-group name="basic-profile"/>
    </origin>

    <feature spec="subsystem.security.security-domain">
        <param name="security-domain" value="other"/>
        <param name="cache-type" value="default"/>
    </feature>

    <feature spec="subsystem.security.security-domain">
        <param name="security-domain" value="jboss-web-policy"/>
        <param name="cache-type" value="default"/>
        <feature spec="subsystem.security.security-domain.authorization.classic">
            <feature spec="subsystem.security.security-domain.authorization.classic.policy-module">
                <param name="policy-module" value="Delegating"/>
                <param name="code" value="Delegating"/>
                <param name="flag" value="required"/>
            </feature>
        </feature>
    </feature>
    <feature spec="subsystem.security.security-domain">
        <param name="security-domain" value="jboss-ejb-policy"/>
        <param name="cache-type" value="default"/>
        <feature spec="subsystem.security.security-domain.authorization.classic">
            <feature spec="subsystem.security.security-domain.authorization.classic.policy-module">
                <param name="policy-module" value="Delegating"/>
                <param name="code" value="Delegating"/>
                <param name="flag" value="required"/>
            </feature>
        </feature>
    </feature>
    <feature spec="subsystem.security.security-domain">
        <param name="cache-type" value="default"/>
        <param name="security-domain" value="jaspitest"/>
        <feature spec="subsystem.security.security-domain.authentication.jaspi">
            <feature spec="subsystem.security.security-domain.authentication.jaspi.auth-module">
                <param name="auth-module" value="Dummy"/>
                <param name="code" value="Dummy"/>
            </feature>
            <feature spec="subsystem.security.security-domain.authentication.jaspi.login-module-stack">
                <param name="login-module-stack" value="dummy"/>
                <feature spec="subsystem.security.security-domain.authentication.jaspi.login-module-stack.login-module">
                    <param name="login-module" value="Dummy"/>
                    <param name="code" value="Dummy"/>
                    <param name="flag" value="optional"/>
                </feature>
            </feature>
        </feature>
    </feature>

    <feature spec="subsystem.discovery"/>

    <feature spec="subsystem.distributable-web">
        <param name="default-session-management" value="default"/>
        <param name="default-single-sign-on-management" value="default"/>
        <feature spec="subsystem.distributable-web.infinispan-session-management">
            <param name="infinispan-session-management" value="default"/>
            <param name="cache-container" value="web"/>
            <param name="granularity" value="SESSION"/>
            <feature spec="subsystem.distributable-web.infinispan-session-management.affinity.primary-owner"/>
        </feature>
        <feature spec="subsystem.distributable-web.infinispan-single-sign-on-management">
            <param name="infinispan-single-sign-on-management" value="default"/>
            <param name="cache-container" value="web"/>
            <param name="cache" value="sso"/>
        </feature>
        <feature spec="subsystem.distributable-web.routing.infinispan">
            <param name="cache-container" value="web"/>
            <param name="cache" value="routing"/>
        </feature>
    </feature>

    <feature spec="subsystem.ee">
        <feature spec="subsystem.ee.context-service">
            <param name="context-service" value="default"/>
            <param name="use-transaction-setup-provider" value="true"/>
        </feature>
    </feature>

    <feature spec="subsystem.naming">
        <feature spec="subsystem.naming.service.remote-naming"/>
    </feature>

    <feature-group name="batch-jberet"/>
    <feature spec="subsystem.bean-validation"/>
    <feature-group name="transactions"/>
    <feature-group name="datasources"/>
    <feature spec="subsystem.ee-security"/>
    <feature-group name="ejb3"/>
    <feature spec="subsystem.resource-adapters"/>
    <feature-group name="jca"/>
    <feature-group name="jpa"/>
    <feature spec="subsystem.jsf"/>
    <feature spec="subsystem.jaxrs"/>
    <feature spec="subsystem.jdr"/>
    <feature spec="subsystem.weld"/>
    <feature spec="subsystem.microprofile-config-smallrye"/>
    <feature spec="subsystem.microprofile-opentracing-smallrye"/>
    <feature spec="subsystem.pojo"/>
    <feature spec="subsystem.sar"/>
    <feature-group name="mail"/>
    <feature-group name="webservices"/>
    <feature-group name="security-manager"/>
</feature-group-spec>
