• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Front Controller and security

 
Rahul Jadaun
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A question in Whizlab says Front controller improves manageability of security. Can someone please tell me how.
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Front Controller is single entry point to your application. whatever request comes to your application should goes through Front Controller.

So, it is easy to implement and manage security in Front Controller.

For Example,

Whenever a request comes, you can do your security checks in Front Controller(which is single entry point to your application)and if user is authorized then you can forward to business class else you can forward login page asking his userName and password.
 
Rahul Jadaun
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Prabhu...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic