Package com.hazelcast.security.jsm
Class HazelcastRuntimePermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
com.hazelcast.security.jsm.HazelcastRuntimePermission
- All Implemented Interfaces:
Serializable
,Guard
Class which holds named Hazelcast permissions for Security Manager checks. The list of actions is unused in this class.
Permission name supports
*
wildcard as defined in BasicPermission
class.
Usage of protected method name as a target name is recommended. E.g.
SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(new HazelcastRuntimePermission("com.hazelcast.config.Config.getLicenseKey")); }
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates permission with given name.HazelcastRuntimePermission
(String name, String actions) Creates permission with given name. -
Method Summary
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
HazelcastRuntimePermission
Creates permission with given name. -
HazelcastRuntimePermission
Creates permission with given name. The actions list is ignored.
-