Foren

Liferay 6.2 and Alfresco 5.0 SSO is not working

kishore reddipalli, geändert vor 9 Jahren.

Liferay 6.2 and Alfresco 5.0 SSO is not working

New Member Beiträge: 5 Beitrittsdatum: 24.06.14 Neueste Beiträge
I have followed the below link to establish SSO between Liferay 6.2 and Alfresco 5.0 but it is not working. After logging into liferay with the id which is present in Alfresco it is showing up the login page instead of showing share portlet directly.
SSO between Alfresco and Liferay using Alfresco header

share-custom-config.xml:
<config evaluator="string-compare" condition="Remote">
<remote>
<keystore>
<path>alfresco/web-extension/alfresco-system.p12</path>
<type>pkcs12</type>
<password>alfresco-system</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>SsoUserHeader</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>http://localhost:9090/alfresco/wcs</endpoint-url>
<identity>user</identity>
<external-auth>true</external-auth>
</endpoint>
</remote>
</config>


Alfresco-global.properties:
external.authentication.enabled=true
authentication.chain=external1:external,alfrescoNtlm1:alfrescoNtlm
external.authentication.proxyHeader=SsoUserHeader
external.authentication.proxyUserName=



Even I tried using alfrescoCookie also, still SSO is not working between Liferay 6.2 and Alfresco 5.0.
Also CMIS method using Document and Media portlet is also not working.

Can someone let me know how to make it work?


Regards,
Kishore
thumbnail
Antonio Rincón, geändert vor 9 Jahren.

RE: Liferay 6.2 and Alfresco 5.0 SSO is not working

New Member Beiträge: 7 Beitrittsdatum: 07.04.08 Neueste Beiträge
Hi kishore reddipalli

I have the same problem, alfresco portlet is not authenticated , have you been able to find anything else?

portal-ext.properties:
company.security.auth.type=screenName
session.shared.attributes.excludes=
session.store.password=true

I think the user liferay not provided for identification.

I 'm identified with the admin user

log:
12:41:34,702 DEBUG [org.apache.http.wire] [http-bio-8080-exec-7] http-outgoing-0 << "[read] I/O error: Read timed out"
12:41:34,703 DEBUG [org.apache.http.impl.execchain.MainClientExec] [http-bio-8080-exec-7] Executing request GET /alfresco/wcs/remoteadm/has/alfresco/site-data/pages/slingshot-login.xml?s=sitestore HTTP/1.1
12:41:34,703 DEBUG [org.apache.http.impl.execchain.MainClientExec] [http-bio-8080-exec-7] Target auth state: UNCHALLENGED
12:41:34,704 DEBUG [org.apache.http.impl.execchain.MainClientExec] [http-bio-8080-exec-7] Proxy auth state: UNCHALLENGED
12:41:34,704 DEBUG [org.apache.http.headers] [http-bio-8080-exec-7] http-outgoing-0 >> GET /alfresco/wcs/remoteadm/has/alfresco/site-data/pages/slingshot-login.xml?s=sitestore HTTP/1.1
12:41:34,705 DEBUG [org.apache.http.headers] [http-bio-8080-exec-7] http-outgoing-0 >> x-alfresco-remote-user: guest
12:41:34,705 DEBUG [org.apache.http.headers] [http-bio-8080-exec-7] http-outgoing-0 >> ssouserheader: guest
12:41:34,705 DEBUG [org.apache.http.headers] [http-bio-8080-exec-7] http-outgoing-0 >> Host: 10.234.17.45:8080
12:41:34,705 DEBUG [org.apache.http.headers] [http-bio-8080-exec-7] http-outgoing-0 >> Connection: Keep-Alive
12:41:34,705 DEBUG [org.apache.http.headers] [http-bio-8080-exec-7] http-outgoing-0 >> User-Agent: Apache-HttpClient/4.3.3 (java 1.5)
12:41:34,705 DEBUG [org.apache.http.headers] [http-bio-8080-exec-7] http-outgoing-0 >> Accept-Encoding: gzip,deflate