AnsweredAssumed Answered

Authorization required on share in liferay

Question asked by frizzello on Jun 4, 2013
Hi,


I'm trying to integrate liferay 6.11 community edition with alfresco 3.4e community edition that are on different machines using alfresco share portlet using this indications (http://onalfresco.blogspot.it/2010/12/deploying-alfresco-share-portlets-in.html)but i'm still having a lot of problems because  loaduser method in AlfrescoUserFactory  requests me a basic http authentication.

http://172.25.0.225:8085/alfresco/s/webframework/content/metadata?user=test

is it possible to disable it or call another service? The same thing happens when I go to the portlet share inside liferay when i'm just logged in and I try to open my repository.

It appears a Basic authentication window

looking better to net request:

http://172.25.1.111:8180/share/proxy/alfresco/collaboration/tagQuery?d=1370424590799&m=-1&s=count&n=alfresco%3A%2F%2Fcompany%2Fhome"
http://172.25.1.111:8180/share/proxy/alfresco/slingshot/doclib/doclist/documents/node/alfresco/company/home/?filter=path&size=50&pos=1&noCache=1370424599725&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome"
"NetworkError: 401 Unauthorized - http://172.25.1.111:8180/share/proxy/alfresco/api/node/workspace/SpacesStore/7da50811-de7d-447f-ba8e-535a7fe7b6f8/content/thumbnails/doclib?c=queue&ph=true"
doclib…ph=true
"NetworkError: 401 Unauthorized - http://172.25.1.111:8180/share/proxy/alfresco/api/node/workspace/SpacesStore/3110df2a-072c-4aa4-8066-2b0365b8c0ea/content/thumbnails/doclib?c=queue&ph=true"
doclib…ph=true
"NetworkError: 401 Unauthorized - http://172.25.1.111:8180/share/proxy/alfresco/slingshot/doclib/treenode/node/alfresco/company/home?perms=false&children=false&max=500&libraryRoot=alfresco://company/home"

every these request from share/proxt need basic authentication.

Anyone can help me?


Francesco

Outcomes