Permission - JRE Emulation | JRE Emulation
public abstract class

Permission

extends Object
implements Guard Serializable
java.lang.Object
   ↳ java.security.Permission
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Legacy security code; do not use.

Summary

Public Constructors
Permission(String name)
Public Methods
void checkGuard(Object obj)
Checks whether access to the specified Object should be granted.
abstract String getActions()
final String getName()
abstract boolean implies(Permission permission)
PermissionCollection newPermissionCollection()
Inherited Methods
[Expand]
From class java.lang.Object
From interface java.security.Guard

Public Constructors

public Permission (String name)

Public Methods

public void checkGuard (Object obj)

Checks whether access to the specified Object should be granted. This method returns silently if access is granted, otherwise a SecurityException is thrown.

Parameters
obj the object to be protected by this Guard.

public abstract String getActions ()

public final String getName ()

public abstract boolean implies (Permission permission)

public PermissionCollection newPermissionCollection ()