Interface OpaAuthorizationInput


@PolarisImmutable public interface OpaAuthorizationInput
OPA authorization input structure.

This represents the authorization context sent to OPA for policy evaluation, containing information about who is making the request (actor), what they want to do (action), what resources are involved (resource), and additional request context.

  • Method Summary

    Modifier and Type
    Method
    Description
    The action being requested (e.g., "CREATE_NAMESPACE", "READ_TABLE").
    The actor making the authorization request.
    Additional context about the request.
    The resource(s) being accessed.
  • Method Details

    • actor

      Actor actor()
      The actor making the authorization request.
    • action

      String action()
      The action being requested (e.g., "CREATE_NAMESPACE", "READ_TABLE").
    • resource

      Resource resource()
      The resource(s) being accessed.
    • context

      Context context()
      Additional context about the request.