Class ReqCertEmailResolver
- java.lang.Object
-
- com.netscape.cmscore.notification.ReqCertEmailResolver
-
- All Implemented Interfaces:
com.netscape.certsrv.notification.IEmailResolver
public class ReqCertEmailResolver extends java.lang.Object implements com.netscape.certsrv.notification.IEmailResolver
An email resolver that first checks the request email, if none, then follows by checking the subjectDN of the certificate- Version:
- $Revision$, $Date$
- Author:
- cfu
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY_CERT
static java.lang.String
KEY_REQUEST
static org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description ReqCertEmailResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEmail(com.netscape.certsrv.notification.IEmailResolverKeys keys)
returns an email address by using the resolver keys.
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
KEY_REQUEST
public static final java.lang.String KEY_REQUEST
- See Also:
- Constant Field Values
-
KEY_CERT
public static final java.lang.String KEY_CERT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEmail
public java.lang.String getEmail(com.netscape.certsrv.notification.IEmailResolverKeys keys) throws EBaseException, com.netscape.certsrv.notification.ENotificationException
returns an email address by using the resolver keys. The return value can possibly be null- Specified by:
getEmail
in interfacecom.netscape.certsrv.notification.IEmailResolver
- Parameters:
keys
- list of keys used for resolving the email address- Throws:
EBaseException
com.netscape.certsrv.notification.ENotificationException
-
-