Class DefaultServerTransportSecurityValidator

java.lang.Object
io.modelcontextprotocol.server.transport.DefaultServerTransportSecurityValidator
All Implemented Interfaces:
ServerTransportSecurityValidator

public final class DefaultServerTransportSecurityValidator extends Object implements ServerTransportSecurityValidator
Default implementation of ServerTransportSecurityValidator that validates the Origin and Host headers against lists of allowed values.

Supports exact matches and wildcard port patterns (e.g., "http://example.com:*" for origins, "example.com:*" for hosts).

Author:
Daniel Garnier-Moiroux
See Also: