cancel
Showing results for 
Search instead for 
Did you mean: 

SSO external proxyHeader is OK and autologin KO

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

After having configure external authentication, auto login doesn't work.

alfresco-global.properties

authentication.chain=external:external
external.authentication.enabled=true
external.authentication.defaultAdministratorUserNames=admin
external.authentication.proxyHeader=REMOTE_USER

Is there something to do in the WEB-INF/web.xml file ?

When a user tries to access to ALFRESCO from http://X.X.X.X:8080/alfresco/faces/jsp/login.jsp, the login form appears instead of his workspace
When a user tries to access to ALFRESCO from http://X.X.X.X:8080/alfresco/services/api/login, an error "Username not specified" is raised.

However, when I list all REQUEST HEADERS, the REMOTE_USER variable is present with the user's username.

Any help please ?

TOMCAT 6
ALFRESCO 4.2
3 REPLIES 3

ta_ba_so_usr
Champ in-the-making
Champ in-the-making
up

ta_ba_so_usr
Champ in-the-making
Champ in-the-making
up

ta_ba_so_usr
Champ in-the-making
Champ in-the-making
It works now. But after clicking on a link or a button connected user is disconnected and there is an issue :

javax.faces.FacesException: javax.faces.el.EvaluationException: Cannot get value for expression '#{NavigationBean.hasCustomView}'
causé par :
org.apache.jasper.JasperException: javax.faces.el.EvaluationException: Cannot get value for expression '#{NavigationBean.hasCustomView}'
causé par :
javax.faces.el.EvaluationException: Cannot get value for expression '#{NavigationBean.hasCustomView}'
causé par :
javax.faces.el.EvaluationException: Exception getting value of property hasCustomView of base of type : org.alfresco.web.bean.NavigationBean
causé par :
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.NavigationBean, property: hasCustomView
causé par :
java.lang.reflect.InvocationTargetException
causé par :
org.alfresco.repo.security.permissions.AccessDeniedException: 06010474 Access refusé. Vous n'avez pas la permission de réaliser cette opération.
causé par :
net.sf.acegisecurity.AccessDeniedException: Access is denied.