Hi Enrique,

You don't need to that to achive wha
>>>
>>> By the way, I noticed a bug:
>>>
>>> I use an URLConnection object to retrieve the previews. I need to
>>> authenticate this URLConnection, but I don't know how to get the
>>> credentials that is logged. I try with this piece of code:
>>>
>>>            NuxeoPrincipal
>>> nuxeoPrincipal=(NuxeoPrincipal)documentManager.getPrincipal();
>>>
>>>            String user;
>>>            String pass;
>>>            user=nuxeoPrincipal.getName();
>>>            pass=nuxeoPrincipal.getPassword();
>>>
>>> The username is retrieved fine, but the password returns null. So, at
>>> the moment I use the following piece of code:
>>>
>>>            user="Administrator";
>>>            pass="Administrator";
>>>


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to