cancel
Showing results for 
Search instead for 
Did you mean: 

use PhpAutomationClient with CAS

djoncour_
Champ on-the-rise
Champ on-the-rise

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.

1 ACCEPTED ANSWER

Antoine_Cordier
Star Contributor
Star Contributor

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

View answer in original post

4 REPLIES 4

Antoine_Cordier
Star Contributor
Star Contributor

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

djoncour_
Champ on-the-rise
Champ on-the-rise

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.

You will have to chain CAS2_AUTH module and PORTAL_AUTH. See http

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).

Getting started

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.