Class AbstractThreadPermissionVerifier
java.lang.Object
com.atlassian.bamboo.specs.maven.sandbox.AbstractThreadPermissionVerifier
- All Implemented Interfaces:
ThreadPermissionVerifier
- Direct Known Subclasses:
LowPrivilegeThreadPermissionVerifier
,ReflectionEnabledThreadPermissionVerifier
public abstract class AbstractThreadPermissionVerifier
extends Object
implements ThreadPermissionVerifier
A permission checker with very limited set of allowed permissions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
checkPermission
(Permission perm) void
checkPermission
(Permission perm, Object context) protected abstract boolean
checkPermissionFor
(Permission perm) This method will get invoked if a standard Applet security manager declined access.
-
Constructor Details
-
AbstractThreadPermissionVerifier
public AbstractThreadPermissionVerifier()
-
-
Method Details
-
checkPermission
- Specified by:
checkPermission
in interfaceThreadPermissionVerifier
-
checkPermission
- Specified by:
checkPermission
in interfaceThreadPermissionVerifier
-
checkPermissionFor
This method will get invoked if a standard Applet security manager declined access. You can use it to grant additional access on top of applet access.
-