Examples of evaluateForResults()


Examples of org.apache.imperius.spl.parser.statements.PolicyStatement.evaluateForResults()

//      System.out.println("***********"+"evaluating sub policy number "+(j+1)+"***********");
      auditloggerString+="***********"+"evaluating sub policy number "+(j+1)+"***********"+"\n";
      PolicyStatement pStatement = (PolicyStatement)_policyList.get(j);
      // evaluate each policy 
      EvaluationResults er1 = pStatement.evaluateForResults(dc,ac);
      result.appendResult(er1);
      int result1 = result.getStatusCode(); // pStatement.evaluate(dc,ac);
      auditloggerString+=pStatement.getAuditLogString();

      if(result1 == POLICY_EVALUATION_FAILED) // report failure even if a single policy fails
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.