Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authentiation and Authorization logic in RequestProcessor?

 
amit sharma
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made some application in simple jsp .There to control the access and authorization i use filters .I made many filters and then apply that filters to several url patterns.
Now i making struts application and using tiles .One of my friend told me in struts usually we extend requestproccessor and put the logic there .But if i not use filters and put all the logic in requestproccessor then it will become very big and unmanageable .How we handle Authentication and Authorization in Struts .
 
Joe Ess
Bartender
Posts: 9279
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let the container manage it, then you can concentrate on working on your application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic