Interface SecurityAdminService


  • @Beta
    public interface SecurityAdminService
    Security-Mode ONOS service.
    • Method Detail

      • isSecured

        boolean isSecured​(ApplicationId appId)
        Returns true if security policy has been enforced to specified application.
        Parameters:
        appId - application identifier
        Returns:
        true if secured.
      • review

        void review​(ApplicationId appId)
        Changes SecurityModeState of specified application to REVIEWED.
        Parameters:
        appId - application identifier
      • acceptPolicy

        void acceptPolicy​(ApplicationId appId)
        Accepts and enforces security policy to specified application.
        Parameters:
        appId - application identifier
      • register

        void register​(ApplicationId appId)
        Register application to SM-ONOS subsystem.
        Parameters:
        appId - application identifier
      • getPrintableSpecifiedPermissions

        Map<Integer,​List<Permission>> getPrintableSpecifiedPermissions​(ApplicationId appId)
        Returns sorted developer specified permission Map.
        Parameters:
        appId - application identifier
        Returns:
        Map of list of permissions sorted by permission type
      • getPrintableGrantedPermissions

        Map<Integer,​List<Permission>> getPrintableGrantedPermissions​(ApplicationId appId)
        Returns sorted granted permission Map.
        Parameters:
        appId - application identifier
        Returns:
        Map of list of permissions sorted by permission type
      • getPrintableRequestedPermissions

        Map<Integer,​List<Permission>> getPrintableRequestedPermissions​(ApplicationId appId)
        Returns sorted requested permission Map.
        Parameters:
        appId - application identifier
        Returns:
        Map of list of permissions sorted by permission type