Author: shane.bryzak(a)jboss.com
Date: 2009-04-15 18:34:24 -0400 (Wed, 15 Apr 2009)
New Revision: 10431
Modified:
trunk/src/main/org/jboss/seam/drools/SeamGlobalResolver.java
trunk/src/main/org/jboss/seam/security/permission/RuleBasedPermissionResolver.java
Log:
JBSEAM-3877
Modified: trunk/src/main/org/jboss/seam/drools/SeamGlobalResolver.java
===================================================================
--- trunk/src/main/org/jboss/seam/drools/SeamGlobalResolver.java 2009-04-15 22:26:06 UTC
(rev 10430)
+++ trunk/src/main/org/jboss/seam/drools/SeamGlobalResolver.java 2009-04-15 22:34:24 UTC
(rev 10431)
@@ -11,7 +11,7 @@
* @author Gavin King
*
*/
-class SeamGlobalResolver implements GlobalResolver
+public class SeamGlobalResolver implements GlobalResolver
{
private GlobalResolver delegate;
Modified:
trunk/src/main/org/jboss/seam/security/permission/RuleBasedPermissionResolver.java
===================================================================
---
trunk/src/main/org/jboss/seam/security/permission/RuleBasedPermissionResolver.java 2009-04-15
22:26:06 UTC (rev 10430)
+++
trunk/src/main/org/jboss/seam/security/permission/RuleBasedPermissionResolver.java 2009-04-15
22:34:24 UTC (rev 10431)
@@ -27,6 +27,7 @@
import org.jboss.seam.annotations.Startup;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.contexts.Contexts;
+import org.jboss.seam.drools.SeamGlobalResolver;
import org.jboss.seam.log.LogProvider;
import org.jboss.seam.log.Logging;
import org.jboss.seam.security.Identity;
@@ -70,6 +71,7 @@
if (getSecurityRules() != null)
{
setSecurityContext(getSecurityRules().newStatefulSession(false));
+ getSecurityContext().setGlobalResolver(new
SeamGlobalResolver(getSecurityContext().getGlobalResolver()));
}
if (getSecurityContext() == null)