欢迎来到计算机考试题库网 考试题库官网
全部科目 > Java认证考试 > SCWCD(310-083)

单项选择题

A developer has used this code within a servlet:
62.if(request.isUserInRole("vip")) {
63.// VIP-related logic here
64.}
What else must the developer do to ensure that the intended security goal is achieved?()

    A.Create a user called vip in the security realm
    B.Define a group within the security realm and call it vip
    C.Define a security-role named vip in the deployment descriptor
    D.Declare a security-role-ref for vip in the deployment descripto

点击查看答案

相关考题