com.netscape.cms.listeners
Class CertificateIssuedListener

java.lang.Object
  extended by com.netscape.cms.listeners.CertificateIssuedListener
All Implemented Interfaces:
IRequestListener

public class CertificateIssuedListener
extends java.lang.Object
implements IRequestListener

a listener for every completed enrollment request

Here is a list of available $TOKENs for email notification templates if certificate is successfully issued:

Here is a list of available $TOKENs for email notification templates if certificate request is rejected:

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Field Summary
protected static java.lang.String PROP_CERT_ISSUED_SUBSTORE
           
protected static java.lang.String PROP_EMAIL_SUBJECT
           
static java.lang.String PROP_EMAIL_TEMPLATE
           
protected static java.lang.String PROP_ENABLED
           
protected static java.lang.String PROP_NOTIFY_SUBSTORE
           
protected static java.lang.String PROP_SENDER_EMAIL
           
protected static java.lang.String REJECT_FILE_NAME
           
 
Constructor Summary
CertificateIssuedListener()
           
 
Method Summary
 void accept(IRequest r)
          Accepts request.
 void init(ISubsystem sub, IConfigStore config)
          Initializes request listener for the specific subsystem and configuration store.
 void set(java.lang.String name, java.lang.String val)
          sets the configurable parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_CERT_ISSUED_SUBSTORE

protected static final java.lang.String PROP_CERT_ISSUED_SUBSTORE
See Also:
Constant Field Values

PROP_ENABLED

protected static final java.lang.String PROP_ENABLED
See Also:
Constant Field Values

PROP_NOTIFY_SUBSTORE

protected static final java.lang.String PROP_NOTIFY_SUBSTORE
See Also:
Constant Field Values

PROP_SENDER_EMAIL

protected static final java.lang.String PROP_SENDER_EMAIL
See Also:
Constant Field Values

PROP_EMAIL_SUBJECT

protected static final java.lang.String PROP_EMAIL_SUBJECT
See Also:
Constant Field Values

PROP_EMAIL_TEMPLATE

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

REJECT_FILE_NAME

protected static final java.lang.String REJECT_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

CertificateIssuedListener

public CertificateIssuedListener()
Method Detail

init

public void init(ISubsystem sub,
                 IConfigStore config)
          throws EListenersException,
                 EPropertyNotFound,
                 EBaseException
Description copied from interface: IRequestListener
Initializes request listener for the specific subsystem and configuration store.

Specified by:
init in interface IRequestListener
Parameters:
sub - subsystem
config - configuration store
Throws:
EListenersException
EPropertyNotFound
EBaseException

accept

public void accept(IRequest r)
Description copied from interface: IRequestListener
Accepts request.

Specified by:
accept in interface IRequestListener
Parameters:
r - request

set

public void set(java.lang.String name,
                java.lang.String val)
sets the configurable parameters

Specified by:
set in interface IRequestListener
Parameters:
name - attribute name
val - attribute value