From 49de015b6b49f64516557254e1e3713448ca4e6c Mon Sep 17 00:00:00 2001 From: vasraz Date: Wed, 17 Mar 2021 14:57:07 +0000 Subject: Improve test coverage Use Lombok annotations to improve test coverage Signed-off-by: Vasyl Razinkov Change-Id: Iaaed0023960cfe0a31e1b50fb868196ab488cb4c Issue-ID: SDC-3428 --- .../java/org/openecomp/sdc/be/filters/BasicAuthenticationFilter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'catalog-be') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/filters/BasicAuthenticationFilter.java b/catalog-be/src/main/java/org/openecomp/sdc/be/filters/BasicAuthenticationFilter.java index 5d34f468aa..e12ac92b51 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/filters/BasicAuthenticationFilter.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/filters/BasicAuthenticationFilter.java @@ -69,12 +69,11 @@ public class BasicAuthenticationFilter implements ContainerRequestFilter { private String realm = "ASDC"; - @Override public void filter(ContainerRequestContext requestContext) throws IOException { audit.startLog(requestContext); - if (!basicAuthConf.getEnabled()) { + if (!basicAuthConf.isEnabled()) { return; } List excludedUrls = Arrays.asList(basicAuthConf.getExcludedUrls().split(",")); -- cgit 1.2.3-korg