Merge pull request #454 from rodrigopsasaki/issue-keycloak-519

Issue KEYCLOAK-519
This commit is contained in:
Stian Thorgersen 2014-06-05 13:30:00 +01:00
commit 23d101f8fa

View file

@ -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);
}
}