[jboss-cvs] jboss-seam/examples/seamspace/resources/WEB-INF ...
Shane Bryzak
Shane_Bryzak at symantec.com
Mon Nov 6 20:57:02 EST 2006
User: sbryzak2
Date: 06/11/06 20:57:02
Modified: examples/seamspace/resources/WEB-INF components.xml
Log:
ongoing
Revision Changes Path
1.4 +17 -0 jboss-seam/examples/seamspace/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/seamspace/resources/WEB-INF/components.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- components.xml 31 Oct 2006 02:54:36 -0000 1.3
+++ components.xml 7 Nov 2006 01:57:02 -0000 1.4
@@ -17,6 +17,23 @@
<property name="providers">#{authenticatorAction}</property>
</component>
+ <component name="persistentAclProvider" class="org.jboss.seam.security.acl.PersistentAclProvider">
+ <property name="aclQuery">
+ select p.mask, p.recipient, p.recipientType from AclPermission p
+ where p.identity.objectIdentity = :identity
+ </property>
+
+ <property name="aclUserQuery">
+ select p.mask from AclPermission p
+ where p.identity.objectIdentity = :identity and
+ ((p.recipient = :recipient and p.recipientType = RecipientType.user) or
+ (p.recipient in :roles and p.recipientType = RecipientType.role))
+ </property>
+
+ <property name="persistenceContextManager">#{entityManager}</property>
+
+ </component>
+
<!--component class="org.jboss.seam.security.SeamSecurityManager">
</component-->
More information about the jboss-cvs-commits
mailing list