public final class ExportPermission extends BasicPermission
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. |
Constructor and Description |
---|
ExportPermission(String name)
Creates an instance with the specified name.
|
ExportPermission(String name,
String actions)
Creates an instance with the specified name.
|
equals, getActions, hashCode, implies, newPermissionCollection
checkGuard, getName, toString
public ExportPermission(String name)
name
- the target nameCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.