securitymanager
RMI: Using a foreign remote object
Just when I thought I know how RMI works, it comes back and tell me I do not. The following situation:[详细]
2023-02-12 15:39 分类:问答Java Policy file - Deny permissions to a codebase
In the Java policy file, the grant codeBase syntax specifies which codebase should be granted which permissions. for example,[详细]
2023-02-10 08:41 分类:问答Java SecurityManager: Good introduction to policy files
Can you recommend a good introduction to non-trivial policy files for the standard Java SecurityManager?[详细]
2023-02-09 01:37 分类:问答Swing app with security manager causing strange GUI-refresh issues
I have a Swing app (residing in an executable, signed jar) that is a client. The app also connects to a se开发者_运维技巧rver. When certain conditions are met, I perform a refresh of the GUI (more spe[详细]
2023-01-24 12:26 分类:问答Java SocketPermission policy question
I have a client and server program that attempt to communicate with each other. In my policy file for the server, I have specified the following:[详细]
2023-01-24 12:15 分类:问答Why can't I shutdown my own ExecutorService under a SecurityManager?
Under the default security manager, if I create an ExecutorService (ThreadPoolExecutor in this case), I cannot shut it down, shutdown() just calls checkPermission(\"modifyThread\") and thus immediatel[详细]
2023-01-13 08:51 分类:问答Tomcat configuration for Spring app
I have built web application for use in Tomcat. It depends on Spring. I have the following exception when trying to access it:[详细]
2023-01-05 16:43 分类:问答How to sanely configure security policy in Tomcat 6
I\'m using Tomcat 6.0.24, as packaged for Ubuntu Karmic.The default security policy of Ubuntu\'s Tomcat package is pretty stringent, but appears straightforward.In /var/lib/tomcat6/conf/policy.d, ther[详细]
2022-12-27 13:17 分类:问答Other SecurityManager implementations available?
Is there any other implementation (e.g. in an OSS project) of a Java SecurityManager available which has more features than the one in the JDK?[详细]
2022-12-23 18:24 分类:问答Small and fast .NET programs? - 65% runtime in ResolvePolicy
I tried to build a very very small .NET app in F#. It just has to convert a small string int开发者_开发技巧o another string and print the result to the console like:[详细]
2022-12-23 00:10 分类:问答