Hi,

> 
> That is what I was thinking as well. It would be nice to have support
> for multiple Authenticators in the JDK but I think that is unlikely for
> Java 9. It could be something that we pursue in Java 10.
> 

Not exactly sure whether that completely mitigates the problem (as far
as I can tell the chaining is to allow CXF to inject an authenticator
and keep one set up by the user, but I might have missed something), but
in case you are not aware - Java 9 is finally going to have per
HttpURLConnection Authenticators - I guess injecting a CXFAuthenticator
per instance and delegating to the default one could be a solution:

https://bugs.openjdk.java.net/browse/JDK-8169495


regards

Moritz

-- 
AgNO3 GmbH & Co. KG, Sitz Tübingen, Amtsgericht Stuttgart HRA 728731
Persönlich haftend:
Metagesellschaft mbH, Sitz Tübingen, Amtsgericht Stuttgart HRB 744820,
Vertreten durch Joachim Keltsch

Reply via email to