Class WebSphereRuntimePermission
- All Implemented Interfaces:
Serializable,Guard
This class is for generic Websphere runtime permissions. A WebSphereRuntimePermission
contains a name (also referred to as a "target name") but no action list, either the
permission is granted or not.
The target name is the name of a security configuration parameter. Currently
the WebSphereRuntimePermission used to guard access to the following objects:
SecurityCallbackHandlerAccessor
Possible target names for WebSphere runtime permissions are:
-
setClientContainerCallback - allow the caller to invoke the
SecurityCallbackHandlerAccessor.setCallbackHandlermethod
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWebSphereRuntimePermission(String target) Creates a newWebSphereRuntimePermissionwith the specified name.WebSphereRuntimePermission(String target, String actions) Creates a newWebSphereRuntimePermissionwith the specified name. -
Method Summary
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollectionMethods inherited from class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
WebSphereRuntimePermission
Creates a new
WebSphereRuntimePermissionwith the specified name. The name is the symbolic name of theWebSphereRuntimePermission.- Parameters:
target- The name of theWebSphereRuntimePermission.
-
WebSphereRuntimePermission
Creates a new
WebSphereRuntimePermissionwith the specified name. The name is the symbolic name of theWebSphereRuntimePermission, and the actionsStringis currently unused and should benull. This constuctor exists for use byPolicyobject to instantiate new Permission objects.- Parameters:
target- The name of theWebSphereRuntimePermission.actions- Should benull.- See Also:
-