Class ReqCertSANameEmailResolver
- java.lang.Object
-
- com.netscape.cmscore.notification.ReqCertSANameEmailResolver
-
- All Implemented Interfaces:
IEmailResolver
public class ReqCertSANameEmailResolver extends java.lang.Object implements IEmailResolver
An email resolver that first checks the request email, if none, then follows by checking the subjectDN of the certificate, if none, then follows by checking the subjectalternatename extension- Version:
- $Revision$, $Date$
- Author:
- cfu
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKEY_CERTstatic java.lang.StringKEY_REQUESTstatic org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description ReqCertSANameEmailResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEmail(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(IEmailResolverKeys keys) throws EBaseException, ENotificationException
returns an email address by using the resolver keys. The return value can possibly be null- Specified by:
getEmailin interfaceIEmailResolver- Parameters:
keys- list of keys used for resolving the email address- Throws:
EBaseExceptionENotificationException
-
-