org.glassfish.pfl.basic.proxy
Class DynamicAccessPermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by 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

Constructor Summary
DynamicAccessPermission(String name)
          Creates 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.