Commit 6e9be90b by Jon Maron

retrieve bind address of host from correct configuration object

parent c00f8de6
...@@ -77,7 +77,7 @@ public class MetadataAuthenticationFilter extends AuthenticationFilter { ...@@ -77,7 +77,7 @@ public class MetadataAuthenticationFilter extends AuthenticationFilter {
} }
//Resolve _HOST into bind address //Resolve _HOST into bind address
String bindAddress = config.getProperty(SecurityProperties.BIND_ADDRESS); String bindAddress = configuration.getString(SecurityProperties.BIND_ADDRESS);
if (bindAddress == null) { if (bindAddress == null) {
LOG.info("No host name configured. Defaulting to local host name."); LOG.info("No host name configured. Defaulting to local host name.");
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment