07-10-2015 07:25 AM
07-28-2015 09:54 AM
08-05-2015 08:28 AM
10-22-2015 05:34 AM
11-02-2015 10:11 AM
12-15-2015 10:14 AM
03-02-2016 08:11 AM
11-04-2016 08:16 AM
Hi Ian
Thanks for your work on CAS-Alfresco integration. This is complicated stuff and your github project really helped me to configure single sign out with mod_auth_cas.
I would prefer to use the approach on the application level with the cas client library so I started working with the amps from your project on GitHub.
The build succeeds and I applied the amps to Alfresco and Share.
I adapted web.xml and share-config-custom.xml
I am able to login to CAS but then I hit the standard Share login-page.
I think there is 1 piece of the puzzel I am missing:
How do I tell CAS to insert the alfresco header (e.g. "X-Alfresco-Remote-User") tot the calls to Share after succesfull login in CAS?
Hope you can help.
Best regards,
David
11-07-2016 02:58 AM
Hi David,
This might depend on the version you're using - if you're using 5.0.d to 5.1.f inclusive then you need to replace the SlingshotAlfrescoConnector in share-config-custom.xml with org.wrighting.web.site.servlet.SlingshotAlfrescoConnector instead of the Alfresco class (there's a bug...) or upgrade.
Alfresco inserts the header - CAS sets the value returned by getRemoteUser which is then used to set the header.
Regards,
Ian
(I am hoping to update the github project before the end of the year with installable amps)
11-09-2016 08:26 AM
Hi Ian
Thanks for your reply.
I work with version 5.1.g (a.k.a. 201605).
I now succeeded in using your amps (based on the master branch) for CAS login.
The problems I encountered before were due to interference between my own share-config-custom.xml and the one packed in the share-amp.
I removed the second one from the project and added the references to org.wrighting.web.site.servlet.SlingshotAlfrescoConnector in my own share-config-custom.xml.
Some further observations:
- Deploying the repo-amp does not seem to be necessary
- Could not get it working without your SlingshotAlfrescoConnector, so this servlet also seems to be necessary for 5.1.g as well
Hope this info helps other people.
Regards,
David
Tags
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.