This sample demonstrates an approach on how to mock user authentication and user authorization in the Spring Security context. Additionally,