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 committed Mar 10, 2023
1 parent 58d991f commit 6da97f7
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 @@ -79,7 +81,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 6da97f7

Please sign in to comment.