public class SecurityLoggingPlugin extends Object implements PreIngestPlugin, PostIngestPlugin, PreQueryPlugin, PostQueryPlugin, PreFederatedQueryPlugin, PostFederatedQueryPlugin, PreResourcePlugin, PostResourcePlugin, PreCreateStoragePlugin, PreUpdateStoragePlugin, PostCreateStoragePlugin, PostUpdateStoragePlugin
Constructor and Description |
---|
SecurityLoggingPlugin() |
public CreateRequest process(CreateRequest input) throws PluginExecutionException, StopProcessingException
PreIngestPlugin
CreateRequest
prior to CatalogProvider.create(CreateRequest)
.process
in interface PreIngestPlugin
input
- the CreateRequest
to processCreateRequest
to pass to the next PreIngestPlugin
, or to the CatalogProvider
if this is the last
PreIngestPlugin
to be calledPluginExecutionException
- if an error in processing occursStopProcessingException
public UpdateRequest process(UpdateRequest input) throws PluginExecutionException, StopProcessingException
PreIngestPlugin
UpdateRequest
prior to CatalogProvider.update(UpdateRequest)
.process
in interface PreIngestPlugin
input
- the UpdateRequest
to processUpdateRequest
to pass to the next PreIngestPlugin
, or to the CatalogProvider
if this is the last
PreIngestPlugin
to be calledPluginExecutionException
- if an error in processing occursStopProcessingException
public DeleteRequest process(DeleteRequest input) throws PluginExecutionException, StopProcessingException
PreIngestPlugin
DeleteRequest
prior to the execution of the update operation.process
in interface PreIngestPlugin
input
- the DeleteRequest
to processDeleteRequest
to pass to the next PreIngestPlugin
, or if this is the last PreIngestPlugin
to be calledPluginExecutionException
- thrown when an error in processing occursStopProcessingException
public QueryRequest process(QueryRequest input) throws PluginExecutionException, StopProcessingException
PreQueryPlugin
QueryRequest
prior to execution of the Query
.process
in interface PreQueryPlugin
input
- the QueryRequest
to processQueryRequest
to pass to the next PreQueryPlugin
, or if this is the last PreQueryPlugin
to be calledPluginExecutionException
- thrown when an error occurs while processing the QueryRequest
StopProcessingException
- thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.public ResourceRequest process(ResourceRequest input) throws PluginExecutionException, StopProcessingException
PreResourcePlugin
ResourceRequest
.process
in interface PreResourcePlugin
input
- - the ResourceRequest
to processResourceRequest
to pass to the next PreResourcePlugin
, or if this is the last PreResourcePlugin
to be calledPluginExecutionException
- when an error occurs during processingStopProcessingException
public CreateResponse process(CreateResponse input) throws PluginExecutionException
PostIngestPlugin
CreateResponse
.process
in interface PostIngestPlugin
input
- the CreateResponse
to processCreateResponse
to pass to the next PostIngestPlugin
, or if this is the last PostIngestPlugin
to be calledPluginExecutionException
- thrown when an error occurs during processingpublic UpdateResponse process(UpdateResponse input) throws PluginExecutionException
PostIngestPlugin
UpdateResponse
.process
in interface PostIngestPlugin
input
- the UpdateResponse
to processUpdateResponse
to pass to the next PostIngestPlugin
, or if this is the last PostIngestPlugin
to be calledPluginExecutionException
- thrown when an error occurs during processingpublic DeleteResponse process(DeleteResponse input) throws PluginExecutionException
PostIngestPlugin
DeleteResponse
.process
in interface PostIngestPlugin
input
- the DeleteResponse
to processDeleteResponse
to pass to the next PostIngestPlugin
, or if this is the last PostIngestPlugin
to be calledPluginExecutionException
- thrown when an error occurs during processingpublic QueryResponse process(QueryResponse input) throws PluginExecutionException, StopProcessingException
PostQueryPlugin
QueryResponse
after the execution of the Query
.process
in interface PostFederatedQueryPlugin
process
in interface PostQueryPlugin
input
- the QueryResponse
to processQueryResponse
to pass to the next PostQueryPlugin
, or if this is the last PostQueryPlugin
to be calledPluginExecutionException
- thrown when an error occurs while processing the QueryResponse
StopProcessingException
- thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.public ResourceResponse process(ResourceResponse input) throws PluginExecutionException, StopProcessingException
PostResourcePlugin
ResourceResponse
after the execution of a getResource operation.process
in interface PostResourcePlugin
input
- the ResourceResponse
to processResourceResponse
to pass to the next PostResourcePlugin
, or if this is the last PostResourcePlugin
to be calledPluginExecutionException
- thrown when an error occurs while processing the ResourceResponse
StopProcessingException
- thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.public QueryRequest process(Source source, QueryRequest input) throws PluginExecutionException, StopProcessingException
PreFederatedQueryPlugin
QueryRequest
prior to execution of the Federated Query
.process
in interface PreFederatedQueryPlugin
source
- the Source
the query will be sent toinput
- the QueryRequest
to processQueryRequest
to pass to the next PreFederatedQueryPlugin
, or if this is the last PreFederatedQueryPlugin
to be
calledPluginExecutionException
- thrown when an error occurs while processing the QueryRequest
StopProcessingException
- thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.public CreateStorageRequest process(CreateStorageRequest input) throws PluginExecutionException
PreCreateStoragePlugin
CreateStorageRequest
.process
in interface PreCreateStoragePlugin
input
- the CreateStorageRequest
to processCreateStorageRequest
to pass to the next PreCreateStoragePlugin
PluginExecutionException
- if an error occurs during processingpublic UpdateStorageRequest process(UpdateStorageRequest input) throws PluginExecutionException
PreUpdateStoragePlugin
UpdateStorageRequest
.process
in interface PreUpdateStoragePlugin
input
- the UpdateStorageRequest
to processUpdateStorageRequest
to pass to the next PreUpdateStoragePlugin
PluginExecutionException
- if an error occurs during processingpublic CreateStorageResponse process(CreateStorageResponse input) throws PluginExecutionException
PostCreateStoragePlugin
CreateStorageResponse
.
process
in interface PostCreateStoragePlugin
input
- the CreateStorageResponse
to processCreateStorageResponse
to pass to the next PostCreateStoragePlugin
PluginExecutionException
- if an error occurs during processingpublic UpdateStorageResponse process(UpdateStorageResponse input) throws PluginExecutionException
PostUpdateStoragePlugin
UpdateStorageResponse
.process
in interface PostUpdateStoragePlugin
input
- the UpdateStorageResponse
to processUpdateStorageResponse
to pass to the next PostUpdateStoragePlugin
PluginExecutionException
- if an error occurs during processingThis work is licensed under a Creative Commons Attribution 4.0 International License.