@Beta
public interface SecurityAdminService
Modifier and Type | Method and Description |
---|---|
void |
acceptPolicy(ApplicationId appId)
Accepts and enforces security policy to specified application.
|
Map<Integer,List<Permission>> |
getPrintableGrantedPermissions(ApplicationId appId)
Returns sorted granted permission Map.
|
Map<Integer,List<Permission>> |
getPrintableRequestedPermissions(ApplicationId appId)
Returns sorted requested permission Map.
|
Map<Integer,List<Permission>> |
getPrintableSpecifiedPermissions(ApplicationId appId)
Returns sorted developer specified permission Map.
|
boolean |
isSecured(ApplicationId appId)
Returns true if security policy has been enforced to specified application.
|
void |
register(ApplicationId appId)
Register application to SM-ONOS subsystem.
|
void |
review(ApplicationId appId)
Changes SecurityModeState of specified application to REVIEWED.
|
boolean isSecured(ApplicationId appId)
appId
- application identifiervoid review(ApplicationId appId)
appId
- application identifiervoid acceptPolicy(ApplicationId appId)
appId
- application identifiervoid register(ApplicationId appId)
appId
- application identifierMap<Integer,List<Permission>> getPrintableSpecifiedPermissions(ApplicationId appId)
appId
- application identifierMap<Integer,List<Permission>> getPrintableGrantedPermissions(ApplicationId appId)
appId
- application identifierMap<Integer,List<Permission>> getPrintableRequestedPermissions(ApplicationId appId)
appId
- application identifier