Mark I have the changes in a git branch I forked off of the trunk. Is there some way I can push that branch up to you?
Joe -----Original Message----- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, April 18, 2018 10:11 AM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Proxy authentication support for the Tomcat Websocket Client On 18/04/18 14:59, Joseph Mokos wrote: > Mark > > Thank you for confirming. > > Proxy authentication is a requirement for the project I am working on so I > went and added it. You are welcome to the code if you want it. I pass the > credentials as user properties in the WebSocketContainer's > ClientEndpointConfig object. This is how it was done with HTTP > authentication. As a matter of fact, the code is very similar to the HTTP > authentication. > > Let me know if you want the code. Sure. Patches are always welcome. The list often strips and/or mangles formatting for attachments so best to create a Bugzilla issue and attach your patch there. Thanks, Mark > > Joe > > -----Original Message----- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, April 18, 2018 7:11 AM > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Re: Proxy authentication support for the Tomcat Websocket > Client > > On 13/04/18 17:44, Joseph Mokos wrote: >> I'm writing a websocket client using the Tomcat JSR356 compliant websocket >> library. My client must connect through a proxy that requires >> authentication. I've successfully connected through the proxy without >> authentication using the JDK ProxySelector. But I can't figure out how to >> configure proxy authentication. I have checked the connectToServer code in >> WsWebSocketContainer.java and it appears that proxy authentication is not >> supported. Can someone confirm whether proxy authentication is or is not >> supported by the library? > > Looking at the code, I can confirm that proxy authentication is not supported. > > Adding proxy authentication support looks fairly simple. > The biggest question looks to be be what API to use to specify the > credentials. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org