Files
keycloak/integration
Thomas Darimont c4416a25e0 KEYCLOAK-2068 - Fix Potential NPE when using Servlet-Filter Adapter.
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.
2015-11-13 00:14:34 +01:00
..
2015-10-29 16:33:02 -04:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-11-10 11:20:06 +01:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00
2015-10-19 16:15:29 +02:00