57c633967a
We now use the `ScriptingProvider` API instead of using the `ScriptEngineManager` because dynamic `ScriptEngineManager` lookups might fail in some environments like JBoss EAP. Refactored `AbstractOIDCProtocolMapper` to provide a new version of the `setClaim(..)` method which takes a `KeycloakSession` as additional argument. The old `setClaim(..)` method is marked as deprecated and should be scheduled for removal in a later release. To ensure backwards compatibility we call the old `setClaim(..)` from the new `setClaim(..,keycloakSession)` method in order to not break user implementations of OIDC ProtocolMappers. The existing OIDC ProtocolMappers which override the old `setClaim(..)` method should be updated to use the new version `setClaim(..,keycloakSession)`. This was necessary to be able to lookup a `ScriptingProvider`. |
||
---|---|---|
.. | ||
java/org/keycloak | ||
resources |