I've set up Spring Security in a CXF project and would like to use WS-Security for authentication. In other words, a Java client will authenticate using a WS-Security UsernameToken; the username and password should then be passed to Spring Security to perform actual authentication.

I've been able to set up WS-Security in CXF for a service, I just don't understand how to make WS-Security act as an authentication manager/provider for Spring Security.

Would anyone be able to provide some guidance?

Thank you,
- Dave