Skip to content

XML config does not apply request-handler-ref to CsrfAuthenticationStrategy #16801

Closed
@sjohnr

Description

@sjohnr

Describe the bug
CsrfBeanDefinitionParser does not apply the value of request-handler-ref to the bean definition of CsrfAuthenticationStrategy.

Note: By contrast, CsrfConfigurer does apply the configured CsrfTokenRequestHandler to the default CsrfAuthenticationStrategy.

Expected behavior
CsrfBeanDefinitionParser applies the value of request-handler-ref to the bean definition of CsrfAuthenticationStrategy.

Metadata

Metadata

Assignees

Labels

in: configAn issue in spring-security-configtype: bugA general bug

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions