tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r667683 - /incubator/tuscany/java/sca/modules/policy-security-jsr250/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.java
Date Fri, 13 Jun 2008 22:36:14 GMT
Author: lresende
Date: Fri Jun 13 15:36:14 2008
New Revision: 667683

URL: http://svn.apache.org/viewvc?rev=667683&view=rev
Log:
Marking JSR250 policiSet references resolved.

Modified:
    incubator/tuscany/java/sca/modules/policy-security-jsr250/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.java

Modified: incubator/tuscany/java/sca/modules/policy-security-jsr250/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/policy-security-jsr250/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.java?rev=667683&r1=667682&r2=667683&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/policy-security-jsr250/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.java
(original)
+++ incubator/tuscany/java/sca/modules/policy-security-jsr250/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.java
Fri Jun 13 15:36:14 2008
@@ -79,6 +79,7 @@
             PolicySet policySet = policyFactory.createPolicySet();
             policySet.setName(RUN_AS);
             policySet.getPolicies().add(policy);
+            policySet.setUnresolved(false);
             ((org.apache.tuscany.sca.policy.PolicySetAttachPoint)type).getPolicySets().add(policySet);
         }
         
@@ -98,6 +99,7 @@
             PolicySet policySet = policyFactory.createPolicySet();
             policySet.setName(ALLOW);
             policySet.getPolicies().add(policy);
+            policySet.setUnresolved(false);
             ((org.apache.tuscany.sca.policy.PolicySetAttachPoint)type).getPolicySets().add(policySet);
         }
         
@@ -109,6 +111,7 @@
             PolicySet policySet = policyFactory.createPolicySet();
             policySet.setName(PERMIT_ALL);
             policySet.getPolicies().add(policy);
+            policySet.setUnresolved(false);
             ((org.apache.tuscany.sca.policy.PolicySetAttachPoint)type).getPolicySets().add(policySet);
         }
         
@@ -136,6 +139,7 @@
             PolicySet policySet = policyFactory.createPolicySet();
             policySet.setName(ALLOW);
             policySet.getPolicies().add(policy);
+            policySet.setUnresolved(false);
             confOp.getPolicySets().add(policySet);
         }
         
@@ -151,6 +155,7 @@
             PolicySet policySet = policyFactory.createPolicySet();
             policySet.setName(PERMIT_ALL);
             policySet.getPolicies().add(policy);
+            policySet.setUnresolved(false);
             confOp.getPolicySets().add(policySet);
         }
         
@@ -166,6 +171,7 @@
             PolicySet policySet = policyFactory.createPolicySet();
             policySet.setName(DENY_ALL);
             policySet.getPolicies().add(policy);
+            policySet.setUnresolved(false);
             confOp.getPolicySets().add(policySet);
         }
     }    



Mime
View raw message