Known Indirect Subclasses
AllPermission,
AuthPermission,
BasicPermission,
FilePermission,
LoggingPermission,
NetPermission,
Permission,
PrivateCredentialPermission,
PropertyPermission,
ReflectPermission,
RuntimePermission,
SQLPermission,
SSLPermission,
SecurityPermission,
SerializablePermission,
SocketPermission,
UnresolvedPermission
| AllPermission |
AllPermission represents the permission to perform any operation. |
| AuthPermission |
Governs the use of methods in this package and also its subpackages. |
| BasicPermission |
BasicPermission is the common base class of all permissions which
have a name but no action lists. |
| FilePermission |
A permission for accessing a file or directory. |
| LoggingPermission |
The permission required to control the logging when run with a
SecurityManager. |
| NetPermission |
This class represents permissions to configure the access to network
resources. |
| Permission |
Permission is the common base class of all permissions that
participate in the access control security framework around
AccessController and AccessControlContext. |
| PrivateCredentialPermission |
Protects private credential objects belonging to a Subject. |
| PropertyPermission |
PropertyPermission objects represent a permission to access system
properties. |
| ReflectPermission |
A ReflectPermission object represents a permission to access
operations in the reflection layer. |
| RuntimePermission |
Represents the permission to execute a runtime-related function. |
| SQLPermission |
A Permission relating to security access control in the java.sql
package. |
| SSLPermission |
The class representing a network permission. |
| SecurityPermission |
SecurityPermission objects guard access to the mechanisms which
implement security. |
| SerializablePermission |
Is used to enable access to potentially unsafe serialization operations. |
| SocketPermission |
Regulates the access to network operations available through sockets through
permissions. |
| UnresolvedPermission |
An UnresolvedPermission represents a Permission whose type
should be resolved lazy and not during initialization time of the Policy. |
|
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)
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. |