java.security.Guard |
Known Indirect Subclasses
AllPermission
,
AuthPermission
,
BasicPermission
,
FilePermission
,
LoggingPermission
,
NetPermission
,
Permission
,
PrivateCredentialPermission
,
PropertyPermission
,
ReflectPermission
,
RuntimePermission
,
SQLPermission
,
SSLPermission
,
SecurityPermission
,
SerializablePermission
,
SocketPermission
,
UnresolvedPermission
|
Guard
implementors protect access to other objects.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Checks whether access to the specified
Object
should be granted.
|
Checks whether access to the specified
Object
should be granted.
This method returns silently if access is granted, otherwise a
SecurityException
is thrown.
object |
the object to be protected by this
Guard
.
|
---|
SecurityException | if access is not granted. |
---|