net.jini.export
Class ExportPermission
java.lang.Object
  
java.security.Permission
      
java.security.BasicPermission
          
net.jini.export.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:
 
 
 | 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:
 - Serialized Form
 
 
 
 
 
 
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 nameactions - ignored
 
Copyright © GigaSpaces.