Andrew Evers wrote:

But I think we should revisit authentication now that we have abstracted the transport from the XML-RPC client. As I go through implementing (cleanly) my new XmlRpcTransport, I took a look at the authentication piece of DefaultXmlRpcTransport and LiteXmlRpcTransport.

It isn't there!

Well, I'm not sure whether there should be a setBasicAuthentication() method on XmlRpcTransport, maybe a setAuthenticationInfo(Properties authInfo), and some standard properties (like USERNAME, PASSWORD).

I don't think I like the idea of a public method signature for authentication on XmlRpcTransport at all. I am going to try to find a way to deprecate setBasicAuthentication and allow it to continue functioning as users have come to expect. As current users have no access to XmlRpcTransports, I am assuming that anyone calling setBasicAuthentication will be using execute(String method, Vector params) only. I will ignore any credentials given in setBasicAuthentication() with the other method signatures. This will all be in the javadocs.

--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net





Reply via email to