Package eu.mrapik.minecraftservermcp.security


package eu.mrapik.minecraftservermcp.security
  • Classes
    Class
    Description
    Extracts the MCP access token from HTTP requests in two supported shapes: Authorization: Bearer &lt;token&gt; HttpTokenSupport.HEADER_MCP_TOKEN: <token> (plain header value) The servlet variant reads HttpServletRequest headers; 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.