| Author |
Security Model & RequestDispatched
|
ravi janap
Ranch Hand
Joined: Nov 04, 2000
Posts: 389
|
|
Hi Please confirm the answer to this question from Eduardo Cobian: Which statements are correct about security? 1) The security model doesn't apply when a servlet uses a RequestDispathcer to include or forward a resource 2) The security model doesn't apply when a servlet uses a RequestDispathcer to include a resource but it applies when it uses forward 3) The security model applies when a servlet uses a RequestDispathcer to include or forward a resource 4) The security model doesn't apply when a servlet uses a RequestDispathcer to include or include a static resource The answer says 1 is correct. If we use RequestDespatcher to include or forward to a resource from the same application, shouldn't the security model of the current application apply? --Ravi
|
SCJP, SCJD, SCWCD, SCBCD, SCEA
|
 |
Dominic Paquette
Ranch Hand
Joined: Dec 13, 2002
Posts: 64
|
|
|
I would of answered 3
|
 |
Andy Smith
Ranch Hand
Joined: Sep 28, 2003
Posts: 239
|
|
I think "3" is the correct option ..as you are not able to get the resource somewhere in other context... So Security applies :roll:
|
Share Knowledge to gain it.
SCJP 2, SCWCD 2, SCDJWS, IBM 141 (In Progress), IBM 486 (Next)
|
 |
 |
|
|
subject: Security Model & RequestDispatched
|
|
|