flipped comparison operands to avoid NPE
This commit is contained in:
parent
c4e32b7c45
commit
e08b3e7dec
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public class KeycloakAdapterConfigDeploymentProcessor implements DeploymentUnitP
|
|||
if (webMetaData == null) return;
|
||||
|
||||
LoginConfigMetaData loginConfig = webMetaData.getLoginConfig();
|
||||
if (loginConfig != null && loginConfig.getAuthMethod().equalsIgnoreCase("KEYCLOAK")) {
|
||||
if (loginConfig != null && "KEYCLOAK".equalsIgnoreCase(loginConfig.getAuthMethod())) {
|
||||
addValve(webMetaData);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue