cancel
Showing results for 
Search instead for 
Did you mean: 

Redirecting after logout

simon
Champ in-the-making
Champ in-the-making
Dear Alfresco,

We use the
/alfresco/navigate/logout
link to logout in a custom Freemarker website we built on top of the Alfresco repository. Now, this link seems to redirect to the login page. Is it possible to redirect this link to some other page?

Lets say I would like to redirect  to
<Tomcat>/webapps/somethingelse/page.jsp
How would I do this? Change something in the web-client-config-custom.xml? Is that all?

Thanks!

– Simon
3 REPLIES 3

xerox
Champ in-the-making
Champ in-the-making
anyone?

kevinr
Star Contributor
Star Contributor
I believe this can be configured in web-client-config-custom.xml as the following section is available in the web-client-config:


<config>
      <client>
         <!– the login page the client will use –>
         <login-page>/jsp/login.jsp</login-page>


Thanks,

Kevin

simon
Champ in-the-making
Champ in-the-making
Thanks Kevin.

I don't want to change the login page, we already did that. Maybe I wasn't clear enough.

We have a custom website build on top of the Alfresco repository using Freemarker templates. The user wants to logout and re-login with a different username. We point to a Freemarker template in Alfresco so when the user wants to access this page the login screen shows up.

The problem? The user logs out from our website (as described above) and is redirected to the login page. Now, he logs in again but now there is no forward link (as there was the first time) so he ends up in Alfresco bypassing our website.

So I would only like to redirect this logout function.

Does this make any sense?