Package org.mockserver.authentication
package org.mockserver.authentication
-
ClassDescriptionImplementations delegate in BOTH directions — check which way before editing one.
MTLSAuthenticationHandler,JWTAuthenticationHandlerandControlPlaneAuthenticationHandlerFactory.DenyAllAuthenticationHandlerimplement onlyAuthenticationHandler.controlPlaneRequestAuthenticated(org.mockserver.model.HttpRequest)and inherit the defaultAuthenticationHandler.authenticate(org.mockserver.model.HttpRequest), so the boolean method holds their logic.Immutable outcome of authenticating a control-plane request, carrying not just the boolean decision but the VERIFIED principal, the source of that verification, and a redaction-safe subset of token claims and scopes.BoundedResourceRetrieverfor control-plane JWK-set and OIDC discovery-document fetches.Shared constant-time equality checks for authentication credentials.Builds the control-planeAuthenticationHandlerchain from aConfiguration.Rejects every control-plane request.The single validation point for HTTP forward-proxyProxy-Authorizationcredentials, shared by theCONNECTpath and the plain HTTP proxy path.