Package com.illumon.iris.security
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 Summary
Constructors Constructor Description DeephavenPermission(String name)
Creates a new BasicPermission with the specified name.DeephavenPermission(String name, String actions)
Creates a new BasicPermission object with the specified name. -
Method Summary
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
-
Constructor Details
-
DeephavenPermission
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
- ifname
isnull
.IllegalArgumentException
- ifname
is empty.
-
DeephavenPermission
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
- ifname
isnull
.IllegalArgumentException
- ifname
is empty.
-