User Impersonation Sample with Spring Security on Spring Boot Demonstrates how to configure user impersonation with Spring Security. Sources of inspiration: http://www.disasterarea.co.uk/blog/user-impersonation-with-spring-security/ http://stackoverflow.com/questions/31377125/how-to-impersonate-user-using-switchuserfilter-in-spring