Class WebSphereRuntimePermission
- java.lang.Object
-
- java.security.Permission
-
- java.security.BasicPermission
-
- com.ibm.websphere.security.WebSphereRuntimePermission
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Guard
public final class WebSphereRuntimePermission extends java.security.BasicPermission
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.setCallbackHandler
method
- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebSphereRuntimePermission(java.lang.String target)
Creates a newWebSphereRuntimePermission
with the specified name.WebSphereRuntimePermission(java.lang.String target, java.lang.String actions)
Creates a newWebSphereRuntimePermission
with the specified name.
-
-
-
Constructor Detail
-
WebSphereRuntimePermission
public WebSphereRuntimePermission(java.lang.String target)
Creates a new
WebSphereRuntimePermission
with the specified name. The name is the symbolic name of theWebSphereRuntimePermission
.- Parameters:
target
- The name of theWebSphereRuntimePermission
.
-
WebSphereRuntimePermission
public WebSphereRuntimePermission(java.lang.String target, java.lang.String actions)
Creates a new
WebSphereRuntimePermission
with the specified name. The name is the symbolic name of theWebSphereRuntimePermission
, and the actionsString
is currently unused and should benull
. This constuctor exists for use byPolicy
object to instantiate new Permission objects.- Parameters:
target
- The name of theWebSphereRuntimePermission
.actions
- Should benull
.- See Also:
Policy
-
-