• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets and Security - Q

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which of the following implement security in servlets.

1) programmatic
2) declarative
3) 1 & 2
4) Servlets does nt built security. JAAS has to be used in conjunction with servlets.

I think the best ans is 4. wht do u guys say?
 
Priya Jothi
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For me it is 3.

Regards,
Priya.
 
rakesh mittal
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for me it is 4
 
Priya Jothi
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can u guys explain why do u think option 4 is right?.

Regards,
Priya.
 
Rizwan Mohammad
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think only option 3 is correct. We can have both programmatic and declarative security in java servlets.
 
rakesh mittal
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi priya and rizwaan
can u justify your answer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic