Skip to content

Make OidcRequestContextProperties modifiable #44156

@sberyozkin

Description

@sberyozkin

Description

It is possible now to intercept OIDC request and response properties with OidcRequestFilter and OidcResponseFilter, with OidcRequestContextPropeties available to both filters and providing a read only access to properties like the current tenant id, request URI, etc, for the response filter to correlate the current response with the specific request.
However, if the request filter would like to add a property like a timestamp for the response filter to measure how long it took for the request to complete, it is currently not possible

Implementation ideas

Having OidcRequestContextProperties.set(String name, Object value) should do, since OidcRequestContextProperties already offers a few getters for all the property types

CC @sschellh

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions