Class 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 Detail

    • Method Detail

      • init

        public static void init​(org.infinispan.rest.configuration.RestServerConfiguration configuration,
                                ServerConfiguration serverConfiguration)
      • challenge

        public CompletionStage<org.infinispan.rest.framework.RestResponse> challenge​(org.infinispan.rest.framework.RestRequest request,
                                                                                     io.netty.channel.ChannelHandlerContext ctx)
        Specified by:
        challenge in interface org.infinispan.rest.authentication.Authenticator
      • init

        public void init​(org.infinispan.rest.RestServer restServer)
        Specified by:
        init in interface org.infinispan.rest.authentication.Authenticator
      • isReadyForHttpChallenge

        public boolean isReadyForHttpChallenge()
        Specified by:
        isReadyForHttpChallenge in interface org.infinispan.rest.authentication.Authenticator
      • close

        public void close()
        Specified by:
        close in interface org.infinispan.rest.authentication.Authenticator
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable