From 5f6687fe2abf99f1f58cee9f8ea3d69d644d1784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Dufaure?= Date: Mon, 15 Jan 2024 14:24:08 +0100 Subject: [PATCH] [FIX] Refacto necessary for kc 23 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Clément Dufaure --- .../providers/common/AbstractBaseIdentityProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/insee/keycloak/providers/common/AbstractBaseIdentityProvider.java b/src/main/java/fr/insee/keycloak/providers/common/AbstractBaseIdentityProvider.java index 7426d10..6cf95c1 100644 --- a/src/main/java/fr/insee/keycloak/providers/common/AbstractBaseIdentityProvider.java +++ b/src/main/java/fr/insee/keycloak/providers/common/AbstractBaseIdentityProvider.java @@ -59,7 +59,7 @@ public T getConfig() { @Override public Object callback(RealmModel realm, AuthenticationCallback callback, EventBuilder event) { - return new OIDCEndpoint(callback, realm, event, this ,getConfig()); + return new OIDCEndpoint<>(callback, realm, event, this ,getConfig()); } @Override @@ -185,7 +185,7 @@ public BrokeredIdentityContext getFederatedIdentity(String response) { } } - protected class OIDCEndpoint extends Endpoint { + protected static class OIDCEndpoint extends Endpoint { private final T config;