larryi      01/07/13 21:26:43

  Modified:    src/share/org/apache/tomcat/core Request.java
  Log:
  Update isUserInRole() to expect DECLINED as the indication that
  interceptors should continue to be called.
  
  Revision  Changes    Path
  1.104     +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- Request.java      2001/06/24 22:40:35     1.103
  +++ Request.java      2001/07/14 04:26:42     1.104
  @@ -584,7 +584,7 @@
        // Call all authorization callbacks. 
        for( int i=0; i< reqI.length; i++ ) {
            status = reqI[i].authorize( this, response, checkRoles );
  -         if ( status != 0 ) {
  +         if ( status != BaseInterceptor.DECLINED ) {
                break;
            }
        }
  
  
  

Reply via email to