Examples of noteError()


Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

   
    try {
      SecurityHelperMethods.checkCRL(cert, x509CRLLocation, true);
    } catch (CertPathValidatorException e1) {
      log.error("The CRL check return an exception", e1);
          sb.noteError(e1.getMessage());
          return sb;
    }
    
    try {
      certs[0].checkValidity();
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

    
    try {
      certs[0].checkValidity();
    } catch (CertificateExpiredException e) {
      log.error("The certificate validity check return an exception", e);
          sb.noteError(e.getMessage());
          return sb;
    } catch (CertificateNotYetValidException e) {
      log.error("The certificate validity check return an exception", e);
          sb.noteError(e.getMessage());
          return sb;
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

      log.error("The certificate validity check return an exception", e);
          sb.noteError(e.getMessage());
          return sb;
    } catch (CertificateNotYetValidException e) {
      log.error("The certificate validity check return an exception", e);
          sb.noteError(e.getMessage());
          return sb;
    }
   
    return sb;
  }
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

      recordURI = attributesMap.get("recordURI");
      mailBoxURI = attributesMap.get("dropoffMailBoxURI");
    }
    else
    {
      sb.noteError("Input document did not match with any of excepted types");
      Drop_OffUtil.throwFault(recordURI, clientsideID, null, sb,
          SSAFErrorTypes.REQUEST_INVALID, mailBoxURI, null);
    }

    // Throw a Fault if cert is invalid
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

      sb = Drop_OffUtil.isUserAuthenticated(mailBoxURI, commonNameInCert,
          authenticateMailBoxURIs);

      if (sb.isErrorResponse())
      {
        sb.noteError("User is not authenticated to use this particular mailbox");
        Drop_OffUtil  .throwFault(
                recordURI,
                clientsideID,
                null,
                sb, SSAFErrorTypes.REQUEST_USER_UNAUTHORIZED,
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

          xmlSignature.signDocument(inputDocumentModified);
        }
        catch (Exception e)
        {
          log.error("There was a problem while singing the xml document");
          sb.noteError("There was a problem while signing the xml document");

          Drop_OffUtil  .throwFault(
                  recordURI,
                  clientsideID,
                  null,
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

            log.info("Incoming request document is of type DropOff");
          }
          else
          {   // throw FatalFault if incoming DropOff request does not
            // Contain expected ssaf:message element.
            sb.noteError("DropOff incoming request document does not contain " +
              "ssaf:message element which is required");
            Drop_OffUtil  .throwFault(
                    null,
                    null,
                    null,
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

          }
          else
          {
            // throw FatalFault if incoming CheckConfirmation request does not
            // Contain expected drop-off:view_confirmation_response element.
            sb.noteError("CheckConfirmation incoming request document does not contain " +
                "drop-off:view_confirmation_response element which is required");
            Drop_OffUtil.throwFault(
                    null,
                    null,
                    null,
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

          }
          else
          {
            // throw FatalFault if incoming CheckDropOffStatus request does not
            // Contain expected drop-off:view_response_message element.
            sb.noteError("CheckDropOffStatus incoming request document does not contain " +
            "drop-off:view_response_message element which is required");
            Drop_OffUtil  .throwFault(
                    null,
                    null,
                    null,
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteError()

          }
          else
          {
            // throw FatalFault if incoming GetResponses request does not contian expected
            // drop-off:get_reponses element.
            sb.noteError("GetResponses incoming request document does not contain " +
            "drop-off:get_reponses element which is required");
            Drop_OffUtil.throwFault(
                    null,
                    null,
                    null,
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.