diff options
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationImplementationPolicyProvider.java | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationImplementationPolicyProvider.java b/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationImplementationPolicyProvider.java index ad217d69ff..dd454f21c7 100644 --- a/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationImplementationPolicyProvider.java +++ b/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationImplementationPolicyProvider.java @@ -62,7 +62,9 @@ public class LDAPRealmAuthenticationImplementationPolicyProvider implements Poli */ /** - * + * Find applicable authentication policySets + * It first check if any explicitly policySet was identified + * Otherwise it look into the list of applicablePolicySets * @param op * @return */ @@ -113,6 +115,13 @@ public class LDAPRealmAuthenticationImplementationPolicyProvider implements Poli return polices; } + /** + * Find applicable authorization policySets + * It first check if any explicitly policySet was identified + * Otherwise it look into the list of applicablePolicySets + * @param op + * @return + */ private List<AuthorizationPolicy> findAuthorizationPolicies(Operation op) { List<AuthorizationPolicy> polices = new ArrayList<AuthorizationPolicy>(); @@ -161,7 +170,11 @@ public class LDAPRealmAuthenticationImplementationPolicyProvider implements Poli return polices; } - + /** + * Find a given configured operation + * @param operation + * @return + */ private ConfiguredOperation findOperation(Operation operation) { ConfiguredOperation configuredOperation = null; @@ -174,5 +187,4 @@ public class LDAPRealmAuthenticationImplementationPolicyProvider implements Poli return configuredOperation; } - } |