Class SecurityLoggingPlugin

java.lang.Object
org.codice.ddf.catalog.security.logging.SecurityLoggingPlugin
All Implemented Interfaces:
ddf.catalog.content.plugin.PostCreateStoragePlugin, ddf.catalog.content.plugin.PostUpdateStoragePlugin, ddf.catalog.content.plugin.PreCreateStoragePlugin, ddf.catalog.content.plugin.PreUpdateStoragePlugin, ddf.catalog.plugin.PostFederatedQueryPlugin, ddf.catalog.plugin.PostIngestPlugin, ddf.catalog.plugin.PostQueryPlugin, ddf.catalog.plugin.PostResourcePlugin, ddf.catalog.plugin.PreFederatedQueryPlugin, ddf.catalog.plugin.PreIngestPlugin, ddf.catalog.plugin.PreQueryPlugin, ddf.catalog.plugin.PreResourcePlugin

public class SecurityLoggingPlugin extends Object implements ddf.catalog.plugin.PreIngestPlugin, ddf.catalog.plugin.PostIngestPlugin, ddf.catalog.plugin.PreQueryPlugin, ddf.catalog.plugin.PostQueryPlugin, ddf.catalog.plugin.PreFederatedQueryPlugin, ddf.catalog.plugin.PostFederatedQueryPlugin, ddf.catalog.plugin.PreResourcePlugin, ddf.catalog.plugin.PostResourcePlugin, ddf.catalog.content.plugin.PreCreateStoragePlugin, ddf.catalog.content.plugin.PreUpdateStoragePlugin, ddf.catalog.content.plugin.PostCreateStoragePlugin, ddf.catalog.content.plugin.PostUpdateStoragePlugin
Logs the current operation being performed to the security logger.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ddf.catalog.content.operation.CreateStorageRequest
    process(ddf.catalog.content.operation.CreateStorageRequest input)
     
    ddf.catalog.content.operation.CreateStorageResponse
    process(ddf.catalog.content.operation.CreateStorageResponse input)
     
    ddf.catalog.content.operation.UpdateStorageRequest
    process(ddf.catalog.content.operation.UpdateStorageRequest input)
     
    ddf.catalog.content.operation.UpdateStorageResponse
    process(ddf.catalog.content.operation.UpdateStorageResponse input)
     
    ddf.catalog.operation.CreateRequest
    process(ddf.catalog.operation.CreateRequest input)
     
    ddf.catalog.operation.CreateResponse
    process(ddf.catalog.operation.CreateResponse input)
     
    ddf.catalog.operation.DeleteRequest
    process(ddf.catalog.operation.DeleteRequest input)
     
    ddf.catalog.operation.DeleteResponse
    process(ddf.catalog.operation.DeleteResponse input)
     
    ddf.catalog.operation.QueryRequest
    process(ddf.catalog.operation.QueryRequest input)
     
    ddf.catalog.operation.QueryResponse
    process(ddf.catalog.operation.QueryResponse input)
     
    ddf.catalog.operation.ResourceRequest
    process(ddf.catalog.operation.ResourceRequest input)
     
    ddf.catalog.operation.ResourceResponse
    process(ddf.catalog.operation.ResourceResponse input)
     
    ddf.catalog.operation.UpdateRequest
    process(ddf.catalog.operation.UpdateRequest input)
     
    ddf.catalog.operation.UpdateResponse
    process(ddf.catalog.operation.UpdateResponse input)
     
    ddf.catalog.operation.QueryRequest
    process(ddf.catalog.source.Source source, ddf.catalog.operation.QueryRequest input)
     
    void
    setSecurityLogger(ddf.security.audit.SecurityLogger securityLogger)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SecurityLoggingPlugin

      public SecurityLoggingPlugin()
  • Method Details

    • process

      public ddf.catalog.operation.CreateRequest process(ddf.catalog.operation.CreateRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.UpdateRequest process(ddf.catalog.operation.UpdateRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.DeleteRequest process(ddf.catalog.operation.DeleteRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.QueryRequest process(ddf.catalog.operation.QueryRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreQueryPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.ResourceRequest process(ddf.catalog.operation.ResourceRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreResourcePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.CreateResponse process(ddf.catalog.operation.CreateResponse input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.operation.UpdateResponse process(ddf.catalog.operation.UpdateResponse input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.operation.DeleteResponse process(ddf.catalog.operation.DeleteResponse input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.operation.QueryResponse process(ddf.catalog.operation.QueryResponse input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PostFederatedQueryPlugin
      Specified by:
      process in interface ddf.catalog.plugin.PostQueryPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.ResourceResponse process(ddf.catalog.operation.ResourceResponse input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PostResourcePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.operation.QueryRequest process(ddf.catalog.source.Source source, ddf.catalog.operation.QueryRequest input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException
      Specified by:
      process in interface ddf.catalog.plugin.PreFederatedQueryPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
      ddf.catalog.plugin.StopProcessingException
    • process

      public ddf.catalog.content.operation.CreateStorageRequest process(ddf.catalog.content.operation.CreateStorageRequest input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.content.plugin.PreCreateStoragePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.content.operation.UpdateStorageRequest process(ddf.catalog.content.operation.UpdateStorageRequest input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.content.plugin.PreUpdateStoragePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.content.operation.CreateStorageResponse process(ddf.catalog.content.operation.CreateStorageResponse input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.content.plugin.PostCreateStoragePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.content.operation.UpdateStorageResponse process(ddf.catalog.content.operation.UpdateStorageResponse input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.content.plugin.PostUpdateStoragePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • setSecurityLogger

      public void setSecurityLogger(ddf.security.audit.SecurityLogger securityLogger)