[seam-commits] Seam SVN: r7354 - trunk/src/main/org/jboss/seam/security.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Sun Feb 3 22:28:16 EST 2008
Author: shane.bryzak at jboss.com
Date: 2008-02-03 22:28:16 -0500 (Sun, 03 Feb 2008)
New Revision: 7354
Modified:
trunk/src/main/org/jboss/seam/security/RuleBasedIdentity.java
Log:
synchronizeContext() should be synchronized itself
Modified: trunk/src/main/org/jboss/seam/security/RuleBasedIdentity.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/RuleBasedIdentity.java 2008-02-04 03:24:52 UTC (rev 7353)
+++ trunk/src/main/org/jboss/seam/security/RuleBasedIdentity.java 2008-02-04 03:28:16 UTC (rev 7354)
@@ -102,14 +102,14 @@
if (securityContext == null) return false;
- synchronizeContext();
-
List<FactHandle> handles = new ArrayList<FactHandle>();
PermissionCheck check = new PermissionCheck(name, action);
synchronized( securityContext )
{
+ synchronizeContext();
+
handles.add( securityContext.insert(check) );
for (int i = 0; i < arg.length; i++)
More information about the seam-commits
mailing list