1 Reply Latest reply on Apr 25, 2007 5:25 PM by Anders Andersen

    Can't get page level declaritive security working

    Jon Whitmore Newbie

      Hello everyone

      http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/security.html#securing_objects
      Clearly states that I can secure pages in my *-object.xml file. After successfully securing an instance with the following security constraint:

      <security-constraint>
       <policy-permission>
       <role-name>Authenticated</role-name>
       <action-name>view</action-name>
       </policy-permission>
       </security-constraint>


      I tried to secure a page with the very same markup, but with poor results: the page is shown without error or a redirect to the login page.

      I'm really stumped on this one, and seem to recall reading in the forums that page level security wasn't possible. Does anyone have the definitive answer on that w/r/t portal 2.4.1? Does anyone have any ideas why my page comes up unrestricted?

      Thanks in advance!

      nollie