// String password = defPrincipal.getPassword();
String password = getXPathValue("sun-ejb-jar/enterprise-beans/cmp-resource/default-resource-principal/password");
if(password == null || password.length()==0){
oneWarning=true;//4698046
addWarningDetails(result, compName);
result.warning(smh.getLocalString(getClass().getName()+".warning1",
"WARNING [AS-EJB default-resource-principal] : password is an empty string"));
}else{
addGoodDetails(result, compName);
result.passed(smh.getLocalString(getClass().getName()+".passed2",
"PASSED [AS-EJB default-resource-principal] : password is {0}",new Object[]{password}));