cancel
Showing results for 
Search instead for 
Did you mean: 

Default faces navigation (redirect?)

shmoula
Champ in-the-making
Champ in-the-making
Hi guys, I'm almost going crazy with this:
  Where I can find rule, which defines, where to go, when I'm not logged in? I mean these situations:
* You open localhost/alfresco and you are redirected to localhost/alfresco/faces/jsp/login.jsp
* You open localhost/alfresco/faces/jsp/something.jsp and you are redirected to localhost/alfresco/faces/jsp/login.jsp
* I want my own localhost/alfresco/faces/jsp/something.jsp page in there and I need to access that!

So there must be some default redirect, but where? I found some information on faces, searched through alfresco src for login.jsp (I'm expecting that this is defined inside web config as login page and accesed via clientConfig.getLoginPage()), but there is nothing :-(. Any ideas, please?
12 REPLIES 12

shmoula
Champ in-the-making
Champ in-the-making
Ok, but you are trying to change login page, you don't have page 'outside'. Try to add some other page beside your login.jsp (ie example.jsp) and add some actionLink into login.jsp with navigation rule pointing to that example.jsp. Does it work?

jayjayecl
Confirmed Champ
Confirmed Champ
"Ok, but you are trying to change login page, you don't have page 'outside'"

I don't get that.
And I cannot test as I don't have the environment with this kind of config right here.
But I'm assuming I was wrong, hope you'll grab some help Smiley Happy

shmoula
Champ in-the-making
Champ in-the-making
I'm talking about your config snippet - it's 'custom login page' I think. There is no problem with this, but with that redirect stuff :-(. In all cases, thanks for your time, I did it (registrations) via LDAP, so it works now for me :-).