[jboss-cvs] jboss-seam/examples/seamspace/resources/WEB-INF ...

Shane Bryzak Shane_Bryzak at symantec.com
Thu Jan 25 11:48:54 EST 2007


  User: sbryzak2
  Date: 07/01/25 11:48:54

  Modified:    examples/seamspace/resources/WEB-INF  pages.xml
  Log:
  page security
  
  Revision  Changes    Path
  1.11      +5 -0      jboss-seam/examples/seamspace/resources/WEB-INF/pages.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: pages.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/resources/WEB-INF/pages.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- pages.xml	25 Jan 2007 13:23:59 -0000	1.10
  +++ pages.xml	25 Jan 2007 16:48:54 -0000	1.11
  @@ -37,6 +37,10 @@
         </navigation>
       </page>
          
  +    <page view-id="/admin.xhtml">
  +      <restrict>#{s:hasRole('admin')}</restrict>    
  +    </page>
  +       
       <page view-id="*">
           <navigation from-action="#{login.logout}">
               <redirect view-id="/home.xhtml"/>
  @@ -47,4 +51,5 @@
           </navigation>
       </page>
   
  +
   </pages>
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list