[jboss-cvs] jboss-seam/examples/hibernate2/resources/glassfish ...
Norman Richards
norman.richards at jboss.com
Mon Mar 26 22:15:12 EDT 2007
User: nrichards
Date: 07/03/26 22:15:12
Modified: examples/hibernate2/resources/glassfish components.xml
Log:
add security configuration for other platforms
Revision Changes Path
1.7 +3 -20 jboss-seam/examples/hibernate2/resources/glassfish/components.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/resources/glassfish/components.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- components.xml 27 Feb 2007 07:16:45 -0000 1.6
+++ components.xml 27 Mar 2007 02:15:12 -0000 1.7
@@ -1,9 +1,11 @@
<?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.2.xsd
+ http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.2.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd">
<core:init debug="true"/>
@@ -19,24 +21,5 @@
auto-create="true"
session-factory-jndi-name="bookingDatabase"/>
+ <security:identity authenticate-method="#{authenticator.authenticate}"/>
</components>
-
-<!--
-<components>
-
- <component name="org.jboss.seam.core.init">
- <property name="debug">true</property>
- </component>
-
- <component name="org.jboss.seam.core.manager">
- <property name="conversationTimeout">120000</property>
- </component>
-
- <component name="bookingDatabase"
- sessionFactoryJndiName="bookingDatabase"
- class="org.jboss.seam.core.ManagedHibernateSession"/>
- <component name="hibernateSessionFactory"
- class="org.jboss.seam.core.HibernateSessionFactory"/>
-
-</components>
--->
More information about the jboss-cvs-commits
mailing list