Support authorization with spring security.