Skip to content

Websocket XML config should pick up PathPatternMessageMatcher.Builder #17508

Closed
@jzheaux

Description

@jzheaux

As part of migration to 7 from 6.5, PathPatternRequestMatcherBuilderFactoryBean and PathPatternMessageMatcherBuilderFactoryBean were added to allow applications to opt-in to the Spring Security 7 default behavior.

This works for the Java RequestMatcher DSL, the XML RequestMatcher DSL, and the Java MessageMatcher DSL, but not the XML MessageMatcher DSL.

The reason for this is WebSocketMessageBrokerSecurityBeanDefinitionParser is not picking up the PathPatternMessageMatcher.Builder published by the factory bean.

Metadata

Metadata

Assignees

Labels

in: messagingAn issue in spring-security-messagingtype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions