• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Security Question

 
Tyronne Fernando
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lets say there are two servlets A and B. A user has authority to access servlet A, but not to servlet B. But, sevlet A forward the request to servlet B through request dispatcher.

What happens if the user access servlet A? Will he get an Authorization error on servlet A?

I like to know some of your thoughts on this. Thanks in advance.
 
Surajsingh Thakur
Ranch Hand
Posts: 124
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well i feel the user who access servlet A can go to servletB via servlet A...
But not directly to Servlet B because of authorization constraints...

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Surajsingh Thakur:
Well i feel the user who access servlet A can go to servletB via servlet A...
But not directly to Servlet B because of authorization constraints...



yes
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic