- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SharedClassesNamedPermission(String name)
Create a representation of the named permissions.SharedClassesNamedPermission(String name, String actions)
Create a representation of the named permissions.
-
Method Summary
-
Methods declared in class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
-
Methods declared in class java.security.Permission
checkGuard, getName, toString
-
-
-
-
Constructor Detail
-
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 permissionactions
- not used, must be null or an empty string- Throws:
IllegalArgumentException
- if actions is not null or an empty string
-
-