Class SharedClassesNamedPermission

java.lang.Object
java.security.Permission
java.security.BasicPermission
com.ibm.oti.shared.SharedClassesNamedPermission
All Implemented Interfaces:
Serializable, Guard

public final class SharedClassesNamedPermission extends BasicPermission
This class defines shared cache permissions as described in the following table.
Shared Cache Permissions
Permission Name Allowed Action
getSharedCacheInfo Obtaining available shared cache information. See SharedClassUtilities.getSharedCacheInfo(String, int, boolean).
destroySharedCache Destroying a shared cache. See SharedClassUtilities.destroySharedCache(String, int, String, boolean).
See Also:
  • Constructor Details

    • SharedClassesNamedPermission

      public SharedClassesNamedPermission(String name)
      Create a representation of the named permissions.
      Parameters:
      name - name of the permission
    • SharedClassesNamedPermission

      public SharedClassesNamedPermission(String name, String actions)
      Create a representation of the named permissions.
      Parameters:
      name - name of the permission
      actions - not used, must be null or an empty string
      Throws:
      IllegalArgumentException - if actions is not null or an empty string