opt/tomcat/tomcat-6/src/main/java/flex/messaging/security/TomcatValve.java [209:218]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        public boolean authorize(Principal principal, List roles) {
            Realm realm = container.getRealm();
            Iterator iter = roles.iterator();
            while (iter.hasNext()) {
                String role = (String) iter.next();
                if (realm.hasRole(principal, role))
                    return true;
            }
            return false;
        }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



opt/tomcat/tomcat-4/src/main/java/flex/messaging/security/TomcatValve4150.java [203:213]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        public boolean authorize(Principal principal, List roles) {

            Realm realm = container.getRealm();
            Iterator iter = roles.iterator();
            while (iter.hasNext()) {
                String role = (String) iter.next();
                if (realm.hasRole(principal, role))
                    return true;
            }
            return false;
        }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



