Problem Share Cas Logout

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2015 07:25 AM
My environment consists of:
- Cas Server 3.5.2
- Alfresco Community 5.0.c
I configured share to validate with cas (cas-client-core-3.3.3) and all work fine. But I have the logout problem.
In share (web.xml):
<filter>
<filter-name>CAS Single Sign Out Filter</filter-name>
<filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CAS Authentication Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>org.jasig.cas.client.session.SingleSignOutHttpSessionListener</listener-class>
</listener>
But this does not work… or I need some settings.
I read about the possibility of extending logoutController in custom-slingshot-application-context.xml
Any ideas!!
Thank's for all.
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2016 05:20 PM
Hi David,
could you briefly explain the steps you followed to successfully integrate CAS and Alfresco? I'm working with alfresco 5.0d and CAS 5.0 and also I am receiving share login page after CAS login.
Thanks in advance.
Pino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 03:11 AM
Hi Pino,
My guess is that your share-config-custom.xml is not pointing at the correct backend.
If you are using GitHub - wrighting/alfresco-cas: A project designed to show how to integrate Alfresco with CAS singl... it defaults to http://localhost:8080/alfresco/...
I've just updated the README.md to give more instructions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 06:09 AM
Hi Ian,
thanks for your reply; anyway my share-config-custom.xml is pointing to correct backend (http://localhost:8080/alfresco/)
My software stack version is: Alfresco 5.1f (just updated), CAS 5.0 and your cas-client-core-3.4.1.jar (from the latest build of your project and deployed both in alfresco and share lib).
Edited the file /etc/java-cas-client.properties with the following value:
casServerLoginUrl=https://myhostname:8444/cas/login
serverName=https://myhostname:8443
ticketValidatorClass=org.jasig.cas.client.validation.Cas30ServiceTicketValidator
casServerUrlPrefix=https://myhostname:8444/cas
Thanks in advance!
Pino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 03:23 AM
Hi David,
I have updated the project now.
You are correct that you don't need the repo amp although it will now include the admin pages.
share-config-custom.xml is now not included by default and there are other changes to make it easier to deploy - see project for details.
I have managed to use the default SlingshotAlfrescoConnector for 5.1.g
