<?xml version="1.0" encoding="UTF-8"?>
<feature-group-spec name="servlet-picketbox-security" xmlns="urn:jboss:galleon:feature-group:1.0">
    <feature spec="subsystem.security">
        <feature spec="subsystem.security.security-domain">
            <param name="security-domain" value="other"/>
            <param name="cache-type" value="default"/>
            <feature spec="subsystem.security.security-domain.authentication.classic">
                <feature spec="subsystem.security.security-domain.authentication.classic.login-module">
                    <param name="login-module" value="Remoting"/>
                    <param name="code" value="Remoting"/>
                    <param name="flag" value="optional"/>
                    <param name="module-options" value="{password-stacking=useFirstPass}"/>
                </feature>
                <feature spec="subsystem.security.security-domain.authentication.classic.login-module">
                    <param name="login-module" value="RealmDirect"/>
                    <param name="code" value="RealmDirect"/>
                    <param name="flag" value="required"/>
                    <param name="module-options" value="{password-stacking=useFirstPass}"/>
                </feature>
            </feature>
        </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="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>

    <packages>
        <package name="org.jboss.as.security-integration" />
    </packages>
</feature-group-spec>
