IBM
LOT-407 · Question #59
Barry has written an XPage which utilizes code in custom Java classes. When opening the XPage the following security exception is thrown "java.security.AccessControlException: access denied…
The correct answer is C. grant {. See the full explanation below for the reasoning.
Question
Barry has written an XPage which utilizes code in custom Java classes. When opening the XPage the following security exception is thrown "java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)". What can be added to the java.policy file on the server to prevent this error?
Options
- Agrant {
- Ballow permission getClassLoader;
- Cgrant {
- Dallow permission java.lang.RuntimePermission "getClassLoader";
How the community answered
(60 responses)- A12% (7)
- B7% (4)
- C80% (48)
- D2% (1)
Community Discussion
No community discussion yet for this question.