graal
graal copied to clipboard
[GR-36719] Automatically register the Sasl provider.
The Sasl service does not conform to the JCA and therefor is not automatically registered by our SecurityServicesFeature. This service uses SaslClient#createSaslClient and SaslServer#createSaslServer methods as a means of instantiating different implementations of the service. However, we cannot use these methods directly for reachability handlers, as the Sasl service is used through a facade class: javax.security.sasl.Sasl
This PR adds the special handling required to automatically register the Sasl provider when used through javax.security.sasl.Sasl
@gradinac it looks like this one slipped through the cracks :)
@zakkak thank you for looking into this one! :) It had been gathering dust for a bit, I've rebased it and added internal tests, I'll look into merging it to master now :)
I have the probleme of build native here to use "-H:AdditionalSecurityProviders=software.amazon.msk.auth.iam.internals.IAMSaslClientProvider"
Do you know how to solve this