| java.security.Guard |
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.
| Parameters | |
|---|---|
object |
Object:
the object to be protected by this Guard. |
| Throws | |
|---|---|
SecurityException |
if access is not granted. |