Java Dynamic Management Kit 3.2 Programming Guide | ||||
---|---|---|---|---|
![]() | ![]() | Chapter 12. Dynamic Loading Services | ![]() | ![]() |
The Java Dynamic Management Kit can use the security manager java.lang.SecurityManager where security is required. The security manager java.lang.SecurityManager is provided with JavaŽ 2 SDK, Standard Edition, version 1.2. For further information, see the JavaŽ 2 SDK product documentation.
If you need to use security features in your application, you must instantiate a security manager. This can be done in the application code, or as a property at the command line.
Example 12-3. Instantiating a Security Manager in Application Code
System.setSecurityManager (new java.lang.SecurityManager()); |
The command for running an application and starting the security manager at the command line is:
java -Djava.security.manager MyApp |
![]() | ![]() | ![]() |
Library Loaders | ![]() | Code Signing |