external authentication + SSO + autocreate user

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2014 06:18 AM
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
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
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2014 06:52 AM
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.
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2014 08:40 AM
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.
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.
