-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Add intercept-url@request-matcher-ref #4097
Copy link
Copy link
Closed
Description
It would be beneficial to allow intercept-url to be configured using a reference to a RequestMatcher. For example:
<http>
<http-basic/>
<intercept-url request-matcher-ref="matcherRef" access="denyAll"/>
</http>
<user-service>
<user name="user" password="password" authorities="ROLE_USER"/>
</user-service>
<b:bean id="matcherRef" class="org.springframework.security.web.util.matcher.AntPathRequestMatcher"
c:pattern="/foo"
c:httpMethod="GET"
c:caseSensitive="false"/>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement