| Package | Description |
|---|---|
| org.onosproject.security |
Application security constructs.
|
| Modifier and Type | Field and Description |
|---|---|
protected AppPermission.Type |
AppPermission.type |
| Modifier and Type | Method and Description |
|---|---|
AppPermission.Type |
AppPermission.getType()
Returns type of permission.
|
static AppPermission.Type |
AppPermission.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppPermission.Type[] |
AppPermission.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AppGuard.checkPermission(AppPermission.Type permission)
Checks if the caller has the required permission only when security-mode is enabled.
|
| Constructor and Description |
|---|
AppPermission(AppPermission.Type type)
Crates new application permission using the supplied data.
|
Copyright © 2015. All rights reserved.