Package | Description |
---|---|
java.lang |
Contains core language classes.
|
java.security |
Contains core language classes related to permission management.
|
java.util |
Contains utility classes including the collections framework and date manipulation.
|
Modifier and Type | Class and Description |
---|---|
class |
RuntimePermission
This class is for runtime permissions.
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityManager.checkPermission(Permission perm)
Throws a
SecurityException if the requested access, specified by the given
permission, is not permitted based on the security policy currently in effect. |
Modifier and Type | Class and Description |
---|---|
class |
BasicPermission
The BasicPermission class extends the Permission class, and can be used as the base class for
permissions that want to follow the same naming convention as BasicPermission.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BasicPermission.implies(Permission p)
Checks if the specified permission is "implied" by this object.
|
abstract boolean |
Permission.implies(Permission permission)
Checks if the specified permission's actions are "implied by" this object's actions.
|
Modifier and Type | Class and Description |
---|---|
class |
PropertyPermission
This class is for property permissions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PropertyPermission.implies(Permission p)
Checks if this PropertyPermission object "implies" the specified permission.
|