Update AppSecurity.java