Class SetSecurityUserProcessor

java.lang.Object
org.elasticsearch.ingest.AbstractProcessor
org.elasticsearch.xpack.security.ingest.SetSecurityUserProcessor
All Implemented Interfaces:
org.elasticsearch.ingest.Processor

public final class SetSecurityUserProcessor extends org.elasticsearch.ingest.AbstractProcessor
A processor that adds information of the current authenticated user to the document being ingested.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
    static enum 
     

    Nested classes/interfaces inherited from interface org.elasticsearch.ingest.Processor

    org.elasticsearch.ingest.Processor.Parameters
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.elasticsearch.ingest.AbstractProcessor

    description, tag
  • Constructor Summary

    Constructors
    Constructor
    Description
    SetSecurityUserProcessor(String tag, String description, org.elasticsearch.xpack.core.security.SecurityContext securityContext, org.elasticsearch.common.settings.Settings settings, String field, Set<SetSecurityUserProcessor.Property> properties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.elasticsearch.ingest.IngestDocument
    execute(org.elasticsearch.ingest.IngestDocument ingestDocument)
     
     

    Methods inherited from class org.elasticsearch.ingest.AbstractProcessor

    getDescription, getTag

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.ingest.Processor

    execute
  • Field Details

  • Constructor Details

    • SetSecurityUserProcessor

      public SetSecurityUserProcessor(String tag, String description, org.elasticsearch.xpack.core.security.SecurityContext securityContext, org.elasticsearch.common.settings.Settings settings, String field, Set<SetSecurityUserProcessor.Property> properties)
  • Method Details

    • execute

      public org.elasticsearch.ingest.IngestDocument execute(org.elasticsearch.ingest.IngestDocument ingestDocument) throws Exception
      Throws:
      Exception
    • getType

      public String getType()