diff options
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)) { |