- builder.addPropertyValue("authenticationServletURL", DatatypeHelper.safeTrim(config.getAttributeNS(null,
- "authenticationServletURL")));
+ if (config.hasAttributeNS(null, "authenticationServletURL")) {
+ builder.addPropertyValue("authenticationServletURL", DatatypeHelper.safeTrim(config.getAttributeNS(null,
+ "authenticationServletURL")));
+ } else {
+ builder.addPropertyValue("authenticationServletURL", "/Authn/UserPassword");
+ }