From bb6cf95948527558f396d23f71888bbddf6d1ba4 Mon Sep 17 00:00:00 2001 From: Bill Burke Date: Wed, 25 Mar 2015 19:23:51 -0400 Subject: [PATCH] merge --- .../broker/oidc/KeycloakOIDCIdentityProvider.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/broker/oidc/src/main/java/org/keycloak/broker/oidc/KeycloakOIDCIdentityProvider.java b/broker/oidc/src/main/java/org/keycloak/broker/oidc/KeycloakOIDCIdentityProvider.java index 1246b96637..637546b431 100755 --- a/broker/oidc/src/main/java/org/keycloak/broker/oidc/KeycloakOIDCIdentityProvider.java +++ b/broker/oidc/src/main/java/org/keycloak/broker/oidc/KeycloakOIDCIdentityProvider.java @@ -3,6 +3,7 @@ package org.keycloak.broker.oidc; import org.keycloak.broker.oidc.util.SimpleHttp; import org.keycloak.broker.provider.IdentityProvider; import org.keycloak.constants.AdapterConstants; +import org.keycloak.events.EventBuilder; import org.keycloak.jose.jws.JWSInput; import org.keycloak.models.RealmModel; import org.keycloak.models.UserSessionModel; @@ -27,13 +28,13 @@ public class KeycloakOIDCIdentityProvider extends OIDCIdentityProvider { } @Override - public Object callback(RealmModel realm, AuthenticationCallback callback) { - return new KeycloakEndpoint(callback, realm); + public Object callback(RealmModel realm, AuthenticationCallback callback, EventBuilder event) { + return new KeycloakEndpoint(callback, realm, event); } protected class KeycloakEndpoint extends OIDCEndpoint { - public KeycloakEndpoint(AuthenticationCallback callback, RealmModel realm) { - super(callback, realm); + public KeycloakEndpoint(AuthenticationCallback callback, RealmModel realm, EventBuilder event) { + super(callback, realm, event); } @POST