Skip to content

OncePerRequestFilter cannot be CGLib-proxied #35198

Open
@odrotbohm

Description

@odrotbohm

The original report can be found here.

tl;dr

OncePerRequestFilter implementations are not suitable for CGLib proxying as they use final methods referencing properties that stay null in the wrapping instance.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions