[jboss-cvs] jboss-seam/examples/security/view ...

Shane Bryzak Shane_Bryzak at symantec.com
Thu Oct 19 21:01:27 EDT 2006


  User: sbryzak2
  Date: 06/10/19 21:01:27

  Modified:    examples/security/view   protected.xhtml welcome.xhtml
  Log:
  updated security example to demonstrate object-level dynamic acls
  
  Revision  Changes    Path
  1.3       +2 -0      jboss-seam/examples/security/view/protected.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: protected.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/security/view/protected.xhtml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- protected.xhtml	5 Aug 2006 02:00:55 -0000	1.2
  +++ protected.xhtml	20 Oct 2006 01:01:27 -0000	1.3
  @@ -10,6 +10,8 @@
   <body>
     <h1>Successfully invoked protected action</h1>
   
  +  <div class="errors"><h:messages globalOnly="true"/></div> 
  +
     <h:form>
       <h:commandButton action="#{login.logout}" value="Logout" class="button" />      
     </h:form>
  
  
  
  1.4       +4 -0      jboss-seam/examples/security/view/welcome.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: welcome.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/security/view/welcome.xhtml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- welcome.xhtml	5 Aug 2006 02:00:55 -0000	1.3
  +++ welcome.xhtml	20 Oct 2006 01:01:27 -0000	1.4
  @@ -10,9 +10,13 @@
   <body>
     <h1>Login successful!</h1>
   
  +  <div class="errors"><h:messages globalOnly="true"/></div> 
  +
     <h:form>
       <h:commandButton action="#{protectedAction.foo}" value="Protected action" class="button"/>
       <h:commandButton action="#{login.logout}" value="Logout" class="button" />      
  +    <h:commandButton action="#{protectedAction.modifyCustomer}" value="Modify customer" class="button"/>
  +    <h:commandButton action="#{protectedAction.modifyReadonlyCustomer}" value="Modify read-only customer" class="button"/>
       
     </h:form>
   
  
  
  



More information about the jboss-cvs-commits mailing list