|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.cms.policy.APolicyRule
com.netscape.cms.policy.constraints.RenewalValidityConstraints
public class RenewalValidityConstraints
RenewalValidityConstraints is a default rule for Certificate Renewal. This policy enforces the no of days before which a currently active certificate can be renewed and sets new validity period for the renewed certificate starting from the the ending period in the old certificate. The main parameters are: The renewal leadtime in days: - i.e how many days before the expiry of the current certificate can one request the renewal. min and max validity duration.
NOTE: The Policy Framework has been replaced by the Profile Framework.
| Field Summary | |
|---|---|
static java.lang.String |
CERT_HEADER
Deprecated. |
static java.lang.String |
CERT_TRAILER
Deprecated. |
static long |
DAYS_TO_MS_FACTOR
Deprecated. |
static int |
DEF_MAX_VALIDITY
Deprecated. |
static int |
DEF_MIN_VALIDITY
Deprecated. |
static long |
DEF_RENEWAL_INTERVAL
Deprecated. |
| Fields inherited from class com.netscape.cms.policy.APolicyRule |
|---|
DESC, mFilterExp, mInstanceName, mLogger, NAME |
| Fields inherited from interface com.netscape.certsrv.policy.IPolicyRule |
|---|
PROP_ENABLE, PROP_IMPLNAME, PROP_PREDICATE |
| Fields inherited from interface com.netscape.certsrv.base.IExtendedPluginInfo |
|---|
HELP_TEXT, HELP_TOKEN |
| Constructor Summary | |
|---|---|
RenewalValidityConstraints()
Deprecated. |
|
| Method Summary | |
|---|---|
PolicyResult |
apply(IRequest req)
Deprecated. Applies the policy on the given Request. |
java.util.Vector |
getDefaultParams()
Deprecated. Return default parameters for a policy implementation. |
java.lang.String[] |
getExtendedPluginInfo(java.util.Locale locale)
Deprecated. This method returns an array of strings. |
java.util.Vector |
getInstanceParams()
Deprecated. Return configured parameters for a policy rule instance. |
void |
init(ISubsystem owner,
IConfigStore config)
Deprecated. Initializes this policy rule. |
| Methods inherited from class com.netscape.cms.policy.APolicyRule |
|---|
agentApproved, createKeyIdentifier, deferred, formSHA1KeyId, formSpkiSHA1KeyId, getDescription, getInstanceName, getName, getPredicate, log, setError, setError, setError, setInstanceName, setPolicyException, setPolicyException, setPredicate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.netscape.certsrv.policy.IPolicyRule |
|---|
getDescription, getInstanceName, getName, getPredicate, setError, setInstanceName, setPolicyException, setPredicate |
| Field Detail |
|---|
public static final int DEF_MIN_VALIDITY
public static final int DEF_MAX_VALIDITY
public static final long DEF_RENEWAL_INTERVAL
public static final long DAYS_TO_MS_FACTOR
public static final java.lang.String CERT_HEADER
public static final java.lang.String CERT_TRAILER
| Constructor Detail |
|---|
public RenewalValidityConstraints()
| Method Detail |
|---|
public java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfo
getExtendedPluginInfo in interface IExtendedPluginInfo
public void init(ISubsystem owner,
IConfigStore config)
throws EPolicyException
The entries probably are of the form:
ra.Policy.rule.
init in interface IPolicyRuleinit in class APolicyRule
config - The config store reference
EPolicyException
public PolicyResult apply(IRequest req)
apply in interface IPolicyRuleapply in interface IPolicyapply in class APolicyRulereq - The request on which to apply policy.
public java.util.Vector getInstanceParams()
getInstanceParams in interface IPolicyRulegetInstanceParams in class APolicyRulepublic java.util.Vector getDefaultParams()
getDefaultParams in interface IPolicyRulegetDefaultParams in class APolicyRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||