Class ConfluentAuthenticationEvent

java.lang.Object
io.confluent.kafka.security.audit.event.ConfluentAuthenticationEvent
All Implemented Interfaces:
org.apache.kafka.server.audit.AuditEvent, org.apache.kafka.server.audit.AuthenticationEvent

public class ConfluentAuthenticationEvent extends Object implements org.apache.kafka.server.audit.AuthenticationEvent
  • Constructor Details

    • ConfluentAuthenticationEvent

      public ConfluentAuthenticationEvent(org.apache.kafka.server.audit.AuthenticationEvent authenticationEvent, io.confluent.security.authorizer.Scope scope)
  • Method Details

    • principal

      public Optional<org.apache.kafka.common.security.auth.KafkaPrincipal> principal()
      Specified by:
      principal in interface org.apache.kafka.server.audit.AuthenticationEvent
    • authenticationContext

      public org.apache.kafka.common.security.auth.AuthenticationContext authenticationContext()
      Specified by:
      authenticationContext in interface org.apache.kafka.server.audit.AuthenticationEvent
    • authenticationException

      public Optional<org.apache.kafka.common.errors.AuthenticationException> authenticationException()
      Specified by:
      authenticationException in interface org.apache.kafka.server.audit.AuthenticationEvent
    • uuid

      public UUID uuid()
      Specified by:
      uuid in interface org.apache.kafka.server.audit.AuditEvent
    • timestamp

      public Instant timestamp()
      Specified by:
      timestamp in interface org.apache.kafka.server.audit.AuditEvent
    • type

      public org.apache.kafka.server.audit.AuditEventType type()
      Specified by:
      type in interface org.apache.kafka.server.audit.AuditEvent
    • status

      public org.apache.kafka.server.audit.AuditEventStatus status()
      Specified by:
      status in interface org.apache.kafka.server.audit.AuditEvent
    • data

      public Map<String,Object> data()
      Specified by:
      data in interface org.apache.kafka.server.audit.AuditEvent
    • setData

      public void setData(Map<String,Object> data)
    • getScope

      public io.confluent.security.authorizer.Scope getScope()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object