Class ClientCertAuthenticator
java.lang.Object
org.infinispan.rest.authentication.impl.ClientCertAuthenticator
- All Implemented Interfaces:
Closeable, AutoCloseable, RestAuthenticator
Client Certificate authentication mechanism.
- Author:
- Tristan Tarrant, Sebastian Łaskawiec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchallenge(RestRequest request, io.netty.channel.ChannelHandlerContext ctx) Challenges specificRestRequestfor authentication.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RestAuthenticator
close, init, isReadyForHttpChallenge
-
Constructor Details
-
ClientCertAuthenticator
public ClientCertAuthenticator()
-
-
Method Details
-
challenge
public CompletionStage<RestResponse> challenge(RestRequest request, io.netty.channel.ChannelHandlerContext ctx) Description copied from interface:RestAuthenticatorChallenges specificRestRequestfor authentication.- Specified by:
challengein interfaceRestAuthenticator- Parameters:
request- Request to be challenged.- Returns:
- a
RestResponsewrapped in aCompletionStage
-