Package net.jini.export
Class ExportPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
net.jini.export.ExportPermission
- All Implemented Interfaces:
Serializable,Guard
Defines runtime permissions for Permission Target Name What
the Permission Allows Risks of Allowing this Permission
exportRemoteInterface.interfaceName obtaining The caller can invoke methods of a non-public
remote interface.
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%">
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)- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExportPermission(String name) Creates an instance with the specified name.ExportPermission(String name, String actions) Creates an instance with the specified name. -
Method Summary
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollectionMethods inherited from class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
ExportPermission
Creates an instance with the specified name.- Parameters:
name- the target name
-
ExportPermission
Creates an instance with the specified name. The actions parameter is ignored.- Parameters:
name- the target nameactions- ignored
-