public class MahaloPermission extends AccessPermission
net.jini.jeri.BasicJeriExporter. This class can be passed to
net.jini.jeri.BasicInvocationDispatcher, and then used in security policy permission
grants.
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. The convention is that the target name is the
non-qualified name of the remote method being invoked. Wildcard matches are supported using the
syntax specified by AccessPermission.
The possible target names for use with a Mahalo server are specified in the package documentation
for com.sun.jini.mahalo
| Constructor and Description |
|---|
MahaloPermission(String name)
Creates an instance with the specified target name.
|
equals, getActions, hashCode, impliescheckGuard, getName, newPermissionCollection, toStringpublic MahaloPermission(String name)
name - the target nameNullPointerException - if the target name is nullIllegalArgumentException - if the target name does not match the syntax specified in
the comments at the beginning of the AccessPermission classCopyright © GigaSpaces.