Author: lresende
Date: Thu Feb 26 04:36:48 2009
New Revision: 748009

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

Modified:
    
tuscany/branches/sca-java-1.x/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/webapp/NodeWebAppServletHost.java

Modified: 
tuscany/branches/sca-java-1.x/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/webapp/NodeWebAppServletHost.java
URL: 
http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/webapp/NodeWebAppServletHost.java?rev=748009&r1=748008&r2=748009&view=diff
==============================================================================
--- 
tuscany/branches/sca-java-1.x/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/webapp/NodeWebAppServletHost.java
 (original)
+++ 
tuscany/branches/sca-java-1.x/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/webapp/NodeWebAppServletHost.java
 Thu Feb 26 04:36:48 2009
@@ -43,6 +43,7 @@
 import javax.servlet.http.HttpServletRequest;
 
 import org.apache.tuscany.sca.core.ExtensionPointRegistry;
+import org.apache.tuscany.sca.host.http.SecurityContext;
 import org.apache.tuscany.sca.host.http.ServletHost;
 import org.apache.tuscany.sca.host.http.ServletHostExtensionPoint;
 import org.apache.tuscany.sca.host.http.ServletMappingException;
@@ -133,6 +134,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 /


Reply via email to