public class CertificateIssuedListener extends java.lang.Object implements IRequestListener
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:
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
CertificateIssuedListener() |
Modifier and Type | Method and Description |
---|---|
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
|
protected static final java.lang.String PROP_CERT_ISSUED_SUBSTORE
protected static final java.lang.String PROP_ENABLED
protected static final java.lang.String PROP_NOTIFY_SUBSTORE
protected static final java.lang.String PROP_SENDER_EMAIL
protected static final java.lang.String PROP_EMAIL_SUBJECT
public static final java.lang.String PROP_EMAIL_TEMPLATE
protected static final java.lang.String REJECT_FILE_NAME
public void init(ISubsystem sub, IConfigStore config) throws EListenersException, EPropertyNotFound, EBaseException
IRequestListener
init
in interface IRequestListener
sub
- subsystemconfig
- configuration storeEListenersException
EPropertyNotFound
EBaseException
public void accept(IRequest r)
IRequestListener
accept
in interface IRequestListener
r
- requestpublic void set(java.lang.String name, java.lang.String val)
set
in interface IRequestListener
name
- attribute nameval
- attribute value