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.
Modifier and Type | Field and Description |
---|---|
static WebSphereSecurityPermission |
INTERNAL_PERMISSION |
static WebSphereSecurityPermission |
PRIVILEGED_PERMISSION |
static WebSphereSecurityPermission |
PROVIDER_PERMISSION |
Constructor and Description |
---|
WebSphereSecurityPermission(java.lang.String action)
Creates a new
WebSphereSecurityPermission with the default name of
"WebSphereSecurityPermission" and an action. |
Modifier and Type | Method and Description |
---|---|
boolean |
implies(java.security.Permission p) |
public static final WebSphereSecurityPermission INTERNAL_PERMISSION
public static final WebSphereSecurityPermission PROVIDER_PERMISSION
public static final WebSphereSecurityPermission PRIVILEGED_PERMISSION
public WebSphereSecurityPermission(java.lang.String action)
Creates a new WebSphereSecurityPermission
with the default name of
"WebSphereSecurityPermission" and an action.
The name is the symbolic name of the WebSphereSecurityPermission
.
the following action values 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.
action
- The action value of the WebSphereSecurityPermission
.