Skip to content

Commit

Permalink
Update src/main/java/hudson/plugins/active_directory/ActiveDirectoryD…
Browse files Browse the repository at this point in the history
…omain.java

Co-authored-by: Francisco Javier Fernandez <[email protected]>
  • Loading branch information
ampuscas and fcojfernandez authored Sep 30, 2024
1 parent 330bd01 commit 78732fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public ActiveDirectoryDomain(String name, String servers, String site, String bi
@DataBoundConstructor
public ActiveDirectoryDomain(String name, String servers, String site, String bindName, String bindPassword, TlsConfiguration tlsConfiguration) {
// Gives exception if an insecure certificate is used in FIPS mode.
if (isFipsNonCompliant(tlsConfiguration.equals(TlsConfiguration.TRUST_ALL_CERTIFICATES))) {
if (isFipsNonCompliant(TlsConfiguration.TRUST_ALL_CERTIFICATES.equals(tlsConfiguration))) {
throw new IllegalArgumentException(Messages.TlsConfiguration_CertificateError());
}

Expand Down

0 comments on commit 78732fd

Please sign in to comment.