[jboss-cvs] jboss-seam/examples/issues/resources/WEB-INF ...
Shane Bryzak
sbryzak at redhat.com
Mon Feb 19 00:41:31 EST 2007
User: sbryzak2
Date: 07/02/19 00:41:31
Modified: examples/issues/resources/WEB-INF components.xml
faces-config.xml
Log:
use security api
Revision Changes Path
1.5 +32 -22 jboss-seam/examples/issues/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/issues/resources/WEB-INF/components.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- components.xml 4 Feb 2007 07:58:20 -0000 1.4
+++ components.xml 19 Feb 2007 05:41:31 -0000 1.5
@@ -1,8 +1,16 @@
-<!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:drools="http://jboss.com/products/seam/drools"
+ xmlns:web="http://jboss.com/products/seam/web"
+ 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/components http://jboss.com/products/seam/components-1.1.xsd
+ http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
+ http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.1.xsd
+ http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.1.xsd">
<component name="org.jboss.seam.core.init">
<property name="jndiPattern">@jndiPattern@</property>
@@ -29,4 +37,6 @@
<action expression="#{projectFinder.refresh}"/>
</event>
+ <security:identity authenticate-method="#{authenticator.authenticate}"/>
+
</components>
\ No newline at end of file
1.5 +35 -28 jboss-seam/examples/issues/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/issues/resources/WEB-INF/faces-config.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- faces-config.xml 4 Nov 2006 01:29:23 -0000 1.4
+++ faces-config.xml 19 Feb 2007 05:41:31 -0000 1.5
@@ -13,6 +13,13 @@
<navigation-rule>
<navigation-case>
+ <from-outcome>loggedIn</from-outcome>
+ <to-view-id>/home.jsp</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+
+ <navigation-rule>
+ <navigation-case>
<from-outcome>home</from-outcome>
<to-view-id>/home.jsp</to-view-id>
</navigation-case>
More information about the jboss-cvs-commits
mailing list