AnsweredAssumed Answered

Alfresco + Liferay, Portlet non si autentica

Question asked by alnitakzeta on Apr 18, 2012
Latest reply on Oct 9, 2012 by alnitakzeta
Ciao community,

Ho installato Alfresco 4.0 e in seguito Liferay 6. Ho seguito la linea guida per l'installazione e la configurazione.

Premetto che ho installato Alfresco su un tomcat e Lifray su un altro tomcat.

Dopo aver configurato l'utente su Liferay ed inseguito su Alfresco, con il nome utente uguale allo screename di Lifreay, inserisco la portlet documentale, ma comapre il banner di mancata autenticazione.

Nel file alfresco-global.properties ho inserito queste righe:

authentication.chain=external1:external,alfrescoNtlm1:alfrescoNtlm 
external.authentication.enabled=true
external.authentication.proxyUserName=

Il mio file share-config-custom.xml è questo:

<alfresco-config>
  <config evaluator="string-compare" condition="Remote">
    <remote>

      <endpoint>
        <id>alfresco-noauth</id>
        <name>Alfresco - unauthenticated access</name>
        <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
        <connector-id>alfresco</connector-id>
        <endpoint-url>http://localhost:8084/alfresco/s</endpoint-url>
        <identity>none</identity>
      </endpoint>

      <endpoint>
        <id>alfresco-feed</id>
        <name>Alfresco Feed</name>
        <description>Alfresco Feed - supports basic HTTP authentication</description>
        <connector-id>http</connector-id>
        <endpoint-url>http://localhost:8084/alfresco/s</endpoint-url>
        <basic-auth>true</basic-auth>
        <identity>user</identity>
      </endpoint>

      <connector>
        <id>alfrescoCookie</id>
        <name>Alfresco Connector</name>
        <description>Connects to an Alfresco instance using cookie-based authentication</description>
        <class>org.springframework.extensions.webscripts.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:8084/alfresco/wcs</endpoint-url>
        <identity>user</identity>
        <external-auth>true</external-auth>
      </endpoint>

    </remote>
  </config>

</alfresco-config>

Qualcuno sa darmi indicazione??

Grazie e buon lavoro

Outcomes