Since: API Level 1
public interface

Guard

java.security.Guard
Known Indirect Subclasses

Class Overview

Guard implementors protect access to other objects.

Summary

Public Methods
abstract void checkGuard(Object object)
Checks whether access to the specified Object should be granted.

Public Methods

public abstract void checkGuard (Object object)

Since: API Level 1

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

Parameters
object the object to be protected by this Guard.
Throws
SecurityException if access is not granted.