Interface ServerTransportSecurityValidator

All Known Implementing Classes:
DefaultServerTransportSecurityValidator
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 ServerTransportSecurityValidator
Interface for validating HTTP requests in server transports. Implementations can validate Origin headers, Host headers, or any other security-related headers according to the MCP specification.
Author:
Daniel Garnier-Moiroux
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A no-op validator that accepts all requests without validation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validates the HTTP headers from an incoming request.