Home

Add a comment

 

Avatar: Mikkel Flindt Heisterberg

Re: Java in Notes/Domino Explained: On Java Security and how it relates to Notes/Domino

  The issue is with the Security Manager installed in IBM Notes and IBM Domino. That security manager restricts certain operations in the Java language such as wriiting to files on disk etc. The error you are seeing is that Domino restricts you from "messing" with system classes. 

The way to solve such issues with AccessControlExceptions is to 1) find another way to do what you are trying to do which is the easiest or 2) move the code to a location with more rights than where your code is executing now (i.e. an agent) and call that code with elevated rights and have that code work its magic for you. I've written about how this elevation of rights work here >> http://lekkimworld.com/2013/06/20/java_in_notes_domino_explained_on_java_security_and_how_it_relates_to_notes_domino.html

Hope that helps


Re: Java in Notes/Domino Explained: On Java Security and how it relates to Notes/Domino


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).