com.netscape.cms.policy.extensions
Class PresenceExt

java.lang.Object
  extended by com.netscape.cms.policy.APolicyRule
      extended by com.netscape.cms.policy.extensions.PresenceExt
All Implemented Interfaces:
IPolicyRule, IPolicy

Deprecated.

public class PresenceExt
extends APolicyRule

Checks extension presence.

 NOTE:  The Policy Framework has been replaced by the Profile Framework.
 

Version:
$Revision: 1226 $, $Date: 2010-08-19 14:16:41 -0700 (Thu, 19 Aug 2010) $

Field Summary
static java.lang.String PROP_HOSTNAME
          Deprecated.  
static java.lang.String PROP_ID
          Deprecated.  
static java.lang.String PROP_IS_CRITICAL
          Deprecated.  
static java.lang.String PROP_MAX_USERS
          Deprecated.  
static java.lang.String PROP_OID
          Deprecated.  
static java.lang.String PROP_PORT_NUMBER
          Deprecated.  
static java.lang.String PROP_RFC822_NAME
          Deprecated.  
static java.lang.String PROP_SERVICE_LEVEL
          Deprecated.  
static java.lang.String PROP_STREET_ADDRESS
          Deprecated.  
static java.lang.String PROP_TELEPHONE_NUMBER
          Deprecated.  
static java.lang.String PROP_VERSION
          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
 
Constructor Summary
PresenceExt()
          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.  
 java.util.Vector getInstanceParams()
          Deprecated. Return configured parameters for a policy rule instance.
 void init(ISubsystem owner, IConfigStore config)
          Deprecated. Initializes the 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
 

Field Detail

PROP_IS_CRITICAL

public static final java.lang.String PROP_IS_CRITICAL
Deprecated. 
See Also:
Constant Field Values

PROP_OID

public static final java.lang.String PROP_OID
Deprecated. 
See Also:
Constant Field Values

PROP_VERSION

public static final java.lang.String PROP_VERSION
Deprecated. 
See Also:
Constant Field Values

PROP_STREET_ADDRESS

public static final java.lang.String PROP_STREET_ADDRESS
Deprecated. 
See Also:
Constant Field Values

PROP_TELEPHONE_NUMBER

public static final java.lang.String PROP_TELEPHONE_NUMBER
Deprecated. 
See Also:
Constant Field Values

PROP_RFC822_NAME

public static final java.lang.String PROP_RFC822_NAME
Deprecated. 
See Also:
Constant Field Values

PROP_ID

public static final java.lang.String PROP_ID
Deprecated. 
See Also:
Constant Field Values

PROP_HOSTNAME

public static final java.lang.String PROP_HOSTNAME
Deprecated. 
See Also:
Constant Field Values

PROP_PORT_NUMBER

public static final java.lang.String PROP_PORT_NUMBER
Deprecated. 
See Also:
Constant Field Values

PROP_MAX_USERS

public static final java.lang.String PROP_MAX_USERS
Deprecated. 
See Also:
Constant Field Values

PROP_SERVICE_LEVEL

public static final java.lang.String PROP_SERVICE_LEVEL
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

PresenceExt

public PresenceExt()
Deprecated. 
Method Detail

init

public void init(ISubsystem owner,
                 IConfigStore config)
          throws EBaseException
Deprecated. 
Description copied from class: APolicyRule
Initializes the policy rule.

Specified by:
init in interface IPolicyRule
Specified by:
init in class APolicyRule
config - The config store reference
Throws:
EBaseException

apply

public PolicyResult apply(IRequest req)
Deprecated. 
Description copied from class: APolicyRule
Applies the policy on the given Request.

Specified by:
apply in interface IPolicyRule
Specified by:
apply in interface IPolicy
Specified by:
apply in class APolicyRule
Parameters:
req - The request on which to apply policy.
Returns:
The policy result object.

getInstanceParams

public java.util.Vector getInstanceParams()
Deprecated. 
Description copied from class: APolicyRule
Return configured parameters for a policy rule instance.

Specified by:
getInstanceParams in interface IPolicyRule
Specified by:
getInstanceParams in class APolicyRule
Returns:
nvPairs A Vector of name/value pairs.

getExtendedPluginInfo

public java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
Deprecated. 

getDefaultParams

public java.util.Vector getDefaultParams()
Deprecated. 
Return default parameters for a policy implementation.

Specified by:
getDefaultParams in interface IPolicyRule
Specified by:
getDefaultParams in class APolicyRule
Returns:
nvPairs A Vector of name/value pairs.