Examples of VerificationViolation


Examples of org.openiaml.verification.crocopat.VerificationViolation

    // check for violation exceptions
    if (!verify.getViolations().isEmpty()) {     
      StringBuffer buf = new StringBuffer();
     
      for (int i = 0; i < 5 && i < verify.getViolations().size(); i++) {
        VerificationViolation violation = verify.getViolations().get(i);
        if (i != 0)
          buf.append("\n");
       
        buf.append(violation.getMessage())
          .append(": ");
       
        for (int j = 0; j < violation.getObjects().size(); j++) {
          if (j != 0)
            buf.append("; ");
          buf.append(IamlBreadcrumb.breadcrumb(violation.getObjects().get(j)));
        }
      }
     
      if (verify.getViolations().size() > 5) {
        // there are more
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.