1 Reply Latest reply on Feb 7, 2007 5:09 AM by pmuir

    Limit access to logged in users

      Hi,

      I want to limit a web page to logged in users only. But I do not want to use any roles. So, I am thinking using the following element in pages.xml:

      <page view-id="/foo.xhtml">
       <restrict>#{identity.loggedIn}</restrict>
      </page>
      


      Is it the correct / best way to do it? Thanks.

      cheers
      Michael