diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-05 14:49:11 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-09 10:03:25 -0500 |
commit | 7c7b9d023cd466c1771068badc020dab36beb553 (patch) | |
tree | 178877eb83e25336be7577953945fbdb0b9e1a15 /base/common/src/com/netscape/certsrv/publish | |
parent | da1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff) | |
download | pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.gz pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.xz pki-7c7b9d023cd466c1771068badc020dab36beb553.zip |
Removed whitespaces from Java code.
Whitespaces in Java code have been removed with the following command:
find . -not -path .git -name *.java -exec sed -i 's/[[:blank:]]\+$//' {} \;
Ticket #134
Diffstat (limited to 'base/common/src/com/netscape/certsrv/publish')
26 files changed, 142 insertions, 142 deletions
diff --git a/base/common/src/com/netscape/certsrv/publish/ECompSyntaxErr.java b/base/common/src/com/netscape/certsrv/publish/ECompSyntaxErr.java index a3a109900..81e8a9a84 100644 --- a/base/common/src/com/netscape/certsrv/publish/ECompSyntaxErr.java +++ b/base/common/src/com/netscape/certsrv/publish/ECompSyntaxErr.java @@ -24,7 +24,7 @@ import com.netscape.certsrv.ldap.ELdapException; * error is found while evaluating a PKI component. An example * would be in trying to evaluate a PKI authentication message and * the parsing operation fails due to a missing token. - * + * * @version $Revision$ $Date$ */ public class ECompSyntaxErr extends ELdapException { @@ -36,7 +36,7 @@ public class ECompSyntaxErr extends ELdapException { /** * Construct a ECompSyntaxErr - * + * * @param errorString The descriptive error condition. */ diff --git a/base/common/src/com/netscape/certsrv/publish/EMapperNotFound.java b/base/common/src/com/netscape/certsrv/publish/EMapperNotFound.java index fdf4a1b9f..39738bb72 100644 --- a/base/common/src/com/netscape/certsrv/publish/EMapperNotFound.java +++ b/base/common/src/com/netscape/certsrv/publish/EMapperNotFound.java @@ -21,7 +21,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Exception for Publish Mapper not found. - * + * * @version $Revision$ $Date$ */ public class EMapperNotFound extends ELdapException { @@ -33,7 +33,7 @@ public class EMapperNotFound extends ELdapException { /** * Constructs a exception for a missing required mapper - * + * * @param errorString Detailed error message. */ public EMapperNotFound(String errorString) { diff --git a/base/common/src/com/netscape/certsrv/publish/EMapperPluginNotFound.java b/base/common/src/com/netscape/certsrv/publish/EMapperPluginNotFound.java index f8f18c5ff..dfa710578 100644 --- a/base/common/src/com/netscape/certsrv/publish/EMapperPluginNotFound.java +++ b/base/common/src/com/netscape/certsrv/publish/EMapperPluginNotFound.java @@ -21,7 +21,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Exception for Mapper Plugin not found. - * + * * @version $Revision$ $Date$ */ public class EMapperPluginNotFound extends ELdapException { @@ -33,7 +33,7 @@ public class EMapperPluginNotFound extends ELdapException { /** * Constructs a exception for a missing mapper plugin - * + * * @param errorString Detailed error message. */ public EMapperPluginNotFound(String errorString) { diff --git a/base/common/src/com/netscape/certsrv/publish/EPublisherNotFound.java b/base/common/src/com/netscape/certsrv/publish/EPublisherNotFound.java index 176001e99..2f25afd95 100644 --- a/base/common/src/com/netscape/certsrv/publish/EPublisherNotFound.java +++ b/base/common/src/com/netscape/certsrv/publish/EPublisherNotFound.java @@ -21,7 +21,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Exception for Publisher not found. Required for successful publishing. - * + * * @version $Revision$ $Date$ */ public class EPublisherNotFound extends ELdapException { @@ -33,7 +33,7 @@ public class EPublisherNotFound extends ELdapException { /** * Constructs a exception for a missing required publisher. - * + * * @param errorString Detailed error message. */ public EPublisherNotFound(String errorString) { diff --git a/base/common/src/com/netscape/certsrv/publish/EPublisherPluginNotFound.java b/base/common/src/com/netscape/certsrv/publish/EPublisherPluginNotFound.java index 56076863a..a6385b187 100644 --- a/base/common/src/com/netscape/certsrv/publish/EPublisherPluginNotFound.java +++ b/base/common/src/com/netscape/certsrv/publish/EPublisherPluginNotFound.java @@ -21,7 +21,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Exception for Publisher Plugin not found. Plugin implementation is required to actually publish. - * + * * @version $Revision$ $Date$ */ public class EPublisherPluginNotFound extends ELdapException { @@ -33,7 +33,7 @@ public class EPublisherPluginNotFound extends ELdapException { /** * Constructs a exception for a missing publisher plugin. - * + * * @param errorString Detailed error message. */ public EPublisherPluginNotFound(String errorString) { diff --git a/base/common/src/com/netscape/certsrv/publish/ERuleNotFound.java b/base/common/src/com/netscape/certsrv/publish/ERuleNotFound.java index 01c9897eb..4a975e512 100644 --- a/base/common/src/com/netscape/certsrv/publish/ERuleNotFound.java +++ b/base/common/src/com/netscape/certsrv/publish/ERuleNotFound.java @@ -21,7 +21,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Exception for Ldap Publishing Rule not found. - * + * * @version $Revision$ $Date$ */ public class ERuleNotFound extends ELdapException { @@ -33,7 +33,7 @@ public class ERuleNotFound extends ELdapException { /** * Constructs a exception for a missing required rule, which links a publisher and mapper. - * + * * @param errorString Detailed error message. */ public ERuleNotFound(String errorString) { diff --git a/base/common/src/com/netscape/certsrv/publish/ERulePluginNotFound.java b/base/common/src/com/netscape/certsrv/publish/ERulePluginNotFound.java index f619e7f4a..ca66dbaf5 100644 --- a/base/common/src/com/netscape/certsrv/publish/ERulePluginNotFound.java +++ b/base/common/src/com/netscape/certsrv/publish/ERulePluginNotFound.java @@ -21,7 +21,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Exception for Publisher Rule plugin not found. Plugin required to implement Ldap Rule. - * + * * @version $Revision$ $Date$ */ public class ERulePluginNotFound extends ELdapException { @@ -33,7 +33,7 @@ public class ERulePluginNotFound extends ELdapException { /** * Constructs a exception for a missing rule plugin. - * + * * @param errorString Detailed error message. */ public ERulePluginNotFound(String errorString) { diff --git a/base/common/src/com/netscape/certsrv/publish/ICRLPublisher.java b/base/common/src/com/netscape/certsrv/publish/ICRLPublisher.java index cd5763cdb..ca13886e0 100644 --- a/base/common/src/com/netscape/certsrv/publish/ICRLPublisher.java +++ b/base/common/src/com/netscape/certsrv/publish/ICRLPublisher.java @@ -31,57 +31,57 @@ import com.netscape.certsrv.base.ISubsystem; * Certificiate Manager/LDAP Publishing panel. This * interface provides administrator additional capability * of publishing CRL to different destinations. - * + * * The CRL publishing frequency is configured via * Netscape Certificate Server Console's * Certificate Manager/Revocation List panel. * The CRL publishing may occur either everytime a * certificate is revoked or at a pre-defined interval. - * + * * To try out this new CRL publisher mechanism, do * the following: * (1) Write a sample CRL publisher class that implements * ICRLPublisher interface. For example, - * + * * <code> * public class CRLPublisher implements ICRLPublisher * { - * public void init(ISubsystem owner, IConfigStore config) + * public void init(ISubsystem owner, IConfigStore config) * throws EBaseException * { * log(ILogger.LL_DEBUG, "CRLPublisher: Initialized"); * } - * - * public void publish(String issuingPointId, X509CRLImpl crl) - * throws EBaseException + * + * public void publish(String issuingPointId, X509CRLImpl crl) + * throws EBaseException * { - * log(ILogger.LL_DEBUG, "CRLPublisher: " + issuingPointId + + * log(ILogger.LL_DEBUG, "CRLPublisher: " + issuingPointId + * " crl=" + crl); * } - * + * * public void log(int level, String msg) * { - * Logger.getLogger().log(ILogger.EV_SYSTEM, + * Logger.getLogger().log(ILogger.EV_SYSTEM, * null, ILogger.S_OTHER, level, * msg); * } * } * </code> - * + * * (2) Compile the class and place the class into * <server-root>\bin\cert\classes directory. * (3) Add the following parameter to CMS.cfg * ca.crlPublisher.class=<implementation class> * For example, * ca.crlPublisher.class=myCRLPublisher - * + * * @version $Revision$, $Date$ */ public interface ICRLPublisher { /** * Initializes this CRL publisher. - * + * * @param owner parent of the publisher. An object of type * CertificateAuthority. * @param config config store for this publisher. If this @@ -96,7 +96,7 @@ public interface ICRLPublisher { /** * Publishes CRL. This method is invoked by CMS based * on the configured CRL publishing frequency. - * + * * @param issuingPointId CRL issuing point identifier * (i.e. MasterCRL) * @param crl CRL that is publishing diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java b/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java index 3acaeb580..edf28de90 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java @@ -26,7 +26,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Interface for mapping a X509 certificate to a LDAP entry. - * + * * @version $Revision$ $Date$ */ public interface ILdapCertMapper extends ILdapPlugin { @@ -54,7 +54,7 @@ public interface ILdapCertMapper extends ILdapPlugin { /** * maps a certificate to a LDAP entry. * returns dn of the mapped LDAP entry. - * + * * @param conn the LDAP connection * @param cert the certificate to map * @param checkForCert whether to check for the presence of the cert diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapCrlMapper.java b/base/common/src/com/netscape/certsrv/publish/ILdapCrlMapper.java index 252a09ec3..93133c552 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapCrlMapper.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapCrlMapper.java @@ -26,7 +26,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Interface for mapping a CRL to a LDAP entry. - * + * * @version $Revision$ $Date$ */ public interface ILdapCrlMapper { @@ -34,7 +34,7 @@ public interface ILdapCrlMapper { /** * maps a crl to a LDAP entry. * returns dn of the mapped LDAP entry. - * + * * @param conn the LDAP connection * @param crl the CRL to map * @param checkForCrl whether to check for the presence of the CRL @@ -50,7 +50,7 @@ public interface ILdapCrlMapper { /** * initialize from config store. - * + * * @param config the configuration store to initialize from. * @exception ELdapException Initialization failed due to Ldap error. * @exception EBaseException Initialization failed. diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapExpression.java b/base/common/src/com/netscape/certsrv/publish/ILdapExpression.java index 4537636c1..068507e9e 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapExpression.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapExpression.java @@ -23,7 +23,7 @@ import com.netscape.certsrv.request.IRequest; /** * Interface for a Ldap predicate expression. - * + * * @version $Revision$, $Date$ */ public interface ILdapExpression { @@ -42,7 +42,7 @@ public interface ILdapExpression { /** * Evaluate the Expression. - * + * * @param sc The SessionContext on which we are applying the condition. * @return The return value. * @exception ELdapExeption Failed to evaluate expression. @@ -52,7 +52,7 @@ public interface ILdapExpression { /** * Evaluate the Expression. - * + * * @param req The PKIRequest on which we are applying the condition. * @return The return value. * @exception ELdapExeption Failed to evaluate expression. @@ -62,7 +62,7 @@ public interface ILdapExpression { /** * Convert to a string. - * + * * @return String representation of expression. */ public String toString(); diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapMapper.java b/base/common/src/com/netscape/certsrv/publish/ILdapMapper.java index 09238421f..186af8825 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapMapper.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapMapper.java @@ -26,7 +26,7 @@ import com.netscape.certsrv.request.IRequest; /** * Interface for mapping a X509 certificate to a LDAP entry. - * + * * @version $Revision$ $Date$ */ public interface ILdapMapper extends ILdapPlugin { @@ -54,7 +54,7 @@ public interface ILdapMapper extends ILdapPlugin { /** * maps a certificate to a LDAP entry. * returns dn of the mapped LDAP entry. - * + * * @param conn the LDAP connection * @param obj the object to map * @return dn indicates whether a mapping was successful @@ -67,7 +67,7 @@ public interface ILdapMapper extends ILdapPlugin { /** * maps a certificate to a LDAP entry. * returns dn of the mapped LDAP entry. - * + * * @param conn the LDAP connection * @param r the request to map * @param obj the object to map diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapPlugin.java b/base/common/src/com/netscape/certsrv/publish/ILdapPlugin.java index b0a9fe73b..f0c53f804 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapPlugin.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapPlugin.java @@ -23,14 +23,14 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Interface for any Ldap plugin. - * + * * @version $Revision$ $Date$ */ public interface ILdapPlugin { /** * Initialize from config store. - * + * * @param config the configuration store to initialize from. * @exception ELdapException initialization failed due to Ldap error. * @exception EBaseException initialization failed. diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapPluginImpl.java b/base/common/src/com/netscape/certsrv/publish/ILdapPluginImpl.java index db52a9106..5287383b4 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapPluginImpl.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapPluginImpl.java @@ -25,14 +25,14 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Interface for any ldap plugin. Plugin implementation is defined here. - * + * * @version $Revision$ $Date$ */ public interface ILdapPluginImpl extends IPluginImpl { /** * initialize from config store. - * + * * @param config the configuration store to initialize from. * @exception ELdapException initializtion failed due to Ldap error. * @exception EBaseException initialization failed. @@ -42,7 +42,7 @@ public interface ILdapPluginImpl extends IPluginImpl { /** * initialize from config store and Isubsystem. - * + * * @param config the configuration store to initialize from. * @exception ELdapException initializtion failed due to Ldap error. * @exception EBaseException initialization failed. diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapPublishModule.java b/base/common/src/com/netscape/certsrv/publish/ILdapPublishModule.java index 81e5be952..e918973cd 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapPublishModule.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapPublishModule.java @@ -22,7 +22,7 @@ import com.netscape.certsrv.request.IRequestListener; /** * Handles requests to perform Ldap publishing. - * + * * @version $Revision$ $Date$ */ public interface ILdapPublishModule extends IRequestListener { @@ -30,13 +30,13 @@ public interface ILdapPublishModule extends IRequestListener { /** * initialize ldap publishing module with config store */ - // public void init(ICertAuthority owner, IConfigStore config) + // public void init(ICertAuthority owner, IConfigStore config) // throws EBaseException, ELdapException; /** * Accepts completed requests from an authority and * performs ldap publishing. - * + * * @param request The publishing request. */ public void accept(IRequest request); diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapPublisher.java b/base/common/src/com/netscape/certsrv/publish/ILdapPublisher.java index 398d86453..38b278634 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapPublisher.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapPublisher.java @@ -25,7 +25,7 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Interface for publishing certificate or crl to database store. - * + * * @version $Revision$ $Date$ */ public interface ILdapPublisher extends ILdapPlugin { @@ -55,7 +55,7 @@ public interface ILdapPublisher extends ILdapPlugin { /** * Publish an object. - * + * * @param conn a Ldap connection * (null for non-LDAP publishing) * @param dn dn of the ldap entry to publish cert @@ -70,7 +70,7 @@ public interface ILdapPublisher extends ILdapPlugin { /** * Unpublish an object. - * + * * @param conn the Ldap connection * (null for non-LDAP publishing) * @param dn dn of the ldap entry to unpublish cert diff --git a/base/common/src/com/netscape/certsrv/publish/ILdapRule.java b/base/common/src/com/netscape/certsrv/publish/ILdapRule.java index 7bf19b070..69aae10f4 100644 --- a/base/common/src/com/netscape/certsrv/publish/ILdapRule.java +++ b/base/common/src/com/netscape/certsrv/publish/ILdapRule.java @@ -24,7 +24,7 @@ import com.netscape.certsrv.base.IConfigStore; /** * Interface for publishing rule which associates a Publisher with a Mapper. - * + * * @version $Revision$ $Date$ */ public interface ILdapRule extends ILdapPlugin { @@ -34,7 +34,7 @@ public interface ILdapRule extends ILdapPlugin { /** * Initialize the plugin. - * + * * @exception EBaseException Initialization failed. */ public void init(IPublisherProcessor processor, IConfigStore diff --git a/base/common/src/com/netscape/certsrv/publish/IPublishRuleSet.java b/base/common/src/com/netscape/certsrv/publish/IPublishRuleSet.java index 911d4e132..affe35132 100644 --- a/base/common/src/com/netscape/certsrv/publish/IPublishRuleSet.java +++ b/base/common/src/com/netscape/certsrv/publish/IPublishRuleSet.java @@ -41,7 +41,7 @@ import com.netscape.certsrv.request.IRequest; * checked in the order to find the first matched publishing rule as the * mapping rule to (un)publish the object. * <P> - * + * * @version $Revision$, $Date$ */ public interface IPublishRuleSet { @@ -50,7 +50,7 @@ public interface IPublishRuleSet { /** * Returns the name of the publishing rule set. * <P> - * + * * @return The name of the publishing rule set. */ String getName(); @@ -58,7 +58,7 @@ public interface IPublishRuleSet { /** * Returns the no of publishing rules in a set. * <P> - * + * * @return the no of publishing rules. */ int count(); @@ -66,7 +66,7 @@ public interface IPublishRuleSet { /** * Add a publishing rule * <P> - * + * * @param aliasName The name of the publishing rule to be added. * @param rule rule The publishing rule to be added. */ @@ -74,7 +74,7 @@ public interface IPublishRuleSet { /** * Removes a publishing rule identified by the given name. - * + * * @param ruleName The name of the publishing rule to be removed. */ void removeRule(String ruleName); @@ -82,7 +82,7 @@ public interface IPublishRuleSet { /** * Get the publishing rule identified by a given name. * <P> - * + * * @param ruleName The name of the publishing rule to be return. * @return The publishing rule identified by the given name or null if none exists. */ @@ -91,7 +91,7 @@ public interface IPublishRuleSet { /** * Get the publishing rule identified by a corresponding request. * <P> - * + * * @param req The request from which rule will be identified. * @return The publishing rule or null if none exists. */ @@ -100,7 +100,7 @@ public interface IPublishRuleSet { /** * Get an enumeration of publishing rules. * <P> - * + * * @return An enumeration of publishing rules. */ Enumeration<ILdapRule> getRules(); @@ -112,7 +112,7 @@ public interface IPublishRuleSet { * Use the mapper to find the dn of the LDAP entry and use the publisher * to publish the object in the request. * <P> - * + * * @param conn The Ldap connection * @param req The request to apply policies on. * @exception ELdapException publish failed due to Ldap error. diff --git a/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java b/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java index 3ed985403..a2f8fcc71 100644 --- a/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java +++ b/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java @@ -34,7 +34,7 @@ import com.netscape.certsrv.request.IRequest; /** * Controls the publishing process from the top level. Maintains * a collection of Publishers , Mappers, and Publish Rules. - * + * * @version $Revision$ $Date$ */ @@ -62,66 +62,66 @@ public interface IPublisherProcessor extends ISubsystem { public static final String PROP_TYPE = "type"; /** - * + * * Returns Hashtable of rule plugins. */ public Hashtable<String, RulePlugin> getRulePlugins(); /** - * + * * Returns Hashtable of rule instances. */ public Hashtable<String, ILdapRule> getRuleInsts(); /** - * + * * Returns Hashtable of mapper plugins. */ public Hashtable<String, MapperPlugin> getMapperPlugins(); /** - * + * * Returns Hashtable of publisher plugins. */ public Hashtable<String, PublisherPlugin> getPublisherPlugins(); /** - * + * * Returns Hashtable of rule mapper instances. */ public Hashtable<String, MapperProxy> getMapperInsts(); /** - * + * * Returns Hashtable of rule publisher instances. */ public Hashtable<String, PublisherProxy> getPublisherInsts(); /** - * + * * Returns list of rules based on publishing type. - * + * * @param publishingType Type for which to retrieve rule list. */ public Enumeration<ILdapRule> getRules(String publishingType); /** - * + * * Returns list of rules based on publishing type and publishing request. - * + * * @param publishingType Type for which to retrieve rule list. * @param req Corresponding publish request. */ public Enumeration<ILdapRule> getRules(String publishingType, IRequest req); /** - * + * * Returns mapper initial default parameters. - * + * * @param implName name of MapperPlugin. */ @@ -129,9 +129,9 @@ public interface IPublisherProcessor extends ISubsystem { ELdapException; /** - * + * * Returns mapper current instance parameters. - * + * * @param insName name of MapperProxy. * @exception ELdapException failed due to Ldap error. */ @@ -140,9 +140,9 @@ public interface IPublisherProcessor extends ISubsystem { ELdapException; /** - * + * * Returns publisher initial default parameters. - * + * * @param implName name of PublisherPlugin. * @exception ELdapException failed due to Ldap error. */ @@ -150,9 +150,9 @@ public interface IPublisherProcessor extends ISubsystem { ELdapException; /** - * + * * Returns true if MapperInstance is enabled. - * + * * @param insName name of MapperProxy. * @return true if enabled. false if disabled. */ @@ -160,54 +160,54 @@ public interface IPublisherProcessor extends ISubsystem { public boolean isMapperInstanceEnable(String insName); /** - * + * * Returns ILdapMapper instance that is currently active. - * + * * @param insName name of MapperProxy. * @return instance of ILdapMapper. */ public ILdapMapper getActiveMapperInstance(String insName); /** - * + * * Returns ILdapMapper instance based on name of MapperProxy. - * + * * @param insName name of MapperProxy. * @return instance of ILdapMapper. */ public ILdapMapper getMapperInstance(String insName); /** - * + * * Returns true publisher instance is currently enabled. - * + * * @param insName name of PublisherProxy. * @return true if enabled. */ public boolean isPublisherInstanceEnable(String insName); /** - * + * * Returns ILdapPublisher instance that is currently active. - * + * * @param insName name of PublisherProxy. * @return instance of ILdapPublisher. */ public ILdapPublisher getActivePublisherInstance(String insName); /** - * + * * Returns ILdapPublisher instance. - * + * * @param insName name of PublisherProxy. * @return instance of ILdapPublisher. */ public ILdapPublisher getPublisherInstance(String insName); /** - * + * * Returns Vector of PublisherIntance's current instance parameters. - * + * * @param insName name of PublisherProxy. * @return Vector of current instance parameters. */ @@ -215,9 +215,9 @@ public interface IPublisherProcessor extends ISubsystem { ELdapException; /** - * + * * Returns Vector of RulePlugin's initial default parameters. - * + * * @param implName name of RulePlugin. * @return Vector of initial default parameters. * @exception ELdapException failed due to Ldap error. @@ -226,9 +226,9 @@ public interface IPublisherProcessor extends ISubsystem { ELdapException; /** - * + * * Returns Vector of RulePlugin's current instance parameters. - * + * * @param implName name of RulePlugin. * @return Vector of current instance parameters. * @exception ELdapException failed due to Ldap error. @@ -239,7 +239,7 @@ public interface IPublisherProcessor extends ISubsystem { /** * Set published flag - true when published, false when unpublished. * Not exist means not published. - * + * * @param serialNo serial number of publishable object. * @param published true for published, false for not. */ @@ -247,7 +247,7 @@ public interface IPublisherProcessor extends ISubsystem { /** * Publish ca cert, UpdateDir.java, jobs, request listeners - * + * * @param cert X509 certificate to be published. * @exception ELdapException publish failed due to Ldap error. */ @@ -264,7 +264,7 @@ public interface IPublisherProcessor extends ISubsystem { /** * Publishs regular user certificate based on the criteria * set in the request. - * + * * @param cert X509 certificate to be published. * @param req request which provides the criteria * @exception ELdapException publish failed due to Ldap error. @@ -275,7 +275,7 @@ public interface IPublisherProcessor extends ISubsystem { /** * Unpublish user certificate. This is used by * UnpublishExpiredJob. - * + * * @param cert X509 certificate to be unpublished. * @param req request which provides the criteria * @exception ELdapException unpublish failed due to Ldap error. @@ -287,7 +287,7 @@ public interface IPublisherProcessor extends ISubsystem { * publishes a crl by mapping the issuer name in the crl to an entry * and publishing it there. entry must be a certificate authority. * Note that this is used by cmsgateway/cert/UpdateDir.java - * + * * @param crl Certificate Revocation List * @param crlIssuingPointId name of the issuing point. * @exception ELdapException publish failed due to Ldap error. @@ -298,7 +298,7 @@ public interface IPublisherProcessor extends ISubsystem { /** * publishes a crl by mapping the issuer name in the crl to an entry * and publishing it there. entry must be a certificate authority. - * + * * @param dn Distinguished name to publish. * @param crl Certificate Revocation List * @exception ELdapException publish failed due to Ldap error. @@ -307,36 +307,36 @@ public interface IPublisherProcessor extends ISubsystem { throws ELdapException; /** - * + * * Return true if Ldap is enabled. - * + * * @return true if Ldap is enabled,otherwise false. */ public boolean ldapEnabled(); /** - * + * * Return true of PublisherProcessor is enabled. - * + * * @return true if is enabled, otherwise false. - * + * */ public boolean enabled(); /** - * + * * Return Authority for which this Processor operates. - * + * * @return Authority. */ public ISubsystem getAuthority(); /** - * + * * Perform logging function for this Processor. - * + * * @param level Log level to be used for this message * @param msg Message to be logged. */ @@ -344,16 +344,16 @@ public interface IPublisherProcessor extends ISubsystem { public void log(int level, String msg); /** - * + * * Returns LdapConnModule belonging to this Processor. - * + * * @return LdapConnModule. */ public ILdapConnModule getLdapConnModule(); /** * Sets the LdapConnModule belonging to this Processor. - * + * * @param m ILdapConnModule. */ public void setLdapConnModule(ILdapConnModule m); diff --git a/base/common/src/com/netscape/certsrv/publish/IXcertPublisherProcessor.java b/base/common/src/com/netscape/certsrv/publish/IXcertPublisherProcessor.java index b70a0626d..352ec02a8 100644 --- a/base/common/src/com/netscape/certsrv/publish/IXcertPublisherProcessor.java +++ b/base/common/src/com/netscape/certsrv/publish/IXcertPublisherProcessor.java @@ -22,14 +22,14 @@ import com.netscape.certsrv.ldap.ELdapException; /** * Interface for a publisher that has the capability of publishing * cross certs - * + * * @version $Revision$, $Date$ */ public interface IXcertPublisherProcessor extends IPublisherProcessor { /** * Publish crossCertificatePair. - * + * * @param pair Byte array representing cert pair. * @exception EldapException publish failed due to Ldap error. */ diff --git a/base/common/src/com/netscape/certsrv/publish/LdapCertMapResult.java b/base/common/src/com/netscape/certsrv/publish/LdapCertMapResult.java index 84a866095..1c2286a0d 100644 --- a/base/common/src/com/netscape/certsrv/publish/LdapCertMapResult.java +++ b/base/common/src/com/netscape/certsrv/publish/LdapCertMapResult.java @@ -21,7 +21,7 @@ package com.netscape.certsrv.publish; * Class that represents the result of a Ldap Mapping operation. * certificate map result: * Represented by a mapped entry as a DN and whether entry has the certificate. - * + * * @version $Revision$ $Date$ */ public class LdapCertMapResult { @@ -38,7 +38,7 @@ public class LdapCertMapResult { /** * Gets DN from the result. - * + * * @return Distinguished Name. */ public String getDn() { @@ -47,7 +47,7 @@ public class LdapCertMapResult { /** * Gets whether the ldap entry had a certificate from result. - * + * * @return true if cert is present, false otherwise. */ public boolean hasCert() { diff --git a/base/common/src/com/netscape/certsrv/publish/MapperPlugin.java b/base/common/src/com/netscape/certsrv/publish/MapperPlugin.java index b193e1b5f..3a489bce7 100644 --- a/base/common/src/com/netscape/certsrv/publish/MapperPlugin.java +++ b/base/common/src/com/netscape/certsrv/publish/MapperPlugin.java @@ -22,14 +22,14 @@ import com.netscape.certsrv.base.Plugin; /** * This class represents a registered mapper plugin. * <P> - * + * * @version $Revision$, $Date$ */ public class MapperPlugin extends Plugin { /** * Constructs a MapperPlugin based on a name and a path. - * + * * @param id Name of plugin. * @param path Classpath of plugin. */ diff --git a/base/common/src/com/netscape/certsrv/publish/MapperProxy.java b/base/common/src/com/netscape/certsrv/publish/MapperProxy.java index 95dc98d9c..df549e354 100644 --- a/base/common/src/com/netscape/certsrv/publish/MapperProxy.java +++ b/base/common/src/com/netscape/certsrv/publish/MapperProxy.java @@ -18,9 +18,9 @@ package com.netscape.certsrv.publish; /** - * + * * Class representing a LdapMapper. - * + * * @version $Revision$ $Date$ */ @@ -29,9 +29,9 @@ public class MapperProxy { private ILdapMapper mMapper; /** - * + * * Contructs MapperProxy . - * + * * @param enable Enabled or not. * @param mapper Corresponding ILdapMapper object. */ @@ -41,9 +41,9 @@ public class MapperProxy { } /** - * + * * Returns if enabled. - * + * * @return true if enabled, otherwise false. */ public boolean isEnable() { @@ -51,9 +51,9 @@ public class MapperProxy { } /** - * + * * Returns ILdapMapper object. - * + * * @return Intance of ILdapMapper object. */ public ILdapMapper getMapper() { diff --git a/base/common/src/com/netscape/certsrv/publish/PublisherPlugin.java b/base/common/src/com/netscape/certsrv/publish/PublisherPlugin.java index 5a163b80c..173643a6b 100644 --- a/base/common/src/com/netscape/certsrv/publish/PublisherPlugin.java +++ b/base/common/src/com/netscape/certsrv/publish/PublisherPlugin.java @@ -22,15 +22,15 @@ import com.netscape.certsrv.base.Plugin; /** * This class represents a registered publisher plugin. * <P> - * + * * @version $Revision$, $Date$ */ public class PublisherPlugin extends Plugin { /** - * + * * Constructs a PublisherPlugin based on name and classpath. - * + * * @param id name of plugin. * @param path Classpath of plugin. */ diff --git a/base/common/src/com/netscape/certsrv/publish/PublisherProxy.java b/base/common/src/com/netscape/certsrv/publish/PublisherProxy.java index eb71f3e56..8c05d7ce9 100644 --- a/base/common/src/com/netscape/certsrv/publish/PublisherProxy.java +++ b/base/common/src/com/netscape/certsrv/publish/PublisherProxy.java @@ -18,9 +18,9 @@ package com.netscape.certsrv.publish; /** - * + * * Class representing a proxy for a ILdapPublisher. - * + * * @version $Revision$ $Date$ */ @@ -29,9 +29,9 @@ public class PublisherProxy { private ILdapPublisher mPublisher; /** - * + * * Constructs a PublisherProxy based on a ILdapPublisher object and enabled boolean. - * + * * @param enable Proxy is enabled or not. * @param publisher Corresponding ILdapPublisher object. */ @@ -42,7 +42,7 @@ public class PublisherProxy { /** * Return if enabled or not. - * + * * @return true if enabled, otherwise false. */ public boolean isEnable() { @@ -51,7 +51,7 @@ public class PublisherProxy { /** * Return ILdapPublisher object. - * + * * @return Instance of ILdapPublisher. */ public ILdapPublisher getPublisher() { diff --git a/base/common/src/com/netscape/certsrv/publish/RulePlugin.java b/base/common/src/com/netscape/certsrv/publish/RulePlugin.java index b37a24d51..7856fc7d3 100644 --- a/base/common/src/com/netscape/certsrv/publish/RulePlugin.java +++ b/base/common/src/com/netscape/certsrv/publish/RulePlugin.java @@ -22,15 +22,15 @@ import com.netscape.certsrv.base.Plugin; /** * This class represents a registered Publishing Rule plugin. * <P> - * + * * @version $Revision$, $Date$ */ public class RulePlugin extends Plugin { /** - * + * * Constructs a RulePlugin based on name and classpath. - * + * * @param id name of RulePlugin. * @param path Classpath of RulePlugin. */ |