Re: [xwiki-users] XWiki REST authentication
9 Nov
2009
9 Nov
'09
12:35 p.m.
Hi Fabio & Guillame, It was fairly simple after all. J My bad that I confused XWiki authorization with tomcat basic authorization which we would configure in the tomcat-users.xml. Also, if I am not wrong, I could set the host, port to null & authscope to "ANY_REALM" in the following snippet (apache httpclient authentication methods): Credentials defaultcreds = new UsernamePasswordCredentials("username", "password"); client.getState().setCredentials(new AuthScope("myhost", 80, AuthScope.ANY_REALM), defaultcreds); As always, thank you for your detailed & timely response Fabio & Guillame. Regards, Dilipkumar Jadhav
6137
Age (days ago)
6137
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dilipkumar Jadhav