Skip to content

Commit

Permalink
adding default crypto provider SPI to native images
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroigor authored and sberyozkin committed Mar 28, 2023
1 parent a2914f7 commit f964a49
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import org.keycloak.adapters.authorization.cip.HttpClaimInformationPointProviderFactory;
import org.keycloak.authorization.client.representation.ServerConfiguration;
import org.keycloak.authorization.client.representation.TokenIntrospectionResponse;
import org.keycloak.common.crypto.CryptoProvider;
import org.keycloak.crypto.def.DefaultCryptoProvider;
import org.keycloak.jose.jwk.JSONWebKeySet;
import org.keycloak.jose.jwk.JWK;
import org.keycloak.jose.jws.JWSHeader;
Expand Down Expand Up @@ -78,7 +80,8 @@ public void registerServiceProviders(BuildProducer<ServiceProviderBuildItem> ser
serviceProvider.produce(new ServiceProviderBuildItem(ClaimInformationPointProviderFactory.class.getName(),
HttpClaimInformationPointProviderFactory.class.getName(),
ClaimsInformationPointProviderFactory.class.getName()));

serviceProvider.produce(new ServiceProviderBuildItem(CryptoProvider.class.getName(),
DefaultCryptoProvider.class.getName()));
}

@BuildStep
Expand Down

0 comments on commit f964a49

Please sign in to comment.