org.glassfish.pfl.basic.proxy
Class DynamicAccessPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
org.glassfish.pfl.basic.proxy.DynamicAccessPermission
- All Implemented Interfaces:
- Serializable, Guard
public final class DynamicAccessPermission
- extends BasicPermission
This class controls the use of dynamic proxies.
A DynamicAccessPermission contains a name (also referred to as a "target name") but
no actions list; you either have the named permission
or you don't.
- See Also:
- Serialized Form
DynamicAccessPermission
public DynamicAccessPermission(String name)
- Creates a new DynamicAccessPermission with the specified name.
- Parameters:
name - the name of the DynamicAccessPermission.
DynamicAccessPermission
public DynamicAccessPermission(String name,
String actions)
- Creates a new DynamicAccessPermission object with the specified name.
The name is the symbolic name of the DynamicAccessPermission, and the
actions String is currently unused and should be null.
- Parameters:
name - the name of the DynamicAccessPermission.actions - should be null.
Copyright © 2013 Oracle. All Rights Reserved.