Package eu.mrapik.minecraftservermcp.security
package eu.mrapik.minecraftservermcp.security
-
ClassesClassDescriptionExtracts the MCP access token from HTTP requests in two supported shapes:
Authorization: Bearer <token>HttpTokenSupport.HEADER_MCP_TOKEN: <token> (plain header value) The servlet variant readsHttpServletRequestheaders; the map variant supports the MCP transport's header map during the security validation callback (header names matched case-insensitively).Constant-time comparisons for secret strings (e.g.