Class ExportPermission

All Implemented Interfaces:
Serializable, Guard

public final class ExportPermission extends BasicPermission
Defines runtime permissions for Exporter implementations. An instance contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't. An asterisk may appear at the end of the name, following a ".", or by itself, to signify a wildcard match.

The possible target names are: <table summary "Describes permission target names and what they allow" border=1 cellpadding=5 width="100%"> Permission Target Name What the Permission Allows Risks of Allowing this Permission exportRemoteInterface.interfaceName obtaining Method objects that have their accessibility flags set to suppress language access checks, for methods of the indicated non-public remote interface interfaceName (given as a fully qualified class name) The caller can invoke methods of a non-public remote interface.

Since:
2.0
Author:
Sun Microsystems, Inc.
See Also:
  • Constructor Details

    • ExportPermission

      public ExportPermission(String name)
      Creates an instance with the specified name.
      Parameters:
      name - the target name
    • ExportPermission

      public ExportPermission(String name, String actions)
      Creates an instance with the specified name. The actions parameter is ignored.
      Parameters:
      name - the target name
      actions - ignored