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

Shane Bryzak sbryzak at redhat.com
Sun Feb 18 21:08:08 EST 2007


  User: sbryzak2
  Date: 07/02/18 21:08:08

  Modified:    examples/portal/resources/WEB-INF   components.xml
                        faces-config.xml
  Log:
  use security api
  
  Revision  Changes    Path
  1.8       +20 -14    jboss-seam/examples/portal/resources/WEB-INF/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/portal/resources/WEB-INF/components.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- components.xml	27 Nov 2006 03:49:21 -0000	1.7
  +++ components.xml	19 Feb 2007 02:08:08 -0000	1.8
  @@ -1,8 +1,12 @@
  -<!DOCTYPE components PUBLIC
  -  "-//JBoss/Seam Component Configuration DTD 1.1//EN"
  -  "http://jboss.com/products/seam/components-1.1.dtd">
  -
  -<components>
  +<?xml version="1.0" encoding="UTF-8"?>
  +<components xmlns="http://jboss.com/products/seam/components"
  +            xmlns:core="http://jboss.com/products/seam/core"
  +            xmlns:security="http://jboss.com/products/seam/security"
  +            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  +            xsi:schemaLocation=
  +                "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
  +                 http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
  +                 http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd">
   
       <!-- Bootstrap Hibernate -->
       <component name="bookingDatabase" 
  @@ -12,4 +16,6 @@
       <component class="org.jboss.seam.core.Microcontainer"    
              installed="@microcontainer@"/>
              
  +    <security:identity authenticate-method="#{authenticator.authenticate}"/>             
  +           
   </components>
  \ No newline at end of file
  
  
  
  1.7       +116 -110  jboss-seam/examples/portal/resources/WEB-INF/faces-config.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: faces-config.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/portal/resources/WEB-INF/faces-config.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- faces-config.xml	4 Nov 2006 01:29:23 -0000	1.6
  +++ faces-config.xml	19 Feb 2007 02:08:08 -0000	1.7
  @@ -28,6 +28,12 @@
           </navigation-case>
   
           <navigation-case>
  +            <from-outcome>loggedIn</from-outcome>
  +            <to-view-id>/main.jsp</to-view-id>
  +            <redirect />
  +        </navigation-case>
  +        
  +        <navigation-case>
               <from-outcome>main</from-outcome>
               <to-view-id>/main.jsp</to-view-id>
               <redirect />
  
  
  



More information about the jboss-cvs-commits mailing list