tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r748011 - /tuscany/branches/sca-java-1.x/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java
Date Thu, 26 Feb 2009 04:38:28 GMT
Author: lresende
Date: Thu Feb 26 04:38:28 2009
New Revision: 748011

URL: http://svn.apache.org/viewvc?rev=748011&view=rev
Log:
Updating WebAppServletHost to provide new version of addServletMapping

Modified:
    tuscany/branches/sca-java-1.x/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java

Modified: tuscany/branches/sca-java-1.x/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java?rev=748011&r1=748010&r2=748011&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java
(original)
+++ tuscany/branches/sca-java-1.x/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java
Thu Feb 26 04:38:28 2009
@@ -40,6 +40,7 @@
 import javax.servlet.ServletException;
 
 import org.apache.tuscany.sca.host.embedded.SCADomain;
+import org.apache.tuscany.sca.host.http.SecurityContext;
 import org.apache.tuscany.sca.host.http.ServletHost;
 import org.apache.tuscany.sca.host.http.ServletMappingException;
 
@@ -79,6 +80,10 @@
     }
 
     public void addServletMapping(String suri, Servlet servlet) throws ServletMappingException
{
+        addServletMapping(suri, servlet, null);
+    }
+    
+    public void addServletMapping(String suri, Servlet servlet, SecurityContext securityContext)
throws ServletMappingException {
         URI pathURI = URI.create(suri);
 
         // Make sure that the path starts with a /



Mime
View raw message