aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Same Url Pattern and Different Filters ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Same Url Pattern and Different Filters ?" Watch "Same Url Pattern and Different Filters ?" New topic
Author

Same Url Pattern and Different Filters ?

Jayaraj Jaganathan
Ranch Hand

Joined: Jun 29, 2009
Posts: 69
I have developed a web based application using struts2.
I like to add security filter framework into my application for authentication .

issue:
------
since both filter has same url pattern, my security filter is not called
first it has to go to security filter and then struts2 filter

how to do it ?
please guide me



Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 365
Hi,

Declare your security filter before struts2's FilterDispatcher filter.


Thanks,
Shailesh
Jayaraj Jaganathan
Ranch Hand

Joined: Jun 29, 2009
Posts: 69
Shailesh Narkhede wrote:Hi,

Declare your security filter before struts2's FilterDispatcher filter.


the below configuration as you said is not working !!

PLease help me again

Jayaraj Jaganathan
Ranch Hand

Joined: Jun 29, 2009
Posts: 69
Jayaraj Jaganathan wrote:

the below configuration as you said is not working !!

PLease help me again



its working . i have tested it . sorry for my previous reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Same Url Pattern and Different Filters ?
 
Similar Threads
Servlet not showing up in Browser
Struts2 integration with Spring Security
config my-faces & tomahawk & Trinidad
Struts2 with Displaytag export option is not working
web.xml problem in struts2