問題詳情
38 Which java code snippet checks whether the user is of the role "MANAGER" for a givenHttpServRequest,httpServletRequest?
(A) httpServletRequest.isUserInRole("MANAGER");
(B) httpServletRequest.isCallerInRole("MANAGER");
(C) httpServletRequest.isPrincipalInRole("MANAGER");
(D) httpServletRequest.isAuthnticatedUserInRole("MANAGER");
參考答案