09-06-2013 01:03 PM
Hi! In a project I need to use the PhpAutomationClient to retrieve some documents. I'am using the drupal's CMS with CAS Module. When I use default login and password to create a session like this, it's work.
client = new PhpAutomationClient('http://ip:8080/nuxeo/site/automation'); $session = $client->GetSession('Administrator','Administrator');
But when I want to use the connected user to do a request to retrieve some documents, I can't do that because I can't get the password of this user. So, I use CAS and I want to know if exists a way to use the granting ticket to create a session for the PhpAutomationCLient and do requests.
Sorry for my bad english. Thanks for your help.
09-07-2013 10:02 AM
Hello I think PORTAL_AUTH may be what you're looking for, as it allows you to use any user session without knowing his password
Hope this helps
09-07-2013 10:02 AM
Hello I think PORTAL_AUTH may be what you're looking for, as it allows you to use any user session without knowing his password
Hope this helps
09-09-2013 05:01 AM
Hello!
Thanks aCordier for your post. It's a good help. But is it possible to use CAS2_AUTH and a PORTAL_AUTH with nuxeo ? If it is possible how i can do this configuration. Because I have a CAS server for severals applications and I want to use a user from another application without know his password to do some requests on nuxeo.
Thanks for your helps.
09-09-2013 05:23 AM
You will have to chain CAS2_AUTH module and PORTAL_AUTH. See http
09-09-2013 12:49 PM
Thanks a lot aCordier for your help it was very useful. Now I have still a problem to retrieve my session which were created by CAS with AutomationClient without use the basic authentication like (login/password).
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.