Permission

public abstract class Permission extends Object
implements Guard Serializable
Known Direct Subclasses
Known Indirect Subclasses

Legacy security code; do not use.

Public Constructor Summary

Permission(String name)

Public Method Summary

void
checkGuard(Object object)
Determines whether or not to allow access to the guarded object object.
abstract String
final String
abstract boolean
implies(Permission permission)
PermissionCollection

Inherited Method Summary

Public Constructors

public Permission (String name)

Parameters
name

Public Methods

public void checkGuard (Object object)

Determines whether or not to allow access to the guarded object object. Returns silently if access is allowed. Otherwise, throws a SecurityException.

Parameters
object the object being protected by the guard.

public abstract String getActions ()

public final String getName ()

public abstract boolean implies (Permission permission)

Parameters
permission

public PermissionCollection newPermissionCollection ()