Interface BindingAdmission

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BindingAdmission
Mandatory trusted-host candidate admission. It must check actual authorization/trust and readiness evidence without replacing the current principal or trusting self-declared metadata. Implementations must be bounded and thread-safe. The callee still enforces invocation security.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    allow(ServiceBindingRequest<?> request, ObjectRef candidate)
    Evaluates an exact candidate for the declared contract.
  • Method Details

    • allow

      boolean allow(ServiceBindingRequest<?> request, ObjectRef candidate)
      Evaluates an exact candidate for the declared contract.
      Parameters:
      request - verified requested contract
      candidate - concrete routing reference, never a bearer credential
      Returns:
      true only when authorization, trust and readiness are established by the host