-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Description
Keith Donald opened SPR-8468 and commented
A good example would be signout control logic. Such logic might be part of a UserInterceptor and triggered if the request URI is /signout. However, if /signout is not mapped to a handler, a 404 will be thrown even if UserInterceptor is capable of processing a /signout request.
The workaround seems to be "use a filter". However filters are difficult to configure and do not natively benefit from Spring DI.
The other workaround is to register a dummy handler for something like /signout.
Affects: 3.1 M2
Issue Links:
- Provide support for Filter registrations in AbstractDispatcherServletInitializer [SPR-9696] #14330 Provide support for Filter registrations in AbstractDispatcherServletInitializer
1 votes, 3 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement