diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-03-17 14:57:07 +0000 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-03-18 09:31:22 +0000 |
commit | 49de015b6b49f64516557254e1e3713448ca4e6c (patch) | |
tree | 8ec7fca563a0d7af11c4f4cb1a550c65608f9cc6 /catalog-fe/src/main | |
parent | a54b7c89ae8441e749cc08489672c50cfbe5786f (diff) |
Improve test coverage
Use Lombok annotations to improve test coverage
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Iaaed0023960cfe0a31e1b50fb868196ab488cb4c
Issue-ID: SDC-3428
Diffstat (limited to 'catalog-fe/src/main')
-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())); } |