com.ibm.websphere.security
Class WebSphereSecurityPermission

java.lang.Object
  |
  +--java.security.Permission
        |
        +--java.security.BasicPermission
              |
              +--com.ibm.websphere.security.WebSphereSecurityPermission
All Implemented Interfaces:
java.security.Guard, java.io.Serializable

public final class WebSphereSecurityPermission
extends java.security.BasicPermission

This class is for generic Websphere security permissions. A WebSphereSecurityPermission contains a name (also referred to as a "target name") but with no an action list. The following names are allowed: internal, provider, privileged, where internal implies provider, and provider implies privileged.

Since:
1.0
Version:
1.0
See Also:
Serialized Form

Field Summary
static WebSphereSecurityPermission INTERNAL_PERMISSION
           
static WebSphereSecurityPermission PRIVILEGED_PERMISSION
           
static WebSphereSecurityPermission PROVIDER_PERMISSION
           
 
Constructor Summary
WebSphereSecurityPermission(java.lang.String target)
           Creates a new WebSphereSecurityPermission with the specified name.
WebSphereSecurityPermission(java.lang.String target, java.lang.String actions)
           
 
Method Summary
 boolean implies(java.security.Permission p)
           
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, 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
 

Field Detail

INTERNAL_PERMISSION

public static final WebSphereSecurityPermission INTERNAL_PERMISSION

PROVIDER_PERMISSION

public static final WebSphereSecurityPermission PROVIDER_PERMISSION

PRIVILEGED_PERMISSION

public static final WebSphereSecurityPermission PRIVILEGED_PERMISSION
Constructor Detail

WebSphereSecurityPermission

public WebSphereSecurityPermission(java.lang.String target)

Creates a new WebSphereSecurityPermission with the specified name. The name is the symbolic name of the WebSphereSecurityPermission. the following anmes are valid: "internal", "provider", and "privileged".

The internal permission implies the provider permission. The provider permission implies the privileged permission. To maintain runtime integrity, no application code should be given permission above privileged. The provider permission should be granted to plug-in code. The internal permission is granted only to WebSphere Application Server runtime code.

Parameters:
target - The name of the WebSphereSecurityPermission.

WebSphereSecurityPermission

public WebSphereSecurityPermission(java.lang.String target,
                                   java.lang.String actions)
Method Detail

implies

public boolean implies(java.security.Permission p)
Overrides:
implies in class java.security.BasicPermission


 

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.