blob: ba298fd5424a7b6a8b24d93d2dc458fbd52602c5 [file] [log] [blame]
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure id='wac' class="org.eclipse.jetty.webapp.WebAppContext">
<New id="validation_mail" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>
<Ref id="wac"/>
</Arg>
<Arg>mail/Session</Arg>
<Arg>
<New class="org.eclipse.jetty.jndi.factories.MailSessionReference">
<Set name="user"></Set>
<Set name="password"></Set>
<Set name="properties">
<New class="java.util.Properties">
<Put name="mail.smtp.host">localhost</Put>
</New>
</Set>
</New>
</Arg>
</New>
<New id="continuum" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>
<Ref id="wac"/>
</Arg>
<Arg>jdbc/continuum</Arg>
<Arg>
<New class="org.apache.derby.jdbc.EmbeddedDataSource">
<Set name="DatabaseName">../continuum_database</Set>
<Set name="user">sa</Set>
<Set name="createDatabase">create</Set>
</New>
</Arg>
</New>
<!-- Users / Security Database -->
<New id="users" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>
<Ref id="wac"/>
</Arg>
<Arg>jdbc/users</Arg>
<Arg>
<New class="org.apache.derby.jdbc.EmbeddedDataSource">
<Set name="DatabaseName">../users_database</Set>
<Set name="user">sa</Set>
<Set name="createDatabase">create</Set>
</New>
</Arg>
</New>
</Configure>