• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCWCD QUESTION CONFUSE

 
Tony Tung
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which two statements are true about using the isUserinRole method to implement security in a Java EE application? (Choose two.)
A. It can be invoked only from the doGet or doPost methods.
B. It can be used independently of the getRemoteUser method.
C. Can return “true” even when its argument is NOT defined as a valid role name in the deployment descriptor.
D. Using the isUserlnRole method overrides any declarative authentication related to the method in which it is invoked.
E. Using the isUserlnRole method overrides any declarative authorization related to the method in which it is invoked.


=========================================================================
B option is true , C option seem to be wrong but someone say it is true

E option should be true

anyone can tell me reason if C option is true ?

thank a lot
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please quote the sourse

avi sinha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic