if(!populated){
NestedPolicy policy = this.getNestedPolicy();
AssertionSet assertionSet = policy.getAssertionSet();
for(PolicyAssertion assertion : assertionSet){
if(PolicyUtil.isLax(assertion)){
ml = MessageLayout.Lax;
}else if(PolicyUtil.isLaxTsFirst(assertion)){
ml = MessageLayout.LaxTsFirst;
}else if(PolicyUtil.isLaxTsLast(assertion)){
ml = MessageLayout.LaxTsLast;
}else if(PolicyUtil.isStrict(assertion)){
ml= MessageLayout.Strict;
} else{
if(!assertion.isOptional()){
log_invalid_assertion(assertion, isServer,Layout);
fitness = AssertionFitness.HAS_UNKNOWN_ASSERTION;
}
}
}
populated = true;
}
return fitness;