continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r482220 - /maven/continuum/trunk/continuum-webapp/src/jetty-env.xml
Date Mon, 04 Dec 2006 15:24:15 GMT
Author: evenisse
Date: Mon Dec  4 07:24:15 2006
New Revision: 482220

URL: http://svn.apache.org/viewvc?view=rev&rev=482220
Log:
Add mail/Session resource

Modified:
    maven/continuum/trunk/continuum-webapp/src/jetty-env.xml

Modified: maven/continuum/trunk/continuum-webapp/src/jetty-env.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/jetty-env.xml?view=diff&rev=482220&r1=482219&r2=482220
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/jetty-env.xml (original)
+++ maven/continuum/trunk/continuum-webapp/src/jetty-env.xml Mon Dec  4 07:24:15 2006
@@ -3,6 +3,24 @@
 
 <Configure class="org.mortbay.jetty.webapp.WebAppContext">
 
+<New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">
+  <Arg>mail/Session</Arg>
+  <Arg>
+    <New class="org.mortbay.naming.factories.MailSessionReference">
+      <Set name="user">username</Set>
+      <Set name="password">password</Set>
+      <Set name="properties">
+        <New class="java.util.Properties">
+          <Put name="mail.smtp.host">smtp.host.org</Put>
+          <Put name="mail.from">continuum@host.org</Put>
+          <Put name="mail.senderName">Continuum</Put>
+          <Put name="mail.debug">true</Put>
+        </New>
+      </Set>
+    </New>
+  </Arg>
+</New>
+
 <New id="continuum" class="org.mortbay.jetty.plus.naming.Resource">
   <Arg>jdbc/continuum</Arg>
   <Arg>



Mime
View raw message