JAX-RS annotation based security