https://www.javacodegeeks.com/2014/09/embedded-jetty-and-apache-cxf-secure-rest-services-with-spring-security.html
Embedded Jetty and Apache CXF: secure REST services with Spring Security