Class SharedClassesNamedPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
com.ibm.oti.shared.SharedClassesNamedPermission
- All Implemented Interfaces:
Serializable
,Guard
This class defines shared cache permissions as described in the following table.
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 Summary
ConstructorDescriptionCreate 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 Details
-
SharedClassesNamedPermission
Create a representation of the named permissions.- Parameters:
name
- name of the permission
-
SharedClassesNamedPermission
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
-