You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by cr...@apache.org on 2007/06/25 23:51:33 UTC

svn commit: r550619 - in /beehive/trunk/netui: src/core/org/apache/beehive/netui/core/urltemplates/schema/ src/pageflow/org/apache/beehive/netui/pageflow/internal/ test/webapps/urlTemplates/src/ignoreverify/ test/webapps/urlTemplates/testRecorder/confi...

Author: crogers
Date: Mon Jun 25 14:51:31 2007
New Revision: 550619

URL: http://svn.apache.org/viewvc?view=rev&rev=550619
Log:
Update the url-template-config.xsd with an optional element that indicates the application does not need to verify the required tokens (BEEHIVE-1200).

Added a new "ignore-verify" test in the urlTemplates web app.

Tests: NetUI BVT and urlTemplates (WinXP passed)



Added:
    beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/
    beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java   (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java   (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java   (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml   (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/
    beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/image.gif   (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp   (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/secureImage.gif   (with props)
Modified:
    beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java
    beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml
    beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml
    beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml
    beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml

Modified: beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd?view=diff&rev=550619&r1=550618&r2=550619
==============================================================================
--- beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd (original)
+++ beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd Mon Jun 25 14:51:31 2007
@@ -43,6 +43,7 @@
             <xs:sequence>
                 <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
                 <xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="1"/>
+                <xs:element name="ignore-verify" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false"/>
             </xs:sequence>
         </xs:complexType>
     </xs:element>

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java?view=diff&rev=550619&r1=550618&r2=550619
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java (original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java Mon Jun 25 14:51:31 2007
@@ -57,6 +57,7 @@
     private static final String URL_TEMPLATE_REF = "url-template-ref";
     private static final String URL_TEMPLATE_REF_GROUP = "url-template-ref-group";
     private static final String VALUE = "value";
+    private static final String IGNORE_VERIFY = "ignore-verify";
 
     private static final String CONFIG_SCHEMA = "org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd";
 
@@ -270,10 +271,19 @@
             }
 
             URLTemplate urlTemplate = new URLTemplate( value, name );
-            if ( urlTemplate.verify( _knownTokens, _requiredTokens ) )
-            {
-                _urlTemplates.addTemplate( name, urlTemplate );
+
+            boolean ignoreVerify = false;
+            String tmp = getElementText(template, IGNORE_VERIFY);
+            if (tmp != null) {
+                ignoreVerify = Boolean.parseBoolean(tmp);
+            }
+
+            if (!ignoreVerify) {
+                if (!urlTemplate.verify(_knownTokens, _requiredTokens)) {
+                    continue;
+                }
             }
+            _urlTemplates.addTemplate(name, urlTemplate);
         }
     }
 

Added: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java?view=auto&rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java (added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java Mon Jun 25 14:51:31 2007
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package ignoreverify;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+
+@Jpf.Controller(forwards = { @Jpf.Forward(name = "index", path = "index.jsp") })
+public class Controller extends PageFlowController
+{
+    @Jpf.Action()
+    public Forward begin()
+    {
+        return new Forward( "index" );
+    } 
+
+    @Jpf.Action()
+    public Forward secure()
+    {
+        return new Forward( "index" );
+    }
+
+    @Jpf.Action()
+    public Forward unsecure()
+    {
+        return new Forward( "index" );
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java?view=auto&rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java (added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java Mon Jun 25 14:51:31 2007
@@ -0,0 +1,56 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package ignoreverify;
+
+import org.apache.beehive.netui.core.urls.TemplatedURLFormatter;
+import org.apache.beehive.netui.core.urls.URLRewriterService;
+
+import java.io.IOException;
+import javax.servlet.Filter;
+import javax.servlet.FilterChain;
+import javax.servlet.FilterConfig;
+import javax.servlet.ServletException;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+
+// Servlet Filter used with the ignore verify test
+public class TemplateAvailableFilter implements Filter {
+
+    public void doFilter(ServletRequest request,
+                         ServletResponse response,
+                         FilterChain chain)
+                         throws IOException, ServletException {
+
+        // create and register a custom TemplatedURLFormatter
+        TemplatedURLFormatter formatter = new TemplateAvailableFormatter();
+        URLRewriterService.registerTemplatedURLFormatter( request, formatter );
+
+        // pass the request/response on
+        chain.doFilter(request, response);
+
+        // unregister the custom TemplatedURLFormatter
+        URLRewriterService.unregisterTemplatedURLFormatter( request );
+    }
+
+    public void init(FilterConfig filterConfig) {
+    }
+
+    public void destroy() {
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java?view=auto&rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java (added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java Mon Jun 25 14:51:31 2007
@@ -0,0 +1,95 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package ignoreverify;
+
+import org.apache.beehive.netui.core.urls.MutableURI;
+import org.apache.beehive.netui.core.urls.TemplatedURLFormatter;
+import org.apache.beehive.netui.core.urls.URIContext;
+import org.apache.beehive.netui.core.urltemplates.URLTemplate;
+import org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory;
+
+import javax.servlet.ServletContext;
+import javax.servlet.ServletRequest;
+
+
+/**
+ * Implementation of TemplatedURLFormatter to test that a template
+ * without required but marked as "ignore-verify" is still available. 
+ */
+public class TemplateAvailableFormatter extends TemplatedURLFormatter
+{
+    /**
+     * Format the given URL using a URL template that does not have
+     * the required tokens but was defined with "ignore-verify" in
+     * the URL template config file.
+     *
+     * @param servletContext the current ServletContext.
+     * @param request the current ServletRequest.
+     * @param uri the MutableURI to be formatted into a String.
+     * @param key key for the URL template type to use for formatting the URI
+     * @param uriContext data required to write out the string form.
+     * @return the URL as a <code>String</code>
+     */
+    public String getTemplatedURL(ServletContext servletContext,
+                                  ServletRequest request, MutableURI uri,
+                                  String key, URIContext uriContext) {
+        String result = null;
+        URLTemplatesFactory factory = URLTemplatesFactory.getURLTemplatesFactory(servletContext);
+        String templateName = "path-only-ignore-verify";
+        URLTemplate template = factory.getURLTemplate(templateName);
+
+        if (template != null) {
+            result = format(request, uri, uriContext, template, key);
+        } else {
+            // expected test template not found, return an error message...
+            result = "*** Did not find expected test template, \"path-only-ignore-verify\"";
+        }
+
+        return result;
+    }
+
+    private String format(ServletRequest request, MutableURI uri,
+                          URIContext uriContext, URLTemplate template,
+                          String key) {
+        String scheme = uri.getScheme();
+        String host = uri.getHost();
+        int port = uri.getPort();
+        String path = uri.getPath();
+
+        if (scheme == null || scheme.length() == 0) { scheme = request.getScheme(); }
+
+        if (host == null || host.length() == 0) { host = request.getServerName(); }
+
+        if (port < 0) { port = request.getServerPort(); }
+
+        String query = null;
+        query = uri.getQuery(uriContext);
+        if (query == null) {
+            query = "";
+        }
+
+        template.substitute(TemplatedURLFormatter.SCHEME_TOKEN, scheme);
+        template.substitute(TemplatedURLFormatter.DOMAIN_TOKEN, host);
+        template.substitute(TemplatedURLFormatter.PORT_TOKEN, port);
+        template.substitute(TemplatedURLFormatter.PATH_TOKEN, path);
+        template.substitute(TemplatedURLFormatter.QUERY_STRING_TOKEN, query);
+
+        return template.format();
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml?view=diff&rev=550619&r1=550618&r2=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml (original)
+++ beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml Mon Jun 25 14:51:31 2007
@@ -28,6 +28,14 @@
             </categories>
         </test>
         <test>
+            <name>IgnoreVerify</name>
+            <description>Format URLs using a template that does not have the required tokens but was defined with "ignore-verify" in the URL template config file.</description>
+            <webapp>urlTemplates</webapp>
+            <categories>
+                <category>bvt</category>
+            </categories>
+        </test>
+        <test>
             <name>UrlTemplates</name>
             <description>Test URL templates using /WEB-INF/url-template-config.xml</description>
             <webapp>urlTemplates</webapp>

Modified: beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml?view=diff&rev=550619&r1=550618&r2=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml (original)
+++ beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml Mon Jun 25 14:51:31 2007
@@ -76,6 +76,7 @@
 jpf-resource = http://{url:domain}:{url:port}/{url:path}?URLTEMPLATE=resource&{url:queryString}
 jpf-secure-action = https://{url:domain}:8443/{url:path}?URLTEMPLATE=secure-action&{url:queryString}
 jpf-secure-resource = https://{url:domain}:8443/{url:path}?URLTEMPLATE=secure-resource&{url:queryString}
+path-only-ignore-verify = {url:path}?URLTEMPLATE=path-only-ignore-verify
 </pre>
   </body>
 

Added: beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml?view=auto&rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml (added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml Mon Jun 25 14:51:31 2007
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+<sessionName>IgnoreVerify</sessionName>
+<tester>crogers</tester>
+<startDate>25 Jun 2007, 03:03:04.020 PM MDT</startDate>
+<description>Format URLs using a URL template that does not have the required tokens but was defined with "ignore-verify" in the URL template config file.</description>
+<tests>
+<test>
+<testNumber>1</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/urlTemplates/ignoreverify/index.jsp</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>4C8CA2AEF178248E17A1365E5EC95D43</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>*/*</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip, deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us</value>
+</header>
+<header>
+<name>connection</name>
+<value>Keep-Alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=4C8CA2AEF178248E17A1365E5EC95D43</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+>
+<html lang="en">
+
+  <head>
+    <title>URL Template - ignore-verify Test</title>
+  </head>
+  <body>
+    <h3>URL Template - ignore-verify Test</h3>
+    <a href="/urlTemplates/ignoreverify/begin.do?URLTEMPLATE=path-only-ignore-verify"><i>begin action</i></a><br>
+    <a href="/urlTemplates/ignoreverify/secure.do?URLTEMPLATE=path-only-ignore-verify"><i>secure action</i></a><br>
+    <a href="/urlTemplates/ignoreverify/unsecure.do?URLTEMPLATE=path-only-ignore-verify"><i>unsecure action</i></a><br>
+    <a href="/urlTemplates/ignoreverify/index.jsp?URLTEMPLATE=path-only-ignore-verify">index.jsp</a><br>
+    <a href="/urlTemplates/ignoreverify/secure.jsp?URLTEMPLATE=path-only-ignore-verify">secure.jsp</a><br>
+    <a href="/urlTemplates/ignoreverify/index.jsp?URLTEMPLATE=path-only-ignore-verify">/urlTemplates/ignoreverify/index.jsp?foo=bar</a><br>
+    <a href="/urlTemplates/ignoreverify/secure.jsp?URLTEMPLATE=path-only-ignore-verify">/urlTemplates/ignoreverify/secure.jsp?foo=bar</a><br>
+    image.gif: <img src="/urlTemplates/ignoreverify/image.gif?URLTEMPLATE=path-only-ignore-verify"><br>
+    /urlTemplates/ignoreverify/image.gif: <img src="/urlTemplates/ignoreverify/image.gif?URLTEMPLATE=path-only-ignore-verify"><br>
+    secureImage.gif: <img src="/urlTemplates/ignoreverify/secureImage.gif?URLTEMPLATE=path-only-ignore-verify"><br>
+    /urlTemplates/ignoreverify/secureImage.gif: <img src="/urlTemplates/ignoreverify/secureImage.gif?URLTEMPLATE=path-only-ignore-verify"><br>
+  </body>
+
+</html>]]>
+</responseBody>
+</response>
+</test>
+</tests>
+<endDate>25 Jun 2007, 03:03:47.304 PM MDT</endDate>
+<testCount>1</testCount>
+</recorderSession>

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml?view=diff&rev=550619&r1=550618&r2=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml (original)
+++ beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml Mon Jun 25 14:51:31 2007
@@ -31,6 +31,13 @@
             https://{url:domain}:8443/{url:path}?URLTEMPLATE=secure-resource&amp;{url:queryString}
         </value>
     </url-template>
+    <url-template>
+        <name>path-only-ignore-verify</name>
+        <value>
+            {url:path}?URLTEMPLATE=path-only-ignore-verify
+        </value>
+        <ignore-verify>true</ignore-verify>
+    </url-template>
     <url-template-ref-group>
         <name>default-url-templates</name>
         <url-template-ref>

Modified: beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml?view=diff&rev=550619&r1=550618&r2=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml (original)
+++ beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml Mon Jun 25 14:51:31 2007
@@ -22,6 +22,12 @@
         <filter-class>formatter.FormatterFilter</filter-class>
     </filter>
 
+    <!-- Filter for the "ignore-verify" URL Template test -->
+    <filter>
+        <filter-name>TemplateAvailableFilter</filter-name>
+        <filter-class>ignoreverify.TemplateAvailableFilter</filter-class>
+    </filter>
+
     <filter>
         <filter-name>PageFlowJspFilter</filter-name>
         <filter-class>org.apache.beehive.netui.pageflow.PageFlowJspFilter</filter-class>
@@ -40,6 +46,11 @@
     <filter-mapping>
         <filter-name>FormatterFilter</filter-name>
         <url-pattern>/formatter/index.jsp</url-pattern>
+    </filter-mapping>
+
+    <filter-mapping>
+        <filter-name>TemplateAvailableFilter</filter-name>
+        <url-pattern>/ignoreverify/index.jsp</url-pattern>
     </filter-mapping>
 
     <filter-mapping>

Added: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/image.gif
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/image.gif?view=auto&rev=550619
==============================================================================
Binary file - no diff available.

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/image.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp?view=auto&rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp (added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp Mon Jun 25 14:51:31 2007
@@ -0,0 +1,21 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<netui:html>
+  <head>
+    <title>URL Template - ignore-verify Test</title>
+  </head>
+  <body>
+    <h3>URL Template - ignore-verify Test</h3>
+    <netui:anchor action="begin"><i>begin action</i></netui:anchor><br>
+    <netui:anchor action="secure"><i>secure action</i></netui:anchor><br>
+    <netui:anchor action="unsecure"><i>unsecure action</i></netui:anchor><br>
+    <netui:anchor href="index.jsp">index.jsp</netui:anchor><br>
+    <netui:anchor href="secure.jsp">secure.jsp</netui:anchor><br>
+    <netui:anchor href="/urlTemplates/ignoreverify/index.jsp?foo=bar">/urlTemplates/ignoreverify/index.jsp?foo=bar</netui:anchor><br>
+    <netui:anchor href="/urlTemplates/ignoreverify/secure.jsp?foo=bar">/urlTemplates/ignoreverify/secure.jsp?foo=bar</netui:anchor><br>
+    image.gif: <netui:image src="image.gif"/><br>
+    /urlTemplates/ignoreverify/image.gif: <netui:image src="/urlTemplates/ignoreverify/image.gif"/><br>
+    secureImage.gif: <netui:image src="secureImage.gif"/><br>
+    /urlTemplates/ignoreverify/secureImage.gif: <netui:image src="/urlTemplates/ignoreverify/secureImage.gif"/><br>
+  </body>
+</netui:html>

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/secureImage.gif
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/secureImage.gif?view=auto&rev=550619
==============================================================================
Binary file - no diff available.

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/secureImage.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream