Integrated with spring security 3.2