We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring-security-messaging uses PathMatcher in two places:
spring-security-messaging
PathMatcher
SimpDestinationMessageMatcher
MessageMatcherDelegatingAuthorizationManager
MessageMatcherAuthorizationManagerConfiguration
To construct a PathPattern from a given pattern do:
PathPattern
PathPatternParser parser = PathPatternParser.defaultInstance; String parsed = parser.initFullPathPattern(pattern); PathPattern pathPattern = parser.parse(parsed);
To compare a PathPattern to a message destination, do:
String destination = SimpMessageHeaderAccessor.getDestination(message.getHeaders()); PathContainer pathContainer = PathContainer.parsePath(destination); PathMatchInfo match = pathPattern.matchAndExtract(pathContainer);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
spring-security-messaging
usesPathMatcher
in two places:SimpDestinationMessageMatcher
should be deprecated and replacedMessageMatcherDelegatingAuthorizationManager
should deprecate and replace its use ofPathMatcher
MessageMatcherAuthorizationManagerConfiguration
should not retrieve and configuration aPathMatcher
To construct a
PathPattern
from a given pattern do:To compare a
PathPattern
to a message destination, do:The text was updated successfully, but these errors were encountered: