Handled JAX-RS security