geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r430268 - in /geronimo/specs: branches/1_1/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java trunk/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java
Date Thu, 10 Aug 2006 05:57:26 GMT
Author: adc
Date: Wed Aug  9 22:57:26 2006
New Revision: 430268

URL: http://svn.apache.org/viewvc?rev=430268&view=rev
Log:
GERONIMO-2295 Need to include path info

Modified:
    geronimo/specs/branches/1_1/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java
    geronimo/specs/trunk/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java

Modified: geronimo/specs/branches/1_1/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/1_1/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java?rev=430268&r1=430267&r2=430268&view=diff
==============================================================================
--- geronimo/specs/branches/1_1/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java
(original)
+++ geronimo/specs/branches/1_1/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java
Wed Aug  9 22:57:26 2006
@@ -44,7 +44,7 @@
     public WebResourcePermission(HttpServletRequest request) {
         super(request.getServletPath());
 
-        urlPatternSpec = new URLPatternSpec(request.getServletPath());
+        urlPatternSpec = new URLPatternSpec(request.getServletPath() + (request.getPathInfo()
== null ? "" : request.getPathInfo()));
         httpMethodSpec = new HTTPMethodSpec(request.getMethod(), HTTPMethodSpec.NA);
     }
 

Modified: geronimo/specs/trunk/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java?rev=430268&r1=430267&r2=430268&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java
(original)
+++ geronimo/specs/trunk/geronimo-spec-j2ee-jacc/src/main/java/javax/security/jacc/WebResourcePermission.java
Wed Aug  9 22:57:26 2006
@@ -44,7 +44,7 @@
     public WebResourcePermission(HttpServletRequest request) {
         super(request.getServletPath());
 
-        urlPatternSpec = new URLPatternSpec(request.getServletPath());
+        urlPatternSpec = new URLPatternSpec(request.getServletPath() + (request.getPathInfo()
== null ? "" : request.getPathInfo()));
         httpMethodSpec = new HTTPMethodSpec(request.getMethod(), HTTPMethodSpec.NA);
     }
 



Mime
View raw message