Class MTLSAuthenticationHandler
java.lang.Object
org.mockserver.authentication.mtls.MTLSAuthenticationHandler
- All Implemented Interfaces:
AuthenticationHandler
-
Constructor Summary
ConstructorsConstructorDescriptionMTLSAuthenticationHandler(MockServerLogger mockServerLogger, X509Certificate[] controlPlaneTLSMutualAuthenticationCAChain) -
Method Summary
Modifier and TypeMethodDescriptionbooleanLegacy boolean SPI: returns true if the control-plane request is authenticated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mockserver.authentication.AuthenticationHandler
authenticate
-
Constructor Details
-
MTLSAuthenticationHandler
public MTLSAuthenticationHandler(MockServerLogger mockServerLogger, X509Certificate[] controlPlaneTLSMutualAuthenticationCAChain)
-
-
Method Details
-
controlPlaneRequestAuthenticated
Description copied from interface:AuthenticationHandlerLegacy boolean SPI: returns true if the control-plane request is authenticated. Implementations may throwAuthenticationExceptionto signal a 401 with a specific reason. Existing and third-party handlers implement only this method.- Specified by:
controlPlaneRequestAuthenticatedin interfaceAuthenticationHandler
-