diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-16 12:13:44 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-16 12:13:44 +0000 |
commit | 9fbe040fb8c433369b0dfb67fd298037ea53804b (patch) | |
tree | b988990b2a8186fc2692db9d0818178bb38b1a70 /sca-java-2.x/trunk/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity | |
parent | a37832b899749c9378ba556a91a11554b65722ad (diff) |
TUSCANY-3876 - minimum changes to turn of implementation model sharing and represent implementation policy correctly.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136391 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity')
-rw-r--r-- | sca-java-2.x/trunk/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityImplementationPolicyProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityImplementationPolicyProvider.java b/sca-java-2.x/trunk/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityImplementationPolicyProvider.java index ebbc2ba5ff..04d7152a49 100644 --- a/sca-java-2.x/trunk/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityImplementationPolicyProvider.java +++ b/sca-java-2.x/trunk/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityImplementationPolicyProvider.java @@ -36,7 +36,7 @@ public class SecurityIdentityImplementationPolicyProvider extends BasePolicyProv private Implementation implementation; public SecurityIdentityImplementationPolicyProvider(RuntimeComponent component) { - super(SecurityIdentityPolicy.class, component); + super(SecurityIdentityPolicy.class, component.getImplementation()); this.component = component; this.implementation = component.getImplementation(); } @@ -61,7 +61,7 @@ public class SecurityIdentityImplementationPolicyProvider extends BasePolicyProv } */ - List<PolicySet> policySets = component.getPolicySets(); + List<PolicySet> policySets = implementation.getPolicySets(); for (PolicySet ps : policySets) { for (Object p : ps.getPolicies()) { if (SecurityIdentityPolicy.class.isInstance(p)) { |