Skip to content

Commit

Permalink
Support SAML keypair without a password
Browse files Browse the repository at this point in the history
  • Loading branch information
strehle committed Nov 29, 2024
1 parent 9794737 commit d3548f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ private void validateRegexStrings(List<String> uris, String fieldName) throws In

private void failIfPartialCertKeyInfo(String samlSpCert, String samlSpKey, String samlSpkeyPassphrase) throws InvalidIdentityZoneConfigurationException {
if ((samlSpCert == null && samlSpKey == null && samlSpkeyPassphrase == null) ||
(samlSpCert != null && samlSpKey != null && samlSpkeyPassphrase != null)) {
(samlSpCert != null && samlSpKey != null && samlSpkeyPassphrase == null)) {
return;
}
throw new InvalidIdentityZoneConfigurationException("Identity zone cannot be udpated with partial Saml CertKey config.", null);
throw new InvalidIdentityZoneConfigurationException("Identity zone cannot be updated with partial Saml CertKey config.", null);
}
}

0 comments on commit d3548f8

Please sign in to comment.