KEYCLOAK-3602 - NPE into SAML DeploymentBuilder build
This commit is contained in:
parent
cd3cd4f506
commit
affc62460c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ public class DeploymentBuilder {
|
|||
log.debugf("Try to load key [%s]", key.getKeystore().getCertificateAlias());
|
||||
cert = keyStore.getCertificate(key.getKeystore().getCertificateAlias());
|
||||
if(cert == null) {
|
||||
log.errorf("key alias %s is not found into keystore", key.getKeystore().getCertificateAlias());
|
||||
log.errorf("Key alias %s is not found into keystore", key.getKeystore().getCertificateAlias());
|
||||
}
|
||||
privateKey = (PrivateKey) keyStore.getKey(key.getKeystore().getPrivateKeyAlias(), key.getKeystore().getPrivateKeyPassword().toCharArray());
|
||||
publicKey = cert.getPublicKey();
|
||||
|
|
Loading…
Reference in a new issue