On Mon, Mar 1, 2010 at 15:15, Nithya Vembu <[email protected]> wrote:
Hi All,
I just want to know is it possible to login in xwiki application through httpclient. Now through xmlrpc and rest api we can. But for some purpose i need to login through httpclient. If possible, any one can tell the url along with the parameters needed to login.
See http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/distribution-test/websta... And the method #testDocumentValidity the important part is method.setDoAuthentication(true); method.setFollowRedirects(true); method.addRequestHeader("Authorization", "Basic " + new String(Base64.encodeBase64("Admin:admin".getBytes())));
Thanks in advance.
Regards, Nithya. -- View this message in context: http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4654361.ht... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne