You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by William Barker <wb...@wilshire.com> on 2001/02/23 21:25:08 UTC

Bug in Request.isUserInRole - Tomcat 3.3

   Request.isUserInRole doesn't allow an interceptor to DECLINE (and is
inconsistent with Context).  The following change to
org/apache/tomcat/core/Request.java brings it in line:
488c488
<           if ( status != 0 ) {
---
>           if ( status != BaseInterceptor.DECLINED ) {
492c492
<       return status==0;
---
>       return status==BaseInterceptor.OK;