Package org.infinispan.server.security
Class ElytronHTTPAuthenticator
java.lang.Object
org.infinispan.server.security.ElytronHTTPAuthenticator
- All Implemented Interfaces:
Closeable,AutoCloseable,org.infinispan.rest.authentication.Authenticator
public class ElytronHTTPAuthenticator
extends Object
implements org.infinispan.rest.authentication.Authenticator
- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Constructor Summary
ConstructorsConstructorDescriptionElytronHTTPAuthenticator(String name, String serverPrincipal, Collection<String> mechanisms) -
Method Summary
Modifier and TypeMethodDescriptionCompletionStage<org.infinispan.rest.framework.RestResponse>challenge(org.infinispan.rest.framework.RestRequest request, io.netty.channel.ChannelHandlerContext ctx) voidclose()static voidinit(org.infinispan.rest.configuration.RestServerConfiguration configuration, ServerConfiguration serverConfiguration) voidinit(org.infinispan.rest.RestServer restServer) voidinit(ServerConfiguration serverConfiguration) boolean
-
Constructor Details
-
ElytronHTTPAuthenticator
-
-
Method Details
-
init
public static void init(org.infinispan.rest.configuration.RestServerConfiguration configuration, ServerConfiguration serverConfiguration) -
init
-
challenge
public CompletionStage<org.infinispan.rest.framework.RestResponse> challenge(org.infinispan.rest.framework.RestRequest request, io.netty.channel.ChannelHandlerContext ctx) - Specified by:
challengein interfaceorg.infinispan.rest.authentication.Authenticator
-
init
public void init(org.infinispan.rest.RestServer restServer) - Specified by:
initin interfaceorg.infinispan.rest.authentication.Authenticator
-
isReadyForHttpChallenge
public boolean isReadyForHttpChallenge()- Specified by:
isReadyForHttpChallengein interfaceorg.infinispan.rest.authentication.Authenticator
-
close
public void close()- Specified by:
closein interfaceorg.infinispan.rest.authentication.Authenticator- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-