com.ibm.websphere.security
Class WebSphereRuntimePermission

java.lang.Objec
  |
  +--java.security.Permission
        |
        +--java.security.BasicPermission
              |
              +--

com.ibm.websphere.security.WebSphereRuntimePermission

All Implemented Interfaces:

java.security.Guard, java.io.Serializable


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 config parameter (see below). 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

Version:

1.0

See Also:

Serialized Form


Constructor Summary

java.lang.String)">WebSphereRuntimePermission(java.lang.String target)
Creates a new WebSphereRuntimePermission with the specified name.
java.lang.String, java.lang.String)">WebSphereRuntimePermission(java.lang.String target, java.lang.String actions)
Creates a new WebSphereRuntimePermission with the specified name.
 

Methods inherited from class java.security.BasicPermission

equals, getActions, hashCode, implies, newPermissionCollection
 

Methods inherited from class java.security.Permission

checkGuard, getName, toString
 

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

java.lang.String)">

 

WebSphereRuntimePermission

public 

WebSphereRuntimePermission

(java.lang.String target)

Creates a new WebSphereRuntimePermission with the specified name. The name is the symbolic name of the WebSphereRuntimePermission.

Parameters:

target - The name of the WebSphereRuntimePermission.


java.lang.String, java.lang.String)">

 

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 the WebSphereRuntimePermission, and the actions String is currently unused and should be null. This constuctor exists for use by Policy objec to instantiate new Permission objects.

Parameters:

target - The name of the WebSphereRuntimePermission.
actions - Should be null.
See Also:
java.security.Policy



 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.