Results 1 to 2 of 2

Thread: Interceptor multiple url pattern

  1. #1
    Join Date
    Nov 2011
    Posts
    18

    Question Interceptor multiple url pattern

    Hi all,

    I have one request Interceptor. All I need to filter request coming from "/secure/<any pattern>"

    To achieve this I am using following mapping for the interceptor:

    Code:
    <mvc:mapping path="/secure/*"/>
    But it works only for URI like <context>/secure/<resourcename>
    Its not working for URI like <context>/secure/<anotherpath>/<resourcename>

    Any help?

  2. #2
    Join Date
    Dec 2008
    Location
    India
    Posts
    295

    Default

    you can try /** to secure both URLs -> /secure/ and -> /secure/subpath
    Enjoy
    Rohan Chauhan
    ------------------------------------------------------------------------------
    SpringSource Certified Spring 3.0 Professional


Posting Permissions

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