Class HazelcastRuntimePermission

All Implemented Interfaces:
Serializable, Guard

public class HazelcastRuntimePermission
extends BasicPermission
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:
Serialized Form