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

    <feature-group name="servlet-picketbox-security"/>

    <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-group-spec>