2 Replies Latest reply: Apr 24, 2012 11:38 PM by Stephen Coy RSS

how can i redirect an unauthorized (=un-logged!) user to the login-page?

Vitja Miller Newbie
i need to redirect an unauthorized (=un-logged!) user to the login-page everytime, execpt he will get the first HELLO-Page (in my case - /home.xhtml )

The try like this one
(in the pages.xml)  dosen't work:


<pages        

...
    <page view-id="/*.xhtml" login-required="true"/>
   
    <page view-id="/home.xhtml" login-required="false"/>
...


i heed your help, please!