From 80c9e23282ebc9d9f37a4bae909f4260739af3b2 Mon Sep 17 00:00:00 2001 From: wildloop Date: Wed, 15 Mar 2017 09:14:48 +0100 Subject: [PATCH] Update RequestAuthenticator.java --- .../main/java/org/keycloak/adapters/RequestAuthenticator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/RequestAuthenticator.java b/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/RequestAuthenticator.java index 158bc9d03f..4f3029015b 100755 --- a/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/RequestAuthenticator.java +++ b/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/RequestAuthenticator.java @@ -160,8 +160,7 @@ public abstract class RequestAuthenticator { } protected boolean verifySSL() { - if (!facade.getRequest().isSecure() - && deployment.getSslRequired().isRequired(facade.getRequest().getRemoteAddr())) { + if (!facade.getRequest().isSecure() && deployment.getSslRequired().isRequired(facade.getRequest().getRemoteAddr())) { log.warnf("SSL is required to authenticate. Remote address %s is secure: %s, SSL required for: %s .", facade.getRequest().getRemoteAddr(), facade.getRequest().isSecure(), deployment.getSslRequired().name()); return true;