2 Replies Latest reply on Apr 24, 2012 11:38 PM by sfcoy

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

    oran
      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!