Hi, I'm working on this integration by the last 3-4 days.I have read a lot of threads and topics and resolved a lot of problema. Now I have last problem on tickect validation on the cas server. This is the scenario:
I'd want to configure share for SSO with CAS on LDAP,but when I login with credential the next call to cas ticket validator fials because Cas Server receive URL plus 3 times share context:
Where is the problem? there any problems with this softwares version?
Firs of all,I have followed the topics and modified the configuration files manually. I have to use alfresco admin console instead? Is possible to configure on SSO CAS only share app? Or I have to configure alfresco app too?
I have 1 machine with 2 tomcat,1 for cas server and 1 for alfresco server.I have my own certificates with ext=dns ( the same for 2 tomcat instances ) signed by my own CA,in my own keystore.All works. I have java 7 and java 8 for cas tomcat and alfresco tomcat. I have tried to uncomment the SSO valve on alfresco tomcat server.xml…same problem occurs
<config evaluator="string-compare" condition="Remote"> <remote> <keystore> <path>//certificates/myidentitykeystore.jks</path> <type>jks</type> <password>password</password> </keystore> <connector> <id>alfrescoCookie</id> <name>Alfresco Connector</name> <description>Connects to an Alfresco instance using cookie-based authentication</description> <class>org.alfresco.web.site.servlet.SlingshotAlfrescoConnector</class> </connector> <connector> <id>alfrescoHeader</id> <name>Alfresco Connector</name> <description>Connects to an Alfresco instance using header and cookie-based authentication</description> <class>org.alfresco.web.site.servlet.SlingshotAlfrescoConnector</class> <userHeader>X-Alfresco-Remote-User</userHeader> </connector>
<endpoint> <id>alfresco</id> <name>Alfresco - user access</name> <description>Access to Alfresco Repository WebScripts that require user authentication</description> <connector-id>alfrescoHeader</connector-id> <endpoint-url>https://machinename:8443/alfresco/wcs</endpoint-url> <identity>user</identity> <external-auth>true</external-auth> </endpoint> <endpoint> <id>alfresco-feed</id> <parent-id>alfresco</parent-id> <name>Alfresco Feed</name> <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description> <connector-id>alfrescoHeader</connector-id> <endpoint-url>https://machinename:8443/alfresco/wcs</endpoint-url> <identity>user</identity> <external-auth>true</external-auth> </endpoint> <endpoint> <id>alfresco-api</id> <parent-id>alfresco</parent-id> <name>Alfresco Public API - user access</name> <description>Access to Alfresco Repository Public API that require user authentication. This makes use of the authentication that is provided by parent 'alfresco' endpoint.</description> <connector-id>alfrescoHeader</connector-id> <endpoint-url>https://machinename:8443/alfresco/api</endpoint-url> <identity>user</identity> <external-auth>true</external-auth> </endpoint> </remote> </config>
Hi, please could you add more detailed configuration? I am trying to solve similar problem with the CASifying Alfresco community 5.0.d through CAS client. I also tried to use mod_auth_cas also with no success (after CAS login I was redirected back to Alfresco share login page to login again)