Skip to content

Commit

Permalink
Use a more generic param type for keycloak config (#962)
Browse files Browse the repository at this point in the history
* Use a more generic param type for keycloak

* Remove unneeded import
  • Loading branch information
mmoayyed authored and leleuj committed Jul 18, 2017
1 parent b53de63 commit 2c2fe5d
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -2,7 +2,7 @@

import org.pac4j.core.context.WebContext;
import org.pac4j.core.util.CommonHelper;
import org.pac4j.oidc.config.KeycloakOidcConfiguration;
import org.pac4j.oidc.config.OidcConfiguration;
import org.pac4j.oidc.profile.OidcProfileDefinition;
import org.pac4j.oidc.profile.creator.OidcProfileCreator;
import org.pac4j.oidc.profile.keycloak.KeycloakOidcProfile;
Expand All @@ -24,7 +24,7 @@ public class KeycloakOidcClient extends OidcClient<KeycloakOidcProfile> {
public KeycloakOidcClient() {
}

public KeycloakOidcClient(final KeycloakOidcConfiguration configuration) {
public KeycloakOidcClient(final OidcConfiguration configuration) {
super(configuration);
}

Expand All @@ -37,4 +37,4 @@ protected void clientInit(final WebContext context) {

super.clientInit(context);
}
}
}

0 comments on commit 2c2fe5d

Please sign in to comment.