geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r497925 - /geronimo/server/branches/1.2/modules/geronimo-security/src/main/java/org/apache/geronimo/security/util/URLPattern.java
Date Fri, 19 Jan 2007 19:56:35 GMT
Author: djencks
Date: Fri Jan 19 11:56:34 2007
New Revision: 497925

URL: http://svn.apache.org/viewvc?view=rev&rev=497925
Log:
GERONIMO-1585 Allow /* as security constraint url pattern

Modified:
    geronimo/server/branches/1.2/modules/geronimo-security/src/main/java/org/apache/geronimo/security/util/URLPattern.java

Modified: geronimo/server/branches/1.2/modules/geronimo-security/src/main/java/org/apache/geronimo/security/util/URLPattern.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/1.2/modules/geronimo-security/src/main/java/org/apache/geronimo/security/util/URLPattern.java?view=diff&rev=497925&r1=497924&r2=497925
==============================================================================
--- geronimo/server/branches/1.2/modules/geronimo-security/src/main/java/org/apache/geronimo/security/util/URLPattern.java
(original)
+++ geronimo/server/branches/1.2/modules/geronimo-security/src/main/java/org/apache/geronimo/security/util/URLPattern.java
Fri Jan 19 11:56:34 2007
@@ -53,6 +53,7 @@
 
         if (pat.equals("/") || pat.equals("/*")) {
             type = DEFAULT;
+            pat = "/";
         } else if (pat.charAt(0) == '/' && pat.endsWith("/*")) {
             type = PATH_PREFIX;
         } else if (pat.charAt(0) == '*') {



Mime
View raw message