public final class SystemPermission extends AccessPermission
ActivationSystem
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.ActivationSystem.activeGroup | invoking ActivationSystem.activeGroup |
The caller can inject itself as the instantiation of a group if the group is currently being activated. |
java.rmi.activation.ActivationSystem.getActivationDesc | invoking ActivationSystem.getActivationDesc |
The caller can obtain the descriptor for an existing activatable object if it knows the activation identifier. |
java.rmi.activation.ActivationSystem.getActivationGroupDesc | invoking
ActivationSystem.getActivationGroupDesc |
The caller can obtain the descriptor for an existing activation group if it knows the activation group identifier. |
java.rmi.activation.ActivationSystem.registerGroup | invoking ActivationSystem.registerGroup |
The caller can register new activation groups. |
java.rmi.activation.ActivationSystem.registerObject | invoking ActivationSystem.registerObject |
The caller can register new activatable objects. |
java.rmi.activation.ActivationSystem.setActivationDesc | invoking ActivationSystem.setActivationDesc |
The caller can replace the descriptor for an existing activatable object if it knows the activation identifier. |
java.rmi.activation.ActivationSystem.setActivationGroupDesc | invoking
ActivationSystem.setActivationGroupDesc |
The caller can replace the descriptor for an existing activation group if it knows the activation group identifier. |
java.rmi.activation.ActivationSystem.shutdown | invoking ActivationSystem.shutdown |
The caller can shut down the activation system. |
java.rmi.activation.ActivationSystem.unregisterObject | invoking ActivationSystem.unregisterObject |
The caller can unregister existing activatable objects if it knows their activation identifiers. |
java.rmi.activation.ActivationSystem.unregisterGroup | invoking ActivationSystem.unregisterGroup |
The caller can unregister existing activation groups if it knows their activation group identifiers. |
org.apache.river.phoenix.ActivationAdmin.getActivationGroups | invoking ActivationAdmin.getActivationGroups |
The caller can obtain the activation group identifiers and descriptors for all registered activation groups |
org.apache.river.phoenix.ActivationAdmin.getActivatableObjects | invoking
ActivationAdmin.getActivatableObjects |
The caller can obtain the activation identifiers and descriptors for all registered activatable objects in an activation group if it knows the activation group identifier |
Constructor and Description |
---|
SystemPermission(String name)
Creates an instance with the specified name.
|
equals, getActions, hashCode, implies
checkGuard, getName, newPermissionCollection, toString
public SystemPermission(String name)
name
- the target nameCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.