AnsweredAssumed Answered

CAS configuration in 3.4.d 'Incorrectly configured endpoint'

Question asked by goldmar on Jun 19, 2011
Latest reply on Jun 24, 2011 by adiaz
Hello,

I've read pretty much everything I could find about CAS and Alfresco… and I got mod_auth_cas working with Explorer but it does not work with Share. I get the following error when I open https://myserver/share:

 
org.springframework.extensions.surf.exception.PlatformRuntimeException: 05190012 Incorrectly configured endpoint ID: alfresco
   org.alfresco.web.site.servlet.SSOAuthenticationFilter.challengeOrPassThrough(SSOAuthenticationFilter.java:593)
   org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:378)

I could not find anything about this error on the web. These are my settings:
share-config-custom.xml
   <config evaluator="string-compare" condition="Remote">
        <remote>
            <connector>
                <id>alfrescoCookie</id>
                <name>Alfresco Connector</name>
                <description>Connects to an Alfresco instance using cookie-based authentication</description>
                <class>org.alfresco.connector.AlfrescoConnector</class>
            </connector>

            <endpoint>
                <id>alfresco</id>
                <name>Alfresco - user access</name>
                <description>Access to Alfresco Repository WebScripts that require user authentication</description>
                <connector-id>alfrescoCookie</connector-id>
                <endpoint-url>http://localhost:8080/alfresco/wcs</endpoint-url>
                <identity>user</identity>
                <external-auth>true</external-auth>
            </endpoint>
        </remote>
   </config>

Tomcat server.xml
    <Connector executor="tomcatThreadPool"
               address="127.0.0.1"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />

    <Connector executor="tomcatThreadPool"
               address="127.0.0.1" port="8009" protocol="AJP/1.3"
               URIEncoding="UTF-8" tomcatAuthentication="false"
               redirectPort="8443" />

alfresco-global.properties
authentication.chain=external1:external,alfrescoNtlm1:alfrescoNtlm
external.authentication.proxyUserName=
external.authentication.proxyHeader=X-Alfresco-Remote-User
external.authentication.enabled=true
external.authentication.userIdPattern=

Any ideas?

Outcomes