You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by na...@apache.org on 2001/01/09 22:26:08 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa AccessInterceptor.java

nacho       01/01/09 13:26:08

  Modified:    src/share/org/apache/tomcat/modules/aaa
                        AccessInterceptor.java
  Log:
  A typo ( a cruel one :)
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/AccessInterceptor.java
  
  Index: AccessInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/AccessInterceptor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AccessInterceptor.java	2001/01/01 02:07:23	1.2
  +++ AccessInterceptor.java	2001/01/09 21:26:07	1.3
  @@ -307,7 +307,7 @@
               return DECLINED; // no user roles - can't handle
   
   	for( int i=0; i< userRoles.length; i ++ ) {
  -	    for( int j=0; j< roles.length; i ++ )
  +	    for( int j=0; j< roles.length; j ++ )
   		if( userRoles[i]!=null && userRoles[i].equals( roles[j] ))
   		    return OK; // found the right role
   	}