ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
boolean oneFailed = false;
try{
if (descriptor.getUsesCallerIdentity() == false){
RunAsIdentityDescriptor runAsIdDesc = descriptor.getRunAsIdentity();
if (runAsIdDesc != null){
String principal = runAsIdDesc.getPrincipal();
if (principal == null){
addNaDetails(result, compName);
result.notApplicable(smh.getLocalString(getClass().getName()+".notApplicable",
"NOT APPLICABLE [AS-EJB ejb] : principal element not defined"));
}else{