summaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2021-03-17 14:57:07 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-03-18 09:31:22 +0000
commit49de015b6b49f64516557254e1e3713448ca4e6c (patch)
tree8ec7fca563a0d7af11c4f4cb1a550c65608f9cc6 /openecomp-be/api/openecomp-sdc-rest-webapp
parenta54b7c89ae8441e749cc08489672c50cfbe5786f (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 'openecomp-be/api/openecomp-sdc-rest-webapp')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/filters/BasicAuthenticationFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/filters/BasicAuthenticationFilter.java b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/filters/BasicAuthenticationFilter.java
index c1eef1cd95..0cda5f8a27 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/filters/BasicAuthenticationFilter.java
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/filters/BasicAuthenticationFilter.java
@@ -69,7 +69,7 @@ public class BasicAuthenticationFilter implements Filter {
HttpServletRequestWrapper servletRequest = new HttpServletRequestWrapper(httpRequest);
// BasicAuth is disabled
- if (!basicAuthConfig.getEnabled()) {
+ if (!basicAuthConfig.isEnabled()) {
arg2.doFilter(servletRequest, arg1);
return;
}