Results 1 to 2 of 2

Thread: Overriding RequestCache used by ExceptionTranslationFilter

  1. #1

    Question 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. #2
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    You can use the request-cache namespace element to set the RequestCache.
    Spring - by Pivotal
    twitter @tekul

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •