public class RegistrarPermission extends AccessPermission
BasicJeriExporter
. This class can be specified to BasicInvocationDispatcher
, which will then perform permission checks for
incoming remote calls using RegistrarPermission
instances.
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 fully 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 Reggie server are specified in the
package documentation for org.apache.river.reggie
.
Constructor and Description |
---|
RegistrarPermission(String name)
Creates an instance with the specified target name.
|
equals, getActions, hashCode, implies
checkGuard, getName, newPermissionCollection, toString
public RegistrarPermission(String name)
name
- the target nameNullPointerException
- if the target name is null
IllegalArgumentException
- if the target name does not match
the syntax specified in the comments at the beginning of the AccessPermission
classCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.