auth.authenticate(WORKFLOW_USER, WORKFLOW_PASSWORD.toCharArray());
// Mes action usant de privilèges particulier
…
// Code de restitution des droits de l'utilisdateur courant.
auth.clearCurrentSecurityContext();
javax.faces.FacesException: Cannot get value for expression '#{NavigationBean.isGuest == false && NavigationBean.guestHomeVisible}'
caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{NavigationBean.isGuest == false && NavigationBean.guestHomeVisible}'
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{NavigationBean.isGuest == false && NavigationBean.guestHomeVisible}'
caused by:
javax.servlet.jsp.el.ELException: An error occurred while getting property "guestHomeVisible" from an instance of class org.alfresco.web.bean.NavigationBean
Bonjour,
Jetez un oeil sur la méthode AuthenticationUtil.runAs((AuthenticationUtil.RunAsWork runAsWork, String userId), je pense que c'est ce que vous cherchez…
Bonjour,
Jetez un oeil sur la méthode AuthenticationUtil.runAs((AuthenticationUtil.RunAsWork runAsWork, String userId), je pense que c'est ce que vous cherchez…
Merci pour l'info, je regarde celà dès mon retour de congés :wink:
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.