@Service public class SecurityModeManager extends Object implements org.onosproject.security.SecurityAdminService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.app.ApplicationAdminService |
appAdminService |
protected org.onosproject.event.EventDeliveryService |
eventDispatcher |
protected org.onosproject.event.ListenerRegistry<SecurityModeEvent,SecurityModeListener> |
listenerRegistry |
protected org.osgi.service.log.LogReaderService |
logReaderService |
protected SecurityModeStore |
store |
| Constructor and Description |
|---|
SecurityModeManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptPolicy(org.onosproject.core.ApplicationId appId) |
void |
activate() |
void |
deactivate() |
Map<Integer,List<Permission>> |
getPrintableGrantedPermissions(org.onosproject.core.ApplicationId appId) |
Map<Integer,List<Permission>> |
getPrintableRequestedPermissions(org.onosproject.core.ApplicationId appId) |
Map<Integer,List<Permission>> |
getPrintableSpecifiedPermissions(org.onosproject.core.ApplicationId appId) |
boolean |
isSecured(org.onosproject.core.ApplicationId appId) |
void |
register(org.onosproject.core.ApplicationId appId) |
void |
review(org.onosproject.core.ApplicationId appId) |
@Reference(cardinality=MANDATORY_UNARY) protected SecurityModeStore store
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.app.ApplicationAdminService appAdminService
@Reference(cardinality=MANDATORY_UNARY) protected org.osgi.service.log.LogReaderService logReaderService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.event.EventDeliveryService eventDispatcher
protected final org.onosproject.event.ListenerRegistry<SecurityModeEvent,SecurityModeListener> listenerRegistry
@Activate public void activate()
@Deactivate public void deactivate()
public boolean isSecured(org.onosproject.core.ApplicationId appId)
isSecured in interface org.onosproject.security.SecurityAdminServicepublic void review(org.onosproject.core.ApplicationId appId)
review in interface org.onosproject.security.SecurityAdminServicepublic void acceptPolicy(org.onosproject.core.ApplicationId appId)
acceptPolicy in interface org.onosproject.security.SecurityAdminServicepublic void register(org.onosproject.core.ApplicationId appId)
register in interface org.onosproject.security.SecurityAdminServicepublic Map<Integer,List<Permission>> getPrintableSpecifiedPermissions(org.onosproject.core.ApplicationId appId)
getPrintableSpecifiedPermissions in interface org.onosproject.security.SecurityAdminServicepublic Map<Integer,List<Permission>> getPrintableGrantedPermissions(org.onosproject.core.ApplicationId appId)
getPrintableGrantedPermissions in interface org.onosproject.security.SecurityAdminServicepublic Map<Integer,List<Permission>> getPrintableRequestedPermissions(org.onosproject.core.ApplicationId appId)
getPrintableRequestedPermissions in interface org.onosproject.security.SecurityAdminServiceCopyright © 2015. All rights reserved.