Fix bug introduced in AAF authentication due to changes done to fix Sonar issues
Issue-ID: POLICY-3200
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I92aae94010cc8275bca5b1fe81bf54ab80f5f267
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());
}