diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-11 20:49:48 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-11 20:49:48 +0000 |
commit | fc8f3f7d9af375bb06ac7d1f1f2ab7440ecb2d3e (patch) | |
tree | f519c681598ff690f374e29250479db234fd6020 /branches/sca-java-1.x/modules | |
parent | 46c833c2132670f5edd1b9f18763252d189e7b7a (diff) |
Java doc and small formatting updates to policy security http
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@803290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
3 files changed, 20 insertions, 6 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; } - } diff --git a/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationPolicyProviderFactory.java b/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationPolicyProviderFactory.java index ec6111a3ef..75176bba9b 100644 --- a/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationPolicyProviderFactory.java +++ b/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationPolicyProviderFactory.java @@ -22,9 +22,6 @@ package org.apache.tuscany.sca.policy.security.http; import org.apache.tuscany.sca.assembly.Binding; import org.apache.tuscany.sca.assembly.Implementation; import org.apache.tuscany.sca.core.ExtensionPointRegistry; -import org.apache.tuscany.sca.policy.security.jaas.JaasAuthenticationImplementationPolicyProvider; -import org.apache.tuscany.sca.policy.security.jaas.JaasAuthenticationPolicy; -import org.apache.tuscany.sca.policy.security.jaas.JaasAuthenticationServicePolicyProvider; import org.apache.tuscany.sca.provider.PolicyProvider; import org.apache.tuscany.sca.provider.PolicyProviderFactory; import org.apache.tuscany.sca.runtime.RuntimeComponent; diff --git a/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationServicePolicyProvider.java b/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationServicePolicyProvider.java index 69520081b3..b4515c7464 100644 --- a/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationServicePolicyProvider.java +++ b/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationServicePolicyProvider.java @@ -211,6 +211,11 @@ public class LDAPRealmAuthenticationServicePolicyProvider implements PolicyProvi return polices; } + /** + * Find a given configured operation + * @param operation + * @return + */ private ConfiguredOperation findOperation(Operation operation) { ConfiguredOperation configuredOperation = null; |