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 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:
      process in interface ddf.catalog.plugin.PreIngestPlugin
    • process

      public ddf.catalog.operation.UpdateRequest process(ddf.catalog.operation.UpdateRequest updateRequest)
      Specified by:
      process in interface ddf.catalog.plugin.PreIngestPlugin
    • process

      public ddf.catalog.operation.DeleteRequest process(ddf.catalog.operation.DeleteRequest input)
      Specified by:
      process in interface ddf.catalog.plugin.PreIngestPlugin
    • setAttributeMappings

      public void setAttributeMappings(List<String> attributeMappings)