CAS authentication and character encoding filters