KEYCLOAK-12899 Fix incorrect exception message in JWE

This commit is contained in:
Kohei Tamura 2020-02-14 15:26:49 +09:00 committed by Stian Thorgersen
parent cae46d8443
commit 6eef8b5dd4

View file

@ -141,7 +141,7 @@ public class JWE {
}
if (encryptionProvider == null) {
throw new IllegalArgumentException("No provider for enc '" + header.getAlgorithm() + "'");
throw new IllegalArgumentException("No provider for enc '" + header.getEncryptionAlgorithm() + "'");
}
keyStorage.setEncryptionProvider(encryptionProvider);