Security in Java Applications .cursorrules strategies