| java.lang.Object | |
| ↳ | java.security.Permission |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Legacy security code; do not use.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Checks whether access to the specified
Object should be granted.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.security.Guard
| |||||||||||
Checks whether access to the specified Object should be granted.
This method returns silently if access is granted, otherwise a SecurityException is thrown.
| Parameters | |
|---|---|
obj |
Object:
the object to be protected by this Guard. |
| Throws | |
|---|---|
SecurityException |
|
| Parameters | |
|---|---|
permission |
Permission
|
| Returns | |
|---|---|
boolean |
|
| Returns | |
|---|---|
PermissionCollection |
|