aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/onap/policy/clamp/clds/ClampServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/policy/clamp/clds/ClampServlet.java b/src/main/java/org/onap/policy/clamp/clds/ClampServlet.java
index eb64438bf..ccde7cf11 100644
--- a/src/main/java/org/onap/policy/clamp/clds/ClampServlet.java
+++ b/src/main/java/org/onap/policy/clamp/clds/ClampServlet.java
@@ -76,7 +76,7 @@ public class ClampServlet extends CamelHttpTransportServlet {
WebApplicationContext webAppContext = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
if (webAppContext != null) {
String authClassProperty = webAppContext.getEnvironment().getProperty(AUTHENTICATION_CLASS);
- if (StringUtils.isBlank(authClassProperty)) {
+ if (!StringUtils.isBlank(authClassProperty)) {
return Arrays.stream(authClassProperty.split(",")).map(String::trim)
.collect(Collectors.toList());
}