//Control Flag behavior
boolean encounteredRequiredDeny = false;
boolean encounteredRequiredNotApplicable = false;
boolean encounteredOptionalError = false;
IdentityTrustException moduleException = null;
TrustDecision overallDecision = TrustDecision.NotApplicable;
boolean encounteredRequiredPermit = false;
TrustDecision decision = NOTAPPLICABLE;
int length = modules.size();
if(length == 0)
return decision;