CXF Interceptors are a very powerful and flexible mechanism to add custom logic to the default CXF processing,
both when using CXF on the client side and on the server side.
This is the actual implementation for our interceptor - we define the necessary properties for doing the authentication
and then iterate over the rest of the interceptor chain to find the WSS4J interceptor and configure it properly.