bugfix for excluded post rest services
This commit is contained in:
parent
2a33b177d5
commit
1eaafcd3d9
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class ServletKeycloakAuthMech extends AbstractUndertowKeycloakAuthMech {
|
|||
public AuthenticationMechanismOutcome authenticate(HttpServerExchange exchange, SecurityContext securityContext) {
|
||||
UndertowHttpFacade facade = new UndertowHttpFacade(exchange);
|
||||
KeycloakDeployment deployment = deploymentContext.resolveDeployment(facade);
|
||||
if (!deployment.isConfigured()) {
|
||||
if (!deployment.isConfigured() || !securityContext.isAuthenticationRequired()) {
|
||||
return AuthenticationMechanismOutcome.NOT_ATTEMPTED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue