javaee / metro

Metro has been contributed to Eclipse Foundation. Please use the link below to find the latest project
https://github.com/eclipse-ee4j/metro-jax-ws
Other
10 stars 1 forks source link

Authenticator in RequestContext #52

Open lundefugl opened 5 years ago

lundefugl commented 5 years ago

We have connections with kerberos authentication. At the moment it only works if you set an Authenticator globally. This is not nice, because there are other connections in the system.

We would like to pass the Authenticator via BindingProvider.getRequestContext().put(...) so that it can be set in com.sun.xml.ws.transport.http.client.HttpClientTransport#createHttpConnection with the call httpConnection.setAuthenticator(authenticator);.