if(!populated){
NestedPolicy policy = this.getNestedPolicy();
if(policy == null){
if(logger.getLevel() == Level.FINE){
logger.log(Level.FINE,"NestedPolicy is null");
}
populated = true;
return fitness;
}
AssertionSet as = policy.getAssertionSet();
for(PolicyAssertion pa : as){
if(PolicyUtil.isWSS11PolicyContent(pa)){
addRequiredProperty(pa.getName().getLocalPart().intern());
}else{
if(!pa.isOptional()){
log_invalid_assertion(pa, isServer,"Wss11");
fitness = AssertionFitness.HAS_UNKNOWN_ASSERTION;
}
}
}
populated = true;
}
return fitness;