Class DeephavenPermission

java.lang.Object
java.security.Permission
java.security.BasicPermission
com.illumon.iris.security.DeephavenPermission
All Implemented Interfaces:
Serializable, Guard

public class DeephavenPermission
extends BasicPermission
See Also:
Serialized Form
  • Constructor Details

    • DeephavenPermission

      public DeephavenPermission​(String name)
      Creates a new BasicPermission with the specified name. Name is the symbolic name of the permission, such as "setFactory", "print.queueJob", or "topLevelWindow", etc.
      Parameters:
      name - the name of the BasicPermission.
      Throws:
      NullPointerException - if name is null.
      IllegalArgumentException - if name is empty.
    • DeephavenPermission

      public DeephavenPermission​(String name, String actions)
      Creates a new BasicPermission object with the specified name. The name is the symbolic name of the BasicPermission, and the actions String is currently unused.
      Parameters:
      name - the name of the BasicPermission.
      actions - ignored.
      Throws:
      NullPointerException - if name is null.
      IllegalArgumentException - if name is empty.