public final class InstantiatorPermission extends AccessPermission
ActivationInstantiator
remote
object exported with
BasicJeriExporter
. This
class can be passed to
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 fully qualified name of the
remote method being invoked. Wildcard matches are supported using the
syntax specified by AccessPermission
.
Permission Target Name | What the Permission Allows | Risks of Allowing this Permission |
---|---|---|
java.rmi.activation.ActivationInstantiator.newInstance | invoking ActivationInstantiator.newInstance |
The caller can inject a new object into the activation group if it knows the activation group identifier. |
Constructor and Description |
---|
InstantiatorPermission(String name)
Creates an instance with the specified name.
|
equals, getActions, hashCode, implies
checkGuard, getName, newPermissionCollection, toString
public InstantiatorPermission(String name)
name
- the target nameCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.