com.sun.jini.fiddler
Class FiddlerPermission
java.lang.Object
java.security.Permission
net.jini.security.AccessPermission
com.sun.jini.fiddler.FiddlerPermission
- All Implemented Interfaces:
- Serializable, Guard
public class FiddlerPermission
- extends AccessPermission
Special purpose permission class, specific to the
Fiddler implementation of the lookup discovery service, that can be used
to express the access control policy for that service's backend server
when it is exported with a BasicJeriExporter
. This
permission class can be passed to an instance of
BasicInvocationDispatcher
, and then used in
security policy permission grants.
An instance of this class 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-fully qualified name of the remote method being invoked.
Wildcard matches are supported using the syntax specified by
AccessPermission
.
The target names that can be used with a Fiddler server are specified in
the package documentation for Fiddler.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
- See Also:
- Serialized Form
Constructor Summary |
FiddlerPermission(String name)
Creates an instance of this class having the specified target name. |
FiddlerPermission
public FiddlerPermission(String name)
- Creates an instance of this class having the specified target name.
- Throws:
NullPointerException
- if the given target name is
null
.
IllegalArgumentException
- if the given target name does not
match the required syntax, as specified by the class
AccessPermission
.
Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.