[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...
Gavin King
gavin.king at jboss.com
Wed Feb 21 20:27:54 EST 2007
User: gavin
Date: 07/02/21 20:27:54
Modified: src/main/org/jboss/seam/security RuleBasedIdentity.java
Log:
dont hammer the configured securityRules
Revision Changes Path
1.3 +4 -1 jboss-seam/src/main/org/jboss/seam/security/RuleBasedIdentity.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RuleBasedIdentity.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/RuleBasedIdentity.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- RuleBasedIdentity.java 17 Feb 2007 04:08:02 -0000 1.2
+++ RuleBasedIdentity.java 22 Feb 2007 01:27:54 -0000 1.3
@@ -43,7 +43,10 @@
protected void initSecurityContext()
{
+ if (securityRules==null)
+ {
securityRules = (RuleBase) Component.getInstance(RULES_COMPONENT_NAME, true);
+ }
if (securityRules != null)
{
More information about the jboss-cvs-commits
mailing list