Project

General

Profile

Actions

Bug #3645

closed

Checkers in ValidatorConfig directly invoke ValidationFailureCallback

Added by Yingdi Yu over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Security
Target version:
Start date:
06/08/2016
Due date:
% Done:

100%

Estimated time:

Description

When a rule (security::conf:Rule) invokes check method, it should try each checkers until one valid checker is found.

This implies that a checker should call ValidationSuccess callback when a packet pass the check, but if the checking fails, the checker should simply return the failure reasons. The ValidationFailure callback should be invoked by the rule when none of checkers can validate the packet.

However, current implementation invoke ValidationFailure callback directly in Checkers, as a result, only the first checker will be used.


Related issues 2 (0 open2 closed)

Blocks NFD - Bug #3640: ECDSA key unusable with automatic prefix propagationClosedZhiyi Zhang06/02/2016

Actions
Blocks ndn-cxx - Task #2418: Improve ValidatorConfig test suiteClosed

Actions
Actions

Also available in: Atom PDF