geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/jacc PolicyContextHandlerHttpServletRequest.java
Date Tue, 27 Jul 2004 03:35:10 GMT
adc         2004/07/26 20:35:10

  Modified:    modules/security/src/java/org/apache/geronimo/security/jacc
                        PolicyContextHandlerHttpServletRequest.java
  Log:
  Added HttpServletRequest Policy Context Handler handling.
  
  Revision  Changes    Path
  1.4       +6 -2      incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/jacc/PolicyContextHandlerHttpServletRequest.java
  
  Index: PolicyContextHandlerHttpServletRequest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/jacc/PolicyContextHandlerHttpServletRequest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PolicyContextHandlerHttpServletRequest.java	10 Mar 2004 09:59:25 -0000	1.3
  +++ PolicyContextHandlerHttpServletRequest.java	27 Jul 2004 03:35:10 -0000	1.4
  @@ -37,7 +37,11 @@
       }
   
       public Object getContext(String key, Object data) throws PolicyContextException {
  -        // todo: Wire in the return of the HttpServletRequest object
  +        if (HANDLER_KEY.equals(key) && data != null) {
  +
  +            return data;
  +        }
  +
           return null;
       }
   }
  
  
  

Mime
View raw message