Skip to content

Most visited

Recently visited

navigation
Added in API level 1

Guard

public interface Guard

java.security.Guard
Known Indirect Subclasses


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

checkGuard

Added in API level 1
void checkGuard (Object object)

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 Object: the object to be protected by this Guard.
Throws
SecurityException if access is not granted.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.