WrapperEventPermission.java | Class | WrapperEventPermissions are used to grant the right to register to start
receiving events from the Wrapper.
Some of these permissions can result in performance degredations if used
impropperly.
The following are examples of how to specify the permission within a policy
file.
grant codeBase "file:../lib/-" {
// Grant various permissions to a specific service.
permission org.tanukisoftware.wrapper.security.WrapperEventPermission "service";
permission org.tanukisoftware.wrapper.security.WrapperEventPermission "service, core";
permission org.tanukisoftware.wrapper.security.WrapperEventPermission "*";
};
Possible eventTypes include the following:
Permission Event Type Name |
What the Permission Allows |
Risks of Allowing this Permission |
service |
Register to obtain events whenever the Wrapper service receives any service events. |
Malicious code could receive this event and never return and thus cause performance
and timeout problems with the Wrapper. | WrapperPermission.java | Class | WrapperPermissions are used to control access to the various methods of the
WrapperManager class. | WrapperServicePermission.java | Class | WrapperServicePermissions are used to grant the right to start, stop,
pause, continue, interrogate, or send custom codes to other services
running on a Windows system.
These permissions are inherently quite dangerous so great care should be
taken when granting them. |
|