Merge pull request #3939 from alexeykazakov/patch-1

KEYCLOAK-4568 Identity broker service may fail to validate client ses…
This commit is contained in:
Bill Burke 2017-03-11 19:39:39 -05:00 committed by GitHub
commit 613f4bb4c6

View file

@ -257,8 +257,8 @@ public class IdentityBrokerService implements IdentityProvider.AuthenticationCal
byte[] check = md.digest(input.getBytes(StandardCharsets.UTF_8));
if (MessageDigest.isEqual(decoded, check)) {
clientSession = cs;
break;
}
break;
}
}
if (clientSession == null) {