A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Practice exam question
john marc almazan
Joined: Feb 09, 2007
Feb 16, 2007 00:52:00
hi guys, please help me answer this question.
//assume there is role name define for supervisor
Which of the following statements are correct?
A. The servlet code should use "manager" as a parameter in
B. The servlet code can use "manager" or "supervisor" as a
parameter in request.isUserInRole() method.
My answer is letter B because even though you have manager(a fake name) which map to supervisor(original name), there is no conflict between the two names so you can still use both names.
what do you think guys?
John Marc Almazan<br />-------------------<br />SCWCD, SCJP 5.0, CCNA
I agree. Here's the link:
subject: Practice exam question
Doubt regarding request.isUserInRole()
doubt in security role ref
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013