Class 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  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • ReqCertEmailResolver

        public ReqCertEmailResolver()
    • 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 interface com.netscape.certsrv.notification.IEmailResolver
        Parameters:
        keys - list of keys used for resolving the email address
        Throws:
        EBaseException
        com.netscape.certsrv.notification.ENotificationException