Re: Java 9 java.net.Authenticator api change

2017-05-18 Thread Moritz Bechler
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 te

Re: Java 9 java.net.Authenticator api change

2017-05-18 Thread Adam T Anderson
:58 AM Subject:Re: Java 9 java.net.Authenticator api change Hi Request for Option2 (or something similar like clone()) is more likely to be accepted IMHO Cheers, Sergey On 17/05/17 23:09, Adam T Anderson wrote: > > > Hello, > >

Re: Java 9 java.net.Authenticator api change

2017-05-18 Thread Sergey Beryozkin
Hi Request for Option2 (or something similar like clone()) is more likely to be accepted IMHO Cheers, Sergey On 17/05/17 23:09, Adam T Anderson wrote: Hello, In CXF we use org.apache.cxf.transport.http.ReferencingAuthenticator to create a chain of org.apache.cxf.transport.http.CXFAuthentic

Java 9 java.net.Authenticator api change

2017-05-17 Thread Adam T Anderson
Hello, In CXF we use org.apache.cxf.transport.http.ReferencingAuthenticator to create a chain of org.apache.cxf.transport.http.CXFAuthenticators. Every time we add a new CXFAuthenticator we set the new link as the default authenticator and link to the old head. This is so we can delegate the sta