Skip to content

Document that Method Security Co-routine Support Skips Downstream Interceptors #10920

@jzheaux

Description

@jzheaux

Related to spring-projects/spring-framework#22462 (comment) - PrePostAdviceMethodInterceptor is limiting in its co-routine support in that to make it work it calls CoroutineUtils.invokeSuspendFunction instead of MethodInterceptor.proceed, effectively skipping downstream interceptors.

This can be addressed by ensuring that Spring Security's reactive method interceptor should come last.

Both the limitation and the workaround should be documented.

Metadata

Metadata

Assignees

Labels

in: docsAn issue in Documentation or samplestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions