Package 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
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new DynamicAccessPermission with the specified name.DynamicAccessPermission
(String name, String actions) Creates a new DynamicAccessPermission object with the specified name. -
Method Summary
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DynamicAccessPermission
Creates a new DynamicAccessPermission with the specified name.- Parameters:
name
- the name of the DynamicAccessPermission.
-
DynamicAccessPermission
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.
-