[jboss-cvs] jboss-seam/examples/security/resources/WEB-INF ...
Shane Bryzak
Shane_Bryzak at symantec.com
Wed Jul 26 02:03:14 EDT 2006
User: sbryzak2
Date: 06/07/26 02:03:14
Modified: examples/security/resources/WEB-INF components.xml
faces-config.xml
Log:
Updated security test app
Revision Changes Path
1.2 +1 -0 jboss-seam/examples/security/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/security/resources/WEB-INF/components.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- components.xml 25 Jul 2006 06:56:15 -0000 1.1
+++ components.xml 26 Jul 2006 06:03:14 -0000 1.2
@@ -9,4 +9,5 @@
<property name="conversationTimeout">120000</property>
</component>
+ <component class="org.jboss.seam.security.realm.JaasRealm"/>
</components>
\ No newline at end of file
1.2 +16 -0 jboss-seam/examples/security/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/security/resources/WEB-INF/faces-config.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- faces-config.xml 25 Jul 2006 06:56:15 -0000 1.1
+++ faces-config.xml 26 Jul 2006 06:03:14 -0000 1.2
@@ -4,6 +4,22 @@
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
+ <navigation-rule>
+
+ <navigation-case>
+ <from-outcome>login</from-outcome>
+ <to-view-id>/home.xhtml</to-view-id>
+ <redirect />
+ </navigation-case>
+
+ <navigation-case>
+ <from-outcome>success</from-outcome>
+ <to-view-id>/welcome.xhtml</to-view-id>
+ <redirect />
+ </navigation-case>
+
+ </navigation-rule>
+
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
More information about the jboss-cvs-commits
mailing list