cancel
Showing results for 
Search instead for 
Did you mean: 

Share SSO with External Subsystem

rf-srns
Champ in-the-making
Champ in-the-making
Has anyone been able to get this to work?  We did the *alfresco* webapp using a servlet filter that caused HttpServletRequest.getRemoteUser() to return the authenticated user, and it worked just fine.  No such luck with Share - we tried setting the X-Alfresco-Remote-User header on the request (by wrapping it in a HttpServletRequestWrapper), and on the response.  No luck.  I have seen conflicting threads about which webapp (share vs. alfresco) cares about the header - our experience seems to show that alfresco does not use it.  We have set the "external.authentication.proxyUserName" property to be empty (in alfresco-global.properties, and in ..tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\external\external-filter.properties).  No luck.

And then since external is in the global authentication chain, I HAVE to use it for Share (am I wrong about that?).  At the moment, I have had to back off to having no SSO for either, and doing that over SSL.  Yuck!
1 REPLY 1

loftux
Star Contributor
Star Contributor
I have asked the same question earlier http://forums.alfresco.com/en/viewtopic.php?f=9&t=26472 but no definite answer.
I was actually trying this with code from HEAD right now, and still no luck. But Kerberos and NTLM SSO works with Share.

I can get external working with  Alfresco Exlporer by setting the proxyUserName to blank and the trying with the Modify Headers firefox plugin.
From what I can tell by looking at the source code, there is no support for 'external' authentication for Share.