Name

Class java.security.AllPermission

Synopsis

This class represents permissions to perform any operation. This permission is typically granted to extension classes, which (like the core API) need to be able to perform any operation. Although it is a permission class, instances of this class have no name and no actions. The implies( ) method of this class always returns true.

Class Definition

public final class java.security.AllPermission
	extends java.security.Permission {

	// Constructors
	public AllPermission(  );
	public AllPermission(String, String);

	// Instance Methods
	public boolean equals(Object);
	public String getActions(  );
	public int hashCode(  );
	public boolean implies(Permission);
	public PermissionCollection newPermissionCollection(  );
}

See also

Permission

Get Java Security, 2nd Edition 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.