多选题Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()AIt can be invoked only from the doGet or doPost methods.BIt can be used independently of the getRemoteUser method.CCan return true even w

题目
多选题
Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()
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 isUserInRole method overrides any declarative authentication related to the method in which it is invoked.

参考答案和解析
正确答案: D,C
解析: 暂无解析
更多“多选题Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()AIt can be invoked only from the doGet or doPost methods.BIt can be used independently of the getRemoteUser method.CCan return true even w”相关问题