KEYCLOAK-4568 Identity broker service may fail to validate client session if there is more then one active session

This commit is contained in:
Alexey Kazakov 2017-03-11 12:59:25 -08:00 committed by GitHub
parent 282896b653
commit 063f5303dd

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) {