Class DefaultSecurityAttributeValuesPlugin
java.lang.Object
org.codice.alliance.catalog.plugin.defaultsecurity.DefaultSecurityAttributeValuesPlugin
- All Implemented Interfaces:
ddf.catalog.plugin.PreIngestPlugin
public class DefaultSecurityAttributeValuesPlugin
extends Object
implements ddf.catalog.plugin.PreIngestPlugin
This plugin sets security attributes on
Metacards to system high attribute values if none
of the policies were able to apply security markings to this Metacard.
The configuration for this plugin defines the mapping for metacard security attributes to system high attributes
If the system high attribute does not exist, the corresponding security Attribute will not be set on any processed Metacards, and processing
will not be interrupted.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSecurityAttributeValuesPlugin(SecurityAttributes securityAttributes, org.codice.ddf.security.SystemHighAttributes systemHighAttributes, Map<String, String> initialValues) -
Method Summary
Modifier and TypeMethodDescriptionddf.catalog.operation.CreateRequestprocess(ddf.catalog.operation.CreateRequest createRequest) ddf.catalog.operation.DeleteRequestprocess(ddf.catalog.operation.DeleteRequest input) ddf.catalog.operation.UpdateRequestprocess(ddf.catalog.operation.UpdateRequest updateRequest) voidsetAttributeMappings(List<String> attributeMappings)
-
Constructor Details
-
DefaultSecurityAttributeValuesPlugin
public DefaultSecurityAttributeValuesPlugin(SecurityAttributes securityAttributes, org.codice.ddf.security.SystemHighAttributes systemHighAttributes, Map<String, String> initialValues)
-
-
Method Details
-
process
public ddf.catalog.operation.CreateRequest process(ddf.catalog.operation.CreateRequest createRequest) - Specified by:
processin interfaceddf.catalog.plugin.PreIngestPlugin
-
process
public ddf.catalog.operation.UpdateRequest process(ddf.catalog.operation.UpdateRequest updateRequest) - Specified by:
processin interfaceddf.catalog.plugin.PreIngestPlugin
-
process
public ddf.catalog.operation.DeleteRequest process(ddf.catalog.operation.DeleteRequest input) - Specified by:
processin interfaceddf.catalog.plugin.PreIngestPlugin
-
setAttributeMappings
-