<?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd">

<orion-application>

    <web-module id="defaultWebApp" path="../default-web-app"/>
    <web-module id="test" path="../applications/@cactus.context@.war"/>

	<persistence path="../persistence"/>
	
	<principals path="./principals.xml"/>

	<log>
		<file path="../log/global-application.log"/>
	</log>

    <!-- TODO: Remove security stuff from the default configuration. This must
         be provided by the Sample Servlet project -->

    <security-role-mapping name="test">
        <user name="testuser"/>
    </security-role-mapping>

	<namespace-access>
		<read-access>
			<namespace-resource root="">
				<security-role-mapping>
					<group name="administrators" />
				</security-role-mapping>
			</namespace-resource>
		</read-access>
		<write-access>
			<namespace-resource root="">
				<security-role-mapping>
					<group name="administrators" />
				</security-role-mapping>
			</namespace-resource>
		</write-access>
	</namespace-access>

</orion-application>
