diff --git a/src/main/java/org/opensearch/security/securityconf/DynamicConfigModel.java b/src/main/java/org/opensearch/security/securityconf/DynamicConfigModel.java index 064f555a75..3ad4e62928 100644 --- a/src/main/java/org/opensearch/security/securityconf/DynamicConfigModel.java +++ b/src/main/java/org/opensearch/security/securityconf/DynamicConfigModel.java @@ -136,7 +136,7 @@ public DynamicConfigModel() { authImplMap.put("clientcert_h", HTTPClientCertAuthenticator.class.getName()); authImplMap.put("kerberos_h", "com.amazon.dlic.auth.http.kerberos.HTTPSpnegoAuthenticator"); authImplMap.put("jwt_h", "com.amazon.dlic.auth.http.jwt.HTTPJwtAuthenticator"); - authImplMap.put("openid_h", "com.amazon.dlic.auth.http.jwt.keybyoidc.HTTPJwtKeyByOpenIdConnectAuthenticator"); + authImplMap.put("openid_h", "com.amazon.dlic.auth.http.jwt.keybyoidc.HTTPOpenIdAuthenticator"); authImplMap.put("saml_h", "com.amazon.dlic.auth.http.saml.HTTPSamlAuthenticator"); authImplMap.put("ip_authFailureListener", AddressBasedRateLimiter.class.getName()); diff --git a/src/main/java/org/opensearch/security/support/ModuleType.java b/src/main/java/org/opensearch/security/support/ModuleType.java index 642d05a09a..9b8efcbc36 100644 --- a/src/main/java/org/opensearch/security/support/ModuleType.java +++ b/src/main/java/org/opensearch/security/support/ModuleType.java @@ -59,7 +59,7 @@ public enum ModuleType implements Serializable { JWT_AUTHENTICATION_BACKEND("JWT authentication backend", "com.amazon.dlic.auth.http.jwt.HTTPJwtAuthenticator", Boolean.TRUE), OPENID_AUTHENTICATION_BACKEND( "OpenID authentication backend", - "com.amazon.dlic.auth.http.jwt.keybyoidc.HTTPJwtKeyByOpenIdConnectAuthenticator", + "com.amazon.dlic.auth.http.jwt.keybyoidc.HTTPOpenIdAuthenticator", Boolean.TRUE ), SAML_AUTHENTICATION_BACKEND("SAML authentication backend", "com.amazon.dlic.auth.http.saml.HTTPSamlAuthenticator", Boolean.TRUE),