wood burning stoves 2.0*
The moose likes Struts and the fly likes How to configure to block jsps in preferred folder ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to configure to block jsps in preferred folder ?" Watch "How to configure to block jsps in preferred folder ?" New topic
Author

How to configure to block jsps in preferred folder ?

Sanjeev Charla
Ranch Hand

Joined: Apr 02, 2009
Posts: 90

Hi,

Say we have an AuthInterceptor to check authentication. How to configure this interceptor to check all the jsp pages (suppose in /admin) in a required folder and sub folders if any for authentication when a request comes.

Thanks.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

Is this something you developed on your own? I don't see it in the Struts API.
Are you trying to reinvent declarative security?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to configure to block jsps in preferred folder ?