Examples of ISubMessage


Examples of org.ejbca.extra.db.ISubMessage

    if (proc == null) {
      log.error("Received an illegal submessage request :" + submessage.getClass().getName());
      return null; // Should never happen.         
    }
   
    ISubMessage ret = proc.process(admin, submessage, errormessage);
    return ret;
  }
View Full Code Here

Examples of org.ejbca.extra.db.ISubMessage

            try {
              respSubMsg = generateResponseSubMessage(submgs.getSignerCert());
              Iterator<ISubMessage> iter = submgs.getSubMessages().iterator();
              boolean somethingprocessed = false;
              while(iter.hasNext()){
                ISubMessage reqMsg = iter.next();
                if (!checkWhiteList(reqMsg)) {
                  errormessage = "Sub message of type " + reqMsg.getClass().getName() + " is not listed in white list. Message id: " + msg.getMessageid();
                }
                ISubMessage respMsg = MessageProcessor.processSubMessage(getAdmin(submgs), reqMsg, errormessage, ejbs);
                if (respMsg != null) {
                  // if the response message is null here, we will ignore this message,
                  // it means that we should not do anything with it this round
                  respSubMsg.addSubMessage(respMsg);
                  somethingprocessed = true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.