<?xml version="1.0" encoding="UTF-8"?>

<!--
    ...
    $Id$
-->
<deployment xmlns="urn:jboss:bean-deployer:2.0">

  
    <!-- Define the JAAS application policy for ModeShape, named 'modeshape' and referenced
         in the ModeShape configuration file via the 'jaasLoginConfigName' repository option. -->
    <application-policy xmlns="urn:jboss:security-beans:1.0" name="modeshape">
        <authentication>
            <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
                <module-option name="unauthenticatedIdentity">guest</module-option>
                <module-option name="usersProperties">props/modeshape-users.properties</module-option>
                <module-option name="rolesProperties">props/modeshape-roles.properties</module-option>
            </login-module>
        </authentication>
    </application-policy>

 </deployment>
