com.ibm.websphere.security

Class WebSphereSecurityPermission

  1. java.lang.Object
  2. extended byjava.security.Permission
  3. extended byjava.security.BasicPermission
  4. extended bycom.ibm.websphere.security.WebSphereSecurityPermission
All implemented interfaces:
java.io.Serializable, java.security.Guard

  1. public final class WebSphereSecurityPermission
  2. 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
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. WebSphereSecurityPermission
INTERNAL_PERMISSION
  1. static
  2. WebSphereSecurityPermission
PRIVILEGED_PERMISSION
  1. static
  2. WebSphereSecurityPermission
PROVIDER_PERMISSION

Constructor Summary

Constructor and Description
WebSphereSecurityPermission(java.lang.String action)
Creates a new WebSphereSecurityPermission with the default name of "WebSphereSecurityPermission" and an action.

Method Summary

Modifier and Type Method and Description
  1. 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
getClass, notify, notifyAll, wait, wait, wait

Field Detail

INTERNAL_PERMISSION

  1. public static final WebSphereSecurityPermission INTERNAL_PERMISSION

PROVIDER_PERMISSION

  1. public static final WebSphereSecurityPermission PROVIDER_PERMISSION

PRIVILEGED_PERMISSION

  1. public static final WebSphereSecurityPermission PRIVILEGED_PERMISSION

Constructor Detail

WebSphereSecurityPermission

  1. 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.

Parameters:
action - The action value of the WebSphereSecurityPermission.

Method Detail

implies

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