c4416a25e0
When using the `org.keycloak.adapters.servlet.KeycloakOIDCFilter` a `NullPointerException` can be thrown in the `org.keycloak.adapters.servlet.FilterSessionStore` within the `getParam` method of the generated wrapper in `buildWrapper` when the `content-type` is not set. Since the `content-type` is only used to parse the body. We just check whether the `body` is `null` and if so avoid touching the `content-type` which prevents the NPE. If the `body` is null we return an empty `MultivaluedHashMap` for the parameters. |
||
---|---|---|
.. | ||
adapter-core | ||
adapter-spi | ||
admin-client | ||
as7-eap6 | ||
installed | ||
jaxrs-oauth-client | ||
jboss-adapter-core | ||
jetty | ||
js | ||
osgi-adapter | ||
servlet-adapter-spi | ||
servlet-filter | ||
servlet-oauth-client | ||
spring-boot | ||
spring-security | ||
tomcat | ||
undertow | ||
undertow-adapter-spi | ||
wildfly | ||
pom.xml |