Class EvaluationInput

java.lang.Object
io.confluent.security.auth.s2s.EvaluationInput

public final class EvaluationInput extends Object
Input passed to S2SDecisionSource.evaluate(EvaluationInput). Carries the SPIFFE-ID of the calling service (raw URI string), the action being authorized, and the end-user principal (for Cedar context.principal mapping).
  • Constructor Details

    • EvaluationInput

      public EvaluationInput(String spiffeId, io.confluent.security.authorizer.Action action, org.apache.kafka.common.security.auth.KafkaPrincipal endUserPrincipal)
  • Method Details

    • spiffeId

      public String spiffeId()
    • action

      public io.confluent.security.authorizer.Action action()
    • endUserPrincipal

      public org.apache.kafka.common.security.auth.KafkaPrincipal endUserPrincipal()
    • toString

      public String toString()
      Overrides:
      toString in class Object