public class SetPermissionsAction extends Object implements PrivilegedExceptionAction<Object>
This action will only actually do work if there's a security manager installed. If there is no such manager this will be a NO-OP.
If the client VM doesn't have the required privileges for the requested permissions an AccessControlException will be thrown.
Constructor and Description |
---|
SetPermissionsAction(CommponentType type,
DeploymentContext deploymentContext,
ClassLoader classLoader) |
public SetPermissionsAction(CommponentType type, DeploymentContext deploymentContext, ClassLoader classLoader)
public Object run() throws SecurityException
run
in interface PrivilegedExceptionAction<Object>
SecurityException
Copyright © 2019. All rights reserved.