Issue #9750 Fix value of login-config/auth-method for CLIENT-CERT (#9751)

This commit is contained in:
Jan Bartel 2023-05-10 01:06:35 +10:00 committed by GitHub
parent b0f292b4ca
commit ba676021b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class DefaultAuthenticatorFactory implements Authenticator.Factory
authenticator = new SPNEGOAuthenticator();
else if (Authenticator.NEGOTIATE_AUTH.equalsIgnoreCase(auth)) // see Bug #377076
authenticator = new SPNEGOAuthenticator(Authenticator.NEGOTIATE_AUTH);
if (Authenticator.CERT_AUTH.equalsIgnoreCase(auth))
if (Authenticator.CERT_AUTH2.equalsIgnoreCase(auth))
{
Collection<SslContextFactory> sslContextFactories = server.getBeans(SslContextFactory.class);
if (sslContextFactories.size() != 1)