Interface SecurityLabelAggregator
public interface SecurityLabelAggregator
This delegate sets the security labels for a published representation based on the data and their security labels being published.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
-
Method Details
-
aggregate
void aggregate(Map<String, String> mergeTo, SecurityLabeled finalTarget, Map<String, throws WTExceptionString> mergeFrom, SecurityLabeled mergeFromObject, Map<String, String> options) - Parameters:
mergeTo- it is the output. Initially it has other labelsfinalTarget- the object in which the final result is saved withmergeFrom- labels that will be merged to mergeTo.mergeFromObject- the object where mergeFrom is retrieved. If mergeFromObject is a rep, its target object is used.options- parameters that can be used to control the merging.- Throws:
WTException- when a WTException is thrown, the current publish job fails.
Supported API: true
-
isSecured
The method tests if the security labels ask for secure transaction archive in PE side. For example, in CAT case, if there is a label called ITAR, CAT implementation returns true. PE wouldn't keep the publish job's archive in a secure folder.- Parameters:
securityLabels- aggregated security labelsoptions- parameters- Returns:
- true is secured and false is public
Supported API: true - Throws:
WTException
-