Index |
Understanding the Java Security Model and the Java Service Wrapper |
The Java Service Wrapper implements a series of Permissions, which can be used to fully control access to the Wrapper API using the standard Java Security Model. As explained in the section below, the user can define the desired permissions in a policy file without any Java coding. This policy file is then used by the Java Service Wrapper via the Security Manager class. WARNINGJava 17 deprecates the Security Manager. Usage of this security model is no longer recommended. |
Controlling another service from within a Java Application |
||||||||||
The Wrapper makes it possible to start, stop, interrogate, and perform other operations
on any service on a system by sending the appropriate control codes.
This can be very powerful,
but if used incorrectly can also open up some severe security problems on a server.
For this reason, access to the
WrapperManager. Be aware that the act of setting a security manager will likely cause many things in your application to start failing with security errors. It is necessary to go in and grant the appropriate permissions for your application. See the following Oracle's tutorial for more information on security managers: http://docs.oracle.com/javase/tutorial/essential/environment/security.html
|