org.tanukisoftware.wrapper.security

Class WrapperPermission


public class WrapperPermission
extends BasicPermission

WrapperPermissions are used to control access to the various methods of the WrapperManager class.
Permission Target NameWhat the Permission AllowsRisks of Allowing this Permission
restartRestart the JVM This is an extremely dangerous permission to grant. Malicious applications can restart the JVM as a denial of service attack.
stopStop the JVM This is an extremely dangerous permission to grant. Malicious applications can stop the JVM as a denial of service attack.
stopImmediateStop the JVM immediately without running the shutdown hooks This is an extremely dangerous permission to grant. Malicious applications can stop the JVM as a denial of service attack.
signalStartingControl the starting timeouts. Malicious code could set this to unrealistically small values as the application is starting, thus causing startup failures.
signalStoppingControl the stopping timeouts. Malicious code could set this to unrealistically small values as the application is stopping, thus causing the application to fail to shutdown cleanly.
signalStoppedControl when the Wrapper is told that the Application has stopped. Malicious code could call this before the application is actually stopped, thus causing the application to fail to shutdown cleanly.
logSends log output to the Wrapper over the back end socket at a specific log level. Malicious code could send very large quanities of log output which could affect the performance of the Wrapper.
listServicesRequests the status of all services currently installed on the system. Malicious code could use this information to find other weaknesses in the system.
addWrapperEventListener service,core removeWrapperEventListener setConsoleTitle getUser getInteractiveUser getProperties getWrapperPID getJavaPID requestThreadDump test.appearHung test.accessViolation test.accessViolationNative
Version:
$Revision: 1.2 $
Author:
Leif Mortenson

Constructor Summary

WrapperPermission(String name)
Creates a new WrapperPermission with the specified name.
WrapperPermission(String name, String actions)

Constructor Details

WrapperPermission

public WrapperPermission(String name)
Creates a new WrapperPermission with the specified name. The name is the symbolic name of the WrapperPermission, such as "stop", "restart", etc. An asterisk may appear at the end of the name, following a ".", or by itself, to signify a wildcard match.
Parameters:
name - the name of the WrapperPermission.

WrapperPermission

public WrapperPermission(String name,
                         String actions)

Copyright 1999, 2006 Tanuki Software Inc., All Rights Reserved.