1 Reply Latest reply on Jan 25, 2006 12:31 PM by Woodler

    how to add security in a page ?

    cpage cpage Novice


      i deploy a two portlets in a war file.

      the two portlets are in a page, testPage.

      when i deploy the war, i can see a tab with my testPage and the 2 portlets.

      but I want that this page is only visible for authenticated users.

      so in my file-object.xml i use the security-constraint tag like this :


      and in the portlet.xml :

       <title>Test portlet B</title>

      results: nothing.
      i still can see the page TestPage and the 2 portlets.

      I know i can perform it with the management console but is it possible to do it in the config files ? (i'm sure it is ! )

      thanks for help

      bye bye