diff options
Diffstat (limited to 'catalog-fe/src/main/java')
-rw-r--r-- | catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java b/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java index 200684a530..5362b526be 100644 --- a/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java +++ b/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java @@ -107,7 +107,7 @@ public class FeProxyServlet extends SSLProxyServlet { return; } BasicAuthConfig basicAuth = config.getBasicAuth(); - if (basicAuth.getEnabled()) { + if (basicAuth.isEnabled()) { proxyRequest.header(HttpHeader.AUTHORIZATION, "Basic " + Base64.getEncoder().encodeToString((basicAuth.getUserName() + ":" + basicAuth.getUserPass()).getBytes())); } |