Announcement Announcement Module
Collapse
No announcement yet.
Overriding RequestCache used by ExceptionTranslationFilter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Overriding RequestCache used by ExceptionTranslationFilter

    Hey All

    I'm working on trying to swap out the HttpSessionRequestCache used by the ExceptionTranslationFilter with an alternative implementation of my own. Based on Section 8.2 in Core Security Filters it seemed like this might be possible.

    After a while messing with the security config and testing I can't get "my" version of things to run. Debugging through always shows the HttpSessionRequestCache being used.

    Based on this forum thread I'm now wondering if it's even possible.

    My question is, how can I substitute my RequestCache implementation for the one that the ExceptionTranslationFilter is using?

  • #2
    You can use the request-cache namespace element to set the RequestCache.

    Comment

    Working...
    X