Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.jini.export
Class ExportPermission

    java.lang.Object
      java.security.Permission
          java.security.BasicPermission
              net.jini.export.ExportPermission

All Implemented Interfaces:
  Guard, Serializable

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
See Also:
  Serialized Form

Constructor Summary
`ExportPermission(String name)` Creates an instance with the specified name.
`ExportPermission(String name, String actions)` Creates an instance with the specified name.

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

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved