Results 1 to 2 of 2

Thread: Whether current request is under secure context

  1. #1
    Join Date
    Sep 2004
    Location
    Szeged, Hungary
    Posts
    29

    Default Whether current request is under secure context

    Hi!

    In my spring controller I'd like to know whether my request has any connection with any entry defined in "objectDefinitionSource" found in filterInvocationInterceptor. Is there any helper class to decide this?

    By now I can check request.getRequestURI() and search for manually defined strings in it to decide, but it would be more elegant to check with the security engine, that my request is secured or not.

    Thanks for any help.

    Regards,
    Thomas

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Take a look at http://forum.springframework.org/showthread.php?t=11167 for background and intended refactorings to improve this area of the ObjectDefinitionSource.
    Last edited by robyn; May 14th, 2006 at 05:07 PM.

Similar Threads

  1. Hibernate Long Session Per Flow?
    By akw in forum Web Flow
    Replies: 21
    Last Post: Dec 12th, 2005, 08:06 PM
  2. Replies: 9
    Last Post: Nov 1st, 2005, 10:36 PM
  3. Replies: 2
    Last Post: Oct 13th, 2005, 02:47 PM
  4. Loosing my SecureContext
    By sklakken in forum Security
    Replies: 3
    Last Post: Jul 21st, 2005, 01:44 PM
  5. Replies: 8
    Last Post: Dec 7th, 2004, 06:13 PM

Posting Permissions

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