Powered By Blogger

Sunday, September 18, 2011

Alfresco Doc lib portlets working

When we start Liferay server after putting share war we see the below line info

23:52:27,703 INFO [site.servlet.SSOAuthenticationFilter] NTLMAuthenticationFil
ter initialised.

So this is the one which makes sso possible.
In the web.xml of share we have the following filter

Share SSO authentication support filter.
Authentication Filter
org.alfresco.web.site.servlet.SSOAuthenticationFilter

endpoint
alfresco



So this filter is looking for endpoint alfresco present in share-config-custom.xml


alfresco
Alfresco - user access
Access to Alfresco Repository WebScripts that require user authentication
alfrescoCookie
http://localhost:8080/alfresco/wcs
user
true


Here to make the external users to allow , we have external-auth true.

Now /wcs is mapped to following filter in alfresco's web.xml


WebScript Authentication Filter
/wcs/*


which points to the class

WebScript Authentication Filter
Authentication filter mapped to web script URLs. Mainly for SSO support
org.alfresco.repo.web.filter.beans.BeanProxyFilter

beanName
WebscriptAuthenticationFilter




And here again WebscriptAuthenticationFilter
maps to



${ntlm.authentication.sso.enabled}



















No comments:

Post a Comment