Update ResourceProtectionFilter.java