[jboss-cvs] jboss-seam/seam-gen/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Tue Jan 30 23:07:27 EST 2007
User: gavin
Date: 07/01/30 23:07:27
Modified: seam-gen/resources/WEB-INF components-war.xml
components.xml
Log:
add security to seam-gen JBSEAM-719
Revision Changes Path
1.2 +12 -2 jboss-seam/seam-gen/resources/WEB-INF/components-war.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components-war.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/resources/WEB-INF/components-war.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- components-war.xml 30 Jan 2007 05:56:43 -0000 1.1
+++ components-war.xml 31 Jan 2007 04:07:27 -0000 1.2
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:drools="http://jboss.com/products/seam/drools"
+ 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/drools http://jboss.com/products/seam/drools-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">
<core:init debug="true" jndi-pattern="@jndiPattern@"/>
@@ -23,6 +27,12 @@
<core:ejb installed="@embeddedEjb@"/>
+ <drools:rule-base name="securityRules">
+ <drools:rule-files><value>/security.drl</value></drools:rule-files>
+ </drools:rule-base>
+
+ <security:identity authenticate-method="#{authenticator.authenticate}"/>
+
<!-- For use with jBPM pageflow or process management -->
<!--
<core:jbpm>
1.9 +13 -3 jboss-seam/seam-gen/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/seam-gen/resources/WEB-INF/components.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- components.xml 30 Jan 2007 04:35:43 -0000 1.8
+++ components.xml 31 Jan 2007 04:07:27 -0000 1.9
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:drools="http://jboss.com/products/seam/drools"
+ 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/drools http://jboss.com/products/seam/drools-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">
<core:init debug="true" jndi-pattern="@jndiPattern@"/>
@@ -20,6 +24,12 @@
<core:ejb installed="@embeddedEjb@"/>
+ <drools:rule-base name="securityRules">
+ <drools:rule-files><value>/security.drl</value></drools:rule-files>
+ </drools:rule-base>
+
+ <security:identity authenticate-method="#{authenticator.authenticate}"/>
+
<!-- For use with jBPM pageflow or process management -->
<!--
<core:jbpm>
More information about the jboss-cvs-commits
mailing list