- builder.addConstructorArg(DatatypeHelper.safeTrimOrNullString(config.getAttributeNS(null,
- "authenticationManagerPath")));
+ if (config.hasAttributeNS(null, "authenticationManagerPath")) {
+ builder.addConstructorArgValue(DatatypeHelper.safeTrimOrNullString(config.getAttributeNS(null,
+ "authenticationManagerPath")));
+ } else {
+ builder.addConstructorArgValue("/AuthnEngine");
+ }