• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Security in Interceptor Filter

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I'm using an MVC based framework (similar to Struts). I have a basic Question, why should I use a pattern like Interceptor Filter to authenticate users instead of doing the same thing inside the controller servlet.

Is there any practical use of Interceptor Filter while using Frant Controller.

Pls help...
Thanks,
Reema
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Reema Patel:
Hello All,
I'm using an MVC based framework (similar to Struts). I have a basic Question, why should I use a pattern like Interceptor Filter to authenticate users instead of doing the same thing inside the controller servlet.

Is there any practical use of Interceptor Filter while using Frant Controller.

Pls help...
Thanks,
Reema



I think u can prepare different filters as per ur requirement and apply easily these filters before calling any of ur servlets,pages. So applying restrictions 2 the servlets or actions whenever u want easily.
 
You are HERE! The other map is obviously wrong. Better confirm with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic