diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-09-06 16:33:48 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-10-26 16:01:40 -0500 |
commit | 5bb7933dd00f11ec87237d3bad7756989abb59ee (patch) | |
tree | 25f3260511f604e247814d068aa14b5c8159bb7f /base/common/src/com/netscape/cmscore/policy/PolicySet.java | |
parent | 6359021315622e97ae3c074752548f915e4af00d (diff) | |
download | pki-5bb7933dd00f11ec87237d3bad7756989abb59ee.tar.gz pki-5bb7933dd00f11ec87237d3bad7756989abb59ee.tar.xz pki-5bb7933dd00f11ec87237d3bad7756989abb59ee.zip |
Added REST interface to get domain info.
The REST interface for security domain has been updated to provide
a method to get the domain info. A CLI has been provided to access
this method.
Ticket #309
Diffstat (limited to 'base/common/src/com/netscape/cmscore/policy/PolicySet.java')
-rw-r--r-- | base/common/src/com/netscape/cmscore/policy/PolicySet.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/common/src/com/netscape/cmscore/policy/PolicySet.java b/base/common/src/com/netscape/cmscore/policy/PolicySet.java index 8e8d60046..b5e3459d1 100644 --- a/base/common/src/com/netscape/cmscore/policy/PolicySet.java +++ b/base/common/src/com/netscape/cmscore/policy/PolicySet.java @@ -89,7 +89,7 @@ public class PolicySet implements IPolicySet { /** * Remplaces a policy rule identified by the given name. * - * @param name The name of the rule to be replaced. + * @param id The name of the rule to be replaced. * @param rule The rule to be replaced. */ public void replaceRule(String ruleName, IPolicyRule rule) { @@ -107,7 +107,7 @@ public class PolicySet implements IPolicySet { /** * Removes a policy rule identified by the given name. * - * @param name The name of the rule to be removed. + * @param id The name of the rule to be removed. */ public void removeRule(String ruleName) { int index = mRuleNames.indexOf(ruleName); @@ -123,7 +123,7 @@ public class PolicySet implements IPolicySet { * Returns the rule identified by a given name. * <P> * - * @param name The name of the rule to be return. + * @param id The name of the rule to be return. * @return The rule identified by the given name or null if none exists. */ public IPolicyRule getRule(String ruleName) { |