It depends of the Nuxeo version you are using.
On recent 5.2 versions there are 2 small bugs :
- one in an XML configuration file about BasicAuthentication
- one in NXWSS authenticator
What you can do is either :
- use a 5.2-SNAPSHOT : that does not have the problem anymore
or
- correct these 2 bugs :
- 1 => http://hg.nuxeo.org/nuxeo/nuxeo-platform/rev/74887f718310
- 2 => simply remove nxwss jars from nuxeo.ear/system
Tiry
[email protected] a écrit :
Hello,
I've got the exact same problem. I'm using the nuxeo-http-client and at first I tought that nothing happend. But after some debugging I see that it throws a 302 HTTP code and then drops the entire operation.
I've tried using plain java.net API but that gave me even more problems. What
are my options? I have a deadline and this is holding us back ..
This is my code:
NuxeoServer nxServer = new NuxeoServer(http://172.3.4.12/nuxeo");
nxServer.setAuthType(NuxeoServer.AUTH_TYPE_BASIC);
nxServer.setBasicAuthentication("ldapuseraccount",
"ldappassword");
Representation res =
nxServer.doRestletGetCall("default/*/browse", null);
BufferedReader in = new BufferedReader(new
InputStreamReader(res.getStream()));
String str;
while ((str = in.readLine()) != null) {
System.out.println("--> "+str);
}
Any help would be greatly appreciated,
Jan van den Berg
--
Posted by "vandenberg" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2354#6352>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm