From 7c7b9d023cd466c1771068badc020dab36beb553 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 5 Apr 2012 14:49:11 -0500 Subject: 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 --- .../netscape/certsrv/profile/EDeferException.java | 4 +- .../certsrv/profile/EProfileException.java | 4 +- .../netscape/certsrv/profile/ERejectException.java | 4 +- .../netscape/certsrv/profile/IEnrollProfile.java | 4 +- .../certsrv/profile/IPolicyConstraint.java | 14 ++-- .../netscape/certsrv/profile/IPolicyDefault.java | 26 +++---- .../src/com/netscape/certsrv/profile/IProfile.java | 88 +++++++++++----------- .../certsrv/profile/IProfileAuthenticator.java | 20 ++--- .../netscape/certsrv/profile/IProfileContext.java | 6 +- .../com/netscape/certsrv/profile/IProfileEx.java | 2 +- .../netscape/certsrv/profile/IProfileInput.java | 20 ++--- .../netscape/certsrv/profile/IProfileOutput.java | 20 ++--- .../netscape/certsrv/profile/IProfilePolicy.java | 8 +- .../certsrv/profile/IProfileSubsystem.java | 24 +++--- .../netscape/certsrv/profile/IProfileUpdater.java | 12 +-- 15 files changed, 128 insertions(+), 128 deletions(-) (limited to 'base/common/src/com/netscape/certsrv/profile') diff --git a/base/common/src/com/netscape/certsrv/profile/EDeferException.java b/base/common/src/com/netscape/certsrv/profile/EDeferException.java index c92630b97..f3f4e5c1a 100644 --- a/base/common/src/com/netscape/certsrv/profile/EDeferException.java +++ b/base/common/src/com/netscape/certsrv/profile/EDeferException.java @@ -24,7 +24,7 @@ package com.netscape.certsrv.profile; *

* A deferred request will not be processed immediately. Manual approval is required for processing the request again. *

- * + * * @version $Revision$, $Date$ */ public class EDeferException extends EProfileException { @@ -36,7 +36,7 @@ public class EDeferException extends EProfileException { /** * Creates a defer exception. - * + * * @param msg localized message that will be * displayed to end user. This message * should indicate the reason why a request diff --git a/base/common/src/com/netscape/certsrv/profile/EProfileException.java b/base/common/src/com/netscape/certsrv/profile/EProfileException.java index 37f968a67..0363139cb 100644 --- a/base/common/src/com/netscape/certsrv/profile/EProfileException.java +++ b/base/common/src/com/netscape/certsrv/profile/EProfileException.java @@ -24,7 +24,7 @@ import com.netscape.certsrv.base.EBaseException; *

* This is the base class for all profile-specific exception. *

- * + * * @version $Revision$, $Date$ */ public class EProfileException extends EBaseException { @@ -36,7 +36,7 @@ public class EProfileException extends EBaseException { /** * Creates a profile exception. - * + * * @param msg additional message for the handler * of the exception. The message may * or may not be localized. diff --git a/base/common/src/com/netscape/certsrv/profile/ERejectException.java b/base/common/src/com/netscape/certsrv/profile/ERejectException.java index 59b35bcdb..cceeb12ab 100644 --- a/base/common/src/com/netscape/certsrv/profile/ERejectException.java +++ b/base/common/src/com/netscape/certsrv/profile/ERejectException.java @@ -23,7 +23,7 @@ package com.netscape.certsrv.profile; *

* A rejected request cannot be reprocessed. Rejected request is considered as a request in its terminal state. *

- * + * * @version $Revision$, $Date$ */ public class ERejectException extends EProfileException { @@ -35,7 +35,7 @@ public class ERejectException extends EProfileException { /** * Creates a rejection exception. - * + * * @param msg localized message that indicates * the reason why a request is * rejected. diff --git a/base/common/src/com/netscape/certsrv/profile/IEnrollProfile.java b/base/common/src/com/netscape/certsrv/profile/IEnrollProfile.java index 189530f7a..cc61f0a86 100644 --- a/base/common/src/com/netscape/certsrv/profile/IEnrollProfile.java +++ b/base/common/src/com/netscape/certsrv/profile/IEnrollProfile.java @@ -28,7 +28,7 @@ import com.netscape.certsrv.request.IRequest; * This interface also defines a set of enrollment specific attribute names that can be used to retrieve values from an * enrollment request. *

- * + * * @version $Revision$, $Date$ */ public interface IEnrollProfile extends IProfile { @@ -149,7 +149,7 @@ public interface IEnrollProfile extends IProfile { /** * Set Default X509CertInfo in the request. - * + * * @param request profile-based certificate request. * @exception EProfileException failed to set the X509CertInfo. */ diff --git a/base/common/src/com/netscape/certsrv/profile/IPolicyConstraint.java b/base/common/src/com/netscape/certsrv/profile/IPolicyConstraint.java index bf2374652..320b211c3 100644 --- a/base/common/src/com/netscape/certsrv/profile/IPolicyConstraint.java +++ b/base/common/src/com/netscape/certsrv/profile/IPolicyConstraint.java @@ -28,14 +28,14 @@ import com.netscape.certsrv.request.IRequest; * validates if the given request conforms to the set * rules. *

- * + * * @version $Revision$, $Date$ */ public interface IPolicyConstraint extends IConfigTemplate { /** * Initializes this constraint policy. - * + * * @param profile owner of this policy * @param config configuration store for this constraint * @exception EProfileException failed to initialize @@ -46,7 +46,7 @@ public interface IPolicyConstraint extends IConfigTemplate { /** * Returns the corresponding configuration store * of this constraint policy. - * + * * @return config store of this constraint */ public IConfigStore getConfigStore(); @@ -54,7 +54,7 @@ public interface IPolicyConstraint extends IConfigTemplate { /** * Validates the request. The request is not modified * during the validation. - * + * * @param request request to be validated * @exception ERejectException reject the given request */ @@ -63,7 +63,7 @@ public interface IPolicyConstraint extends IConfigTemplate { /** * Returns localized description of this constraint. - * + * * @param locale locale of the end-user * @return localized description of this constraint */ @@ -71,7 +71,7 @@ public interface IPolicyConstraint extends IConfigTemplate { /** * Returns localized name of this constraint. - * + * * @param locale locale of the end-user * @return localized name of this constraint */ @@ -80,7 +80,7 @@ public interface IPolicyConstraint extends IConfigTemplate { /** * Checks if this constraint is applicable to the * given default policy. - * + * * @param def default policy to be checked * @return true if this constraint can be applied to * the given default policy diff --git a/base/common/src/com/netscape/certsrv/profile/IPolicyDefault.java b/base/common/src/com/netscape/certsrv/profile/IPolicyDefault.java index 469d6dded..e18534d66 100644 --- a/base/common/src/com/netscape/certsrv/profile/IPolicyDefault.java +++ b/base/common/src/com/netscape/certsrv/profile/IPolicyDefault.java @@ -30,28 +30,28 @@ import com.netscape.certsrv.request.IRequest; * This represents a default policy that populates * the request with additional values. *

- * + * * During request submission process, a default policy is invoked to populate the default values in the request. The * default values will later on be used for execution. The default values are like the parameters for the request. *

- * + * * This policy is called in 2 places. For automated enrollment request, this policy is invoked to populate the HTTP * parameters into the request. For request that cannot be executed immediately, this policy will be invoked again right * after the agent's approval. *

- * + * * Each default policy may contain zero or more properties that describe the default value. For example, a X509 Key can * be described by its key type, key length, and key data. The properties help to describe the default value into human * readable values. *

- * + * * @version $Revision$, $Date$ */ public interface IPolicyDefault extends IConfigTemplate { /** * Initializes this default policy. - * + * * @param profile owner of this default policy * @param config configuration store for this default * @exception EProfileException failed to initialize @@ -61,14 +61,14 @@ public interface IPolicyDefault extends IConfigTemplate { /** * Retrieves the configuration store of this default. - * + * * @return configuration store of this default policy */ public IConfigStore getConfigStore(); /** * Populates the request with this policy default. - * + * * @param request request to be populated * @exception EProfileException failed to populate */ @@ -77,7 +77,7 @@ public interface IPolicyDefault extends IConfigTemplate { /** * Retrieves the localizable name of this policy. - * + * * @param locale locale of the end user * @return localized name of this default policy */ @@ -85,7 +85,7 @@ public interface IPolicyDefault extends IConfigTemplate { /** * Retrieves the localizable description of this policy. - * + * * @param locale locale of the end user * @return localized description of this default policy */ @@ -93,7 +93,7 @@ public interface IPolicyDefault extends IConfigTemplate { /** * Retrieves a list of names of the property. - * + * * @return a list of property names. The values are * of type java.lang.String */ @@ -103,7 +103,7 @@ public interface IPolicyDefault extends IConfigTemplate { * Retrieves the descriptor of the given property * by name. The descriptor contains syntax * information. - * + * * @param locale locale of the end user * @param name name of property * @return descriptor of the property @@ -112,7 +112,7 @@ public interface IPolicyDefault extends IConfigTemplate { /** * Sets the value of the given value property by name. - * + * * @param name name of property * @param locale locale of the end user * @param request request @@ -125,7 +125,7 @@ public interface IPolicyDefault extends IConfigTemplate { /** * Retrieves the value of the given value * property by name. - * + * * @param name name of property * @param locale locale of the end user * @param request request diff --git a/base/common/src/com/netscape/certsrv/profile/IProfile.java b/base/common/src/com/netscape/certsrv/profile/IProfile.java index 0cd39c091..9125b2f69 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfile.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfile.java @@ -33,30 +33,30 @@ import com.netscape.cms.profile.common.ProfilePolicy; * a list of input policies, default policies, constraint * policies and output policies. *

- * + * * The input policy is for building the enrollment page. *

- * + * * The default policy is for populating user-supplied and system-supplied values into the request. *

- * + * * The constraint policy is for validating the request before processing. *

- * + * * The output policy is for building the result page. *

- * + * * Each profile can have multiple policy set. Each set is composed of zero or more default policies and zero or more * constraint policies. *

- * + * * @version $Revision$, $Date$ */ public interface IProfile { /** * Initializes this profile. - * + * * @param owner profile subsystem * @param config configuration store for this profile * @exception EBaseException failed to initialize @@ -68,21 +68,21 @@ public interface IProfile { * Retrieves the request queue that is associated with * this profile. The request queue is for creating * new requests. - * + * * @return request queue */ public IRequestQueue getRequestQueue(); /** * Sets id of this profile. - * + * * @param id profile identifier */ public void setId(String id); /** * Returns the identifier of this profile. - * + * * @return profile id */ public String getId(); @@ -91,7 +91,7 @@ public interface IProfile { * Retrieves a localized string that represents * requestor's distinguished name. This string * displayed in the request listing user interface. - * + * * @param request request * @return distringuished name of the request owner */ @@ -99,14 +99,14 @@ public interface IProfile { /** * Retrieves the configuration store of this profile. - * + * * @return configuration store */ public IConfigStore getConfigStore(); /** * Retrieves the instance id of the authenticator for this profile. - * + * * @return authenticator instance id */ public String getAuthenticatorId(); @@ -115,14 +115,14 @@ public interface IProfile { /** * Sets the instance id of the authenticator for this profile. - * + * * @param id authenticator instance id */ public void setAuthenticatorId(String id); /** * Retrieves the associated authenticator instance. - * + * * @return profile authenticator instance. * if no associated authenticator, null is returned * @exception EProfileException failed to retrieve @@ -132,14 +132,14 @@ public interface IProfile { /** * Retrieves a list of input policy IDs. - * + * * @return input policy id list */ public Enumeration getProfileInputIds(); /** * Retrieves input policy by id. - * + * * @param id input policy id * @return input policy instance */ @@ -147,14 +147,14 @@ public interface IProfile { /** * Retrieves a list of output policy IDs. - * + * * @return output policy id list */ public Enumeration getProfileOutputIds(); /** * Retrieves output policy by id. - * + * * @param id output policy id * @return output policy instance */ @@ -165,14 +165,14 @@ public interface IProfile { * End-user profile will be displayed to the end user. * Non end-user profile mainly is for registration * manager. - * + * * @return end-user profile or not */ public boolean isVisible(); /** * Sets this profile end-user profile or not. - * + * * @param v end-user profile or not */ public void setVisible(boolean v); @@ -180,7 +180,7 @@ public interface IProfile { /** * Retrieves the user id of the person who * approves this profile. - * + * * @return user id of the approver of this profile */ public String getApprovedBy(); @@ -197,7 +197,7 @@ public interface IProfile { /** * Returns the profile name. - * + * * @param locale end-user locale * @param name profile name */ @@ -205,7 +205,7 @@ public interface IProfile { /** * Retrieves the profile name. - * + * * @param locale end-user locale * @return localized profile name */ @@ -213,7 +213,7 @@ public interface IProfile { /** * Returns the profile description. - * + * * @param locale end-user locale * @param desc profile description */ @@ -221,7 +221,7 @@ public interface IProfile { /** * Retrieves the profile description. - * + * * @param locale end-user locale * @return localized profile description */ @@ -231,21 +231,21 @@ public interface IProfile { * Retrieves profile context. The context stores * information about the requestor before the * actual request is created. - * + * * @return profile context. */ public IProfileContext createContext(); /** * Returns the profile policy set identifiers. - * + * * @return a list of policy set id */ public Enumeration getProfilePolicySetIds(); /** * Creates a profile policy. - * + * * @param setId id of the policy set that owns this policy * @param id policy id * @param defaultClassId id of the registered default implementation @@ -259,7 +259,7 @@ public interface IProfile { /** * Deletes input policy by id. - * + * * @param inputId id of the input policy * @exception EProfileException failed to delete */ @@ -267,7 +267,7 @@ public interface IProfile { /** * Deletes output policy by id. - * + * * @param outputId id of the output policy * @exception EProfileException failed to delete */ @@ -275,7 +275,7 @@ public interface IProfile { /** * Creates a input policy. - * + * * @param id input policy id * @param inputClassId id of the registered input implementation * @param nvp default parameters @@ -288,7 +288,7 @@ public interface IProfile { /** * Creates a output policy. - * + * * @param id output policy id * @param outputClassId id of the registered output implementation * @param nvp default parameters @@ -300,7 +300,7 @@ public interface IProfile { /** * Deletes a policy. - * + * * @param setId id of the policy set * @param policyId id of policy to delete * @exception EProfileException failed to delete @@ -310,7 +310,7 @@ public interface IProfile { /** * Retrieves a policy. - * + * * @param setId set id * @param id policy id * @return profile policy @@ -319,7 +319,7 @@ public interface IProfile { /** * Retrieves all the policy id within a set. - * + * * @param setId set id * @return a list of policy id */ @@ -329,7 +329,7 @@ public interface IProfile { * Retrieves a default set id for the given request. * It is the profile's responsibility to return * an appropriate set id for the request. - * + * * @param req request * @return policy set id */ @@ -337,7 +337,7 @@ public interface IProfile { /** * Returns a list of profile policies. - * + * * @param setId set id * @return a list of policies */ @@ -347,7 +347,7 @@ public interface IProfile { * Creates one or more requests. Normally, only one request will * be created. In case of CRMF request, multiple requests may be * created for one submission. - * + * * @param ctx profile context * @param locale user locale * @return a list of requests @@ -358,7 +358,7 @@ public interface IProfile { /** * Populates user-supplied input values into the requests. - * + * * @param ctx profile context * @param request request * @exception EProfileException failed to populate @@ -369,7 +369,7 @@ public interface IProfile { /** * Passes the request to the set of default policies that * populate the profile information against the profile. - * + * * @param request request * @exception EProfileException failed to populate default values */ @@ -379,7 +379,7 @@ public interface IProfile { /** * Passes the request to the set of constraint policies * that validate the request against the profile. - * + * * @param request request * @exception ERejectException validation violation */ @@ -388,7 +388,7 @@ public interface IProfile { /** * Process a request after validation. - * + * * @param request request to be processed * @exception EProfileException failed to process */ @@ -397,7 +397,7 @@ public interface IProfile { /** * Handles end-user request submission. - * + * * @param token authentication token * @param request request to be processed * @exception EDeferException defer request diff --git a/base/common/src/com/netscape/certsrv/profile/IProfileAuthenticator.java b/base/common/src/com/netscape/certsrv/profile/IProfileAuthenticator.java index 98546c601..2d8a7d0b3 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfileAuthenticator.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfileAuthenticator.java @@ -32,7 +32,7 @@ import com.netscape.certsrv.request.IRequest; * the end-user. If authentication is successful, request * can be processed immediately. Otherwise, the request will * be defered and manual approval is then required. - * + * * @version $Revision$, $Date$ */ public interface IProfileAuthenticator extends IAuthManager { @@ -41,7 +41,7 @@ public interface IProfileAuthenticator extends IAuthManager { /** * Initializes this default policy. - * + * * @param profile owner of this authenticator * @param config configuration store * @exception EProfileException failed to initialize @@ -51,7 +51,7 @@ public interface IProfileAuthenticator extends IAuthManager { /** * Retrieves the configuration store. - * + * * @return configuration store */ public IConfigStore getConfigStore(); @@ -59,7 +59,7 @@ public interface IProfileAuthenticator extends IAuthManager { /** * Populates authentication specific information into the * request for auditing purposes. - * + * * @param token authentication token * @param request request * @exception EProfileException failed to populate @@ -69,7 +69,7 @@ public interface IProfileAuthenticator extends IAuthManager { /** * Retrieves the localizable name of this policy. - * + * * @param locale end user locale * @return localized authenticator name */ @@ -77,7 +77,7 @@ public interface IProfileAuthenticator extends IAuthManager { /** * Retrieves the localizable description of this policy. - * + * * @param locale end user locale * @return localized authenticator description */ @@ -85,7 +85,7 @@ public interface IProfileAuthenticator extends IAuthManager { /** * Retrieves a list of names of the property. - * + * * @return a list of property names */ public Enumeration getValueNames(); @@ -95,7 +95,7 @@ public interface IProfileAuthenticator extends IAuthManager { * serializable into the request. Passsword or other * security-related value may not be desirable for * storage. - * + * * @param name property name * @return true if the property is not security related */ @@ -104,7 +104,7 @@ public interface IProfileAuthenticator extends IAuthManager { /** * Retrieves the descriptor of the given value * property by name. - * + * * @param locale user locale * @param name property name * @return descriptor of the requested property @@ -113,7 +113,7 @@ public interface IProfileAuthenticator extends IAuthManager { /** * Checks if this authenticator requires SSL client authentication. - * + * * @return client authentication required or not */ public boolean isSSLClientRequired(); diff --git a/base/common/src/com/netscape/certsrv/profile/IProfileContext.java b/base/common/src/com/netscape/certsrv/profile/IProfileContext.java index b3c27d040..981365173 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfileContext.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfileContext.java @@ -21,14 +21,14 @@ package com.netscape.certsrv.profile; * This interface represents a profile context which * stores system-wide and user-provided information for * assisting request creation. - * + * * @version $Revision$, $Date$ */ public interface IProfileContext { /** * Sets a value into the context. - * + * * @param name property name * @param value property value */ @@ -36,7 +36,7 @@ public interface IProfileContext { /** * Retrieves a value from the context. - * + * * @param name property name * @return property value */ diff --git a/base/common/src/com/netscape/certsrv/profile/IProfileEx.java b/base/common/src/com/netscape/certsrv/profile/IProfileEx.java index 79e4f4175..8ce3262ec 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfileEx.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfileEx.java @@ -23,7 +23,7 @@ import com.netscape.certsrv.base.EBaseException; * This interface represents the extension version of * profile. *

- * + * * @version $Revision$, $Date$ */ public interface IProfileEx extends IProfile { diff --git a/base/common/src/com/netscape/certsrv/profile/IProfileInput.java b/base/common/src/com/netscape/certsrv/profile/IProfileInput.java index 4ef598698..09b42806d 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfileInput.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfileInput.java @@ -30,14 +30,14 @@ import com.netscape.certsrv.request.IRequest; * This interface represents a input policy which * provides information on how to create the * end-user enrollment page. - * + * * @version $Revision$, $Date$ */ public interface IProfileInput extends IConfigTemplate { /** * Initializes this default policy. - * + * * @param profile owner of this input * @param config configuration store * @exception EProfileException failed to initialize @@ -47,14 +47,14 @@ public interface IProfileInput extends IConfigTemplate { /** * Returns configuration store. - * + * * @return configuration store */ public IConfigStore getConfigStore(); /** * Populates the request with this policy default. - * + * * @param ctx profile context * @param request request * @exception EProfileException failed to populate @@ -64,7 +64,7 @@ public interface IProfileInput extends IConfigTemplate { /** * Retrieves the localizable name of this policy. - * + * * @param locale user locale * @return localized input name */ @@ -72,7 +72,7 @@ public interface IProfileInput extends IConfigTemplate { /** * Retrieves the localizable description of this policy. - * + * * @param locale user locale * @return localized input description */ @@ -80,7 +80,7 @@ public interface IProfileInput extends IConfigTemplate { /** * Retrieves a list of names of the property. - * + * * @return a list of property names */ public Enumeration getValueNames(); @@ -88,7 +88,7 @@ public interface IProfileInput extends IConfigTemplate { /** * Retrieves the descriptor of the given value * property by name. - * + * * @param locale user locale * @param name property name * @return descriptor of the property @@ -97,7 +97,7 @@ public interface IProfileInput extends IConfigTemplate { /** * Retrieves value from the request. - * + * * @param name property name * @param locale user locale * @param request request @@ -108,7 +108,7 @@ public interface IProfileInput extends IConfigTemplate { /** * Sets the value of the given property by name. - * + * * @param name property name * @param locale user locale * @param request request diff --git a/base/common/src/com/netscape/certsrv/profile/IProfileOutput.java b/base/common/src/com/netscape/certsrv/profile/IProfileOutput.java index b60e4475b..dd3b47c54 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfileOutput.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfileOutput.java @@ -30,14 +30,14 @@ import com.netscape.certsrv.request.IRequest; * This interface represents a output policy which * provides information on how to build the result * page for the enrollment. - * + * * @version $Revision$, $Date$ */ public interface IProfileOutput extends IConfigTemplate { /** * Initializes this default policy. - * + * * @param profile owner of this policy * @param config configuration store * @exception EProfileException failed to initialize @@ -47,14 +47,14 @@ public interface IProfileOutput extends IConfigTemplate { /** * Retrieves configuration store. - * + * * @return configuration store */ public IConfigStore getConfigStore(); /** * Populates the request with this policy default. - * + * * @param ctx profile context * @param request request * @exception EProfileException failed to populate @@ -64,7 +64,7 @@ public interface IProfileOutput extends IConfigTemplate { /** * Retrieves the localizable name of this policy. - * + * * @param locale user locale * @return output policy name */ @@ -72,7 +72,7 @@ public interface IProfileOutput extends IConfigTemplate { /** * Retrieves the localizable description of this policy. - * + * * @param locale user locale * @return output policy description */ @@ -80,7 +80,7 @@ public interface IProfileOutput extends IConfigTemplate { /** * Retrieves a list of names of the value parameter. - * + * * @return a list of property names */ public Enumeration getValueNames(); @@ -88,7 +88,7 @@ public interface IProfileOutput extends IConfigTemplate { /** * Retrieves the descriptor of the given value * parameter by name. - * + * * @param locale user locale * @param name property name * @return property descriptor @@ -97,7 +97,7 @@ public interface IProfileOutput extends IConfigTemplate { /** * Retrieves the value of the given value parameter by name. - * + * * @param name property name * @param locale user locale * @param request request @@ -109,7 +109,7 @@ public interface IProfileOutput extends IConfigTemplate { /** * Sets the value of the given value parameter by name. - * + * * @param name property name * @param locale user locale * @param request request diff --git a/base/common/src/com/netscape/certsrv/profile/IProfilePolicy.java b/base/common/src/com/netscape/certsrv/profile/IProfilePolicy.java index d231f8d55..2dd7b3787 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfilePolicy.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfilePolicy.java @@ -21,28 +21,28 @@ package com.netscape.certsrv.profile; * This interface represents a profile policy * which consists a default policy and a * constraint policy. - * + * * @version $Revision$, $Date$ */ public interface IProfilePolicy { /** * Retrieves the policy id - * + * * @return policy id */ public String getId(); /** * Retrieves the default policy. - * + * * @return default policy */ public IPolicyDefault getDefault(); /** * Retrieves the constraint policy. - * + * * @return constraint policy */ public IPolicyConstraint getConstraint(); diff --git a/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java b/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java index b7a68445b..3238fb2e6 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java @@ -24,7 +24,7 @@ import com.netscape.certsrv.base.ISubsystem; /** * This represents the profile subsystem that manages * a list of profiles. - * + * * @version $Revision$, $Date$ */ public interface IProfileSubsystem extends ISubsystem { @@ -32,7 +32,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Retrieves a profile by id. - * + * * @return profile * @exception EProfileException failed to retrieve */ @@ -41,7 +41,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Checks if a profile is approved by an agent or not. - * + * * @param id profile id * @return true if profile is approved */ @@ -49,7 +49,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Retrieves the approver of the given profile. - * + * * @param id profile id * @return user id of the agent who has approved the profile */ @@ -57,7 +57,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Creates new profile. - * + * * @param id profile id * @param classid implementation id * @param className class Name @@ -70,7 +70,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Deletes profile. - * + * * @param id profile id * @param configFile configuration file * @exception EProfileException failed to delete profile @@ -80,7 +80,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Creates a new profile configuration file. - * + * * @param id profile id * @param classId implementation id * @param configPath location to create the configuration file @@ -91,7 +91,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Enables a profile. - * + * * @param id profile id * @param enableBy agent's user id * @exception EProfileException failed to enable profile @@ -101,7 +101,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Disables a profile. - * + * * @param id profile id * @exception EProfileException failed to disable */ @@ -110,7 +110,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Retrieves the id of the implementation of the given profile. - * + * * @param id profile id * @return implementation id managed by the registry */ @@ -119,14 +119,14 @@ public interface IProfileSubsystem extends ISubsystem { /** * Retrieves a list of profile ids. The return * list is of type String. - * + * * @return a list of profile ids */ public Enumeration getProfileIds(); /** * Checks if owner id should be enforced during profile approval. - * + * * @return true if approval should be checked */ public boolean checkOwner(); diff --git a/base/common/src/com/netscape/certsrv/profile/IProfileUpdater.java b/base/common/src/com/netscape/certsrv/profile/IProfileUpdater.java index 3749cd1d2..7c6084363 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfileUpdater.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfileUpdater.java @@ -27,14 +27,14 @@ import com.netscape.certsrv.request.RequestStatus; /** * This interface represents an updater that will be * called when the request's state changes. - * + * * @version $Revision$, $Date$ */ public interface IProfileUpdater extends IConfigTemplate { /** * Initializes this default policy. - * + * * @param profile owner of this policy * @param config configuration store * @exception EProfileException failed to initialize @@ -44,14 +44,14 @@ public interface IProfileUpdater extends IConfigTemplate { /** * Retrieves configuration store. - * + * * @return configuration store */ public IConfigStore getConfigStore(); /** * Notifies of state change. - * + * * @param req request * @param status The status to check for. * @exception EProfileException failed to populate @@ -61,7 +61,7 @@ public interface IProfileUpdater extends IConfigTemplate { /** * Retrieves the localizable name of this policy. - * + * * @param locale user locale * @return output policy name */ @@ -69,7 +69,7 @@ public interface IProfileUpdater extends IConfigTemplate { /** * Retrieves the localizable description of this policy. - * + * * @param locale user locale * @return output policy description */ -- cgit