cancel
Showing results for 
Search instead for 
Did you mean: 

external authentication + SSO + autocreate user

ta_ba_so_usr
Champ in-the-making
Champ in-the-making
Hello,

I have made searches but I found no example for setting up SSO with a external authentication in a LINUX environment.
I don't want to use http headers.
1) I would like get my session variable (username) from PHP and proceed to auto login manually.
For this, I tried to get my session variable in the login.jsp file by calling a PHP script but what is the way to auto login (what function I have to call) after that ?
2) I want the user to be created in ALFRESCO DB if he's not there.
I would like to auto-create user with his username and his group.

I started to configure the alfresco.global.properties file and then to create an authentication subsystem in WEB-INF/classes/alfresco/subsystems/Authentication/ but what next. The documentation is not clear.

APACHE TOMCAT 6
ALFRESCO 4.2
2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager
Alfresco Share does not support session identification by default.

You should modify <CODE>wrapHeaderAuthenticatedRequest</CODE> from <CODE>org.alfresco.web.site.servlet.SSOAuthenticationFilter</CODE> Alfresco Share class to set RemoteUser from session attribute.
Hyland Developer Evangelist

ta_ba_so_usr
Champ in-the-making
Champ in-the-making
Thank you for reply. Do you have any examples or documentations please ?
Anyway, I searched for the file containing the org.alfresco.web.site.servlet.SSOAuthenticationFilter Alfresco Share class in the ALFRESCO webapp but I don't have any result.