NIHVIVO-1393 changed configuration property names

This commit is contained in:
rjy7 2010-11-23 13:27:52 +00:00
parent 60060d4752
commit ec12b4db3d

View file

@ -118,12 +118,12 @@ public class LoginWidget extends Widget {
values.put(TemplateVariable.FORM_ACTION.toString(), getAuthenticateUrl(request));
values.put(TemplateVariable.LOGIN_NAME.toString(), bean.getUsername());
String externalAuthServerUrl = ConfigurationProperties.getProperty("externalAuth.serverUrl");
String externalAuthServerUrl = ConfigurationProperties.getProperty("externalAuth.url");
externalAuthServerUrl = UrlBuilder.getUrl(externalAuthServerUrl);
if (externalAuthServerUrl != null) {
values.put(TemplateVariable.EXTERNAL_AUTH_URL.toString(), externalAuthServerUrl);
values.put(TemplateVariable.EXTERNAL_AUTH_NAME.toString(),
ConfigurationProperties.getProperty("externalAuth.serverName"));
ConfigurationProperties.getProperty("externalAuth.displayName"));
}
String infoMessage = bean.getInfoMessage();