geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r169130 - in /geronimo/trunk: modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java specs/j2ee-jacc/src/java/javax/security/jacc/WebUserDataPermission.java
Date Sun, 08 May 2005 06:41:00 GMT
Author: djencks
Date: Sat May  7 23:40:59 2005
New Revision: 169130

URL: http://svn.apache.org/viewcvs?rev=169130&view=rev
Log:
GERONIMO-643.  Be more careful about the transport guarantee for UDP

Modified:
    geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java
    geronimo/trunk/specs/j2ee-jacc/src/java/javax/security/jacc/WebUserDataPermission.java

Modified: geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java?rev=169130&r1=169129&r2=169130&view=diff
==============================================================================
--- geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java
(original)
+++ geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/interceptor/SecurityContextBeforeAfter.java
Sat May  7 23:40:59 2005
@@ -209,7 +209,7 @@
             } else if (request.isIntegral()) {
                 transportType = "INTEGRAL";
             } else {
-                transportType = null;
+                transportType = "NONE";
             }
             WebUserDataPermission wudp = new WebUserDataPermission(servletHttpRequest.getServletPath(),
new String[]{servletHttpRequest.getMethod()}, transportType);
             acc.checkPermission(wudp);

Modified: geronimo/trunk/specs/j2ee-jacc/src/java/javax/security/jacc/WebUserDataPermission.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/specs/j2ee-jacc/src/java/javax/security/jacc/WebUserDataPermission.java?rev=169130&r1=169129&r2=169130&view=diff
==============================================================================
--- geronimo/trunk/specs/j2ee-jacc/src/java/javax/security/jacc/WebUserDataPermission.java
(original)
+++ geronimo/trunk/specs/j2ee-jacc/src/java/javax/security/jacc/WebUserDataPermission.java
Sat May  7 23:40:59 2005
@@ -81,7 +81,7 @@
         super(urlPattern);
 
         urlPatternSpec = new URLPatternSpec(urlPattern);
-        httpMethodSpec = new HTTPMethodSpec(HTTPMethods, transportType);
+        httpMethodSpec = new HTTPMethodSpec(HTTPMethods, transportType == null? "NONE": transportType);
     }
 
     public boolean equals(Object o) {



Mime
View raw message