Class DynamicAccessPermission

  • All Implemented Interfaces:
    java.io.Serializable, java.security.Guard

    public final class DynamicAccessPermission
    extends java.security.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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      DynamicAccessPermission​(java.lang.String name)
      Creates a new DynamicAccessPermission with the specified name.
      DynamicAccessPermission​(java.lang.String name, java.lang.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​(java.lang.String name)
        Creates a new DynamicAccessPermission with the specified name.
        Parameters:
        name - the name of the DynamicAccessPermission.
      • DynamicAccessPermission

        public DynamicAccessPermission​(java.lang.String name,
                                       java.lang.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.