Name
Class java.security.Permissions
Synopsis
This class is an aggregate of permission collections. Hence, it is an
appropriate collection object for a group of unrelated permission,
which is its typical use: the Policy
class uses
instances of this class to represent all the permissions associated
with a particular protection domain.
Class Definition
public final class java.security.Permissions extends java.security.PermissionCollection implements java.io.Serializable { // Constructors public Permissions(); // Instance Methods public void add(Permission); public Enumeration elements(); public boolean implies(Permission); }
See also:
Permission
, PermissionCollection
, Policy
Get Java Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.