Class HttpBasicAuthenticationHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.tinkerpop.gremlin.server.handler.AbstractAuthenticationHandler
-
- org.apache.tinkerpop.gremlin.server.handler.HttpBasicAuthenticationHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class HttpBasicAuthenticationHandler extends AbstractAuthenticationHandler
Implements basic HTTP authentication for use with theHttpGremlinEndpointHandler
and HTTP based API calls.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.server.handler.AbstractAuthenticationHandler
authenticator, authorizer
-
-
Constructor Summary
Constructors Constructor Description HttpBasicAuthenticationHandler(Authenticator authenticator, Authorizer authorizer, Settings settings)
HttpBasicAuthenticationHandler(Authenticator authenticator, Settings settings)
Deprecated.As of release 3.5.0, replaced byHttpBasicAuthenticationHandler(Authenticator, Authorizer, Settings)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Constructor Detail
-
HttpBasicAuthenticationHandler
@Deprecated public HttpBasicAuthenticationHandler(Authenticator authenticator, Settings settings)
Deprecated.As of release 3.5.0, replaced byHttpBasicAuthenticationHandler(Authenticator, Authorizer, Settings)
.
-
HttpBasicAuthenticationHandler
public HttpBasicAuthenticationHandler(Authenticator authenticator, Authorizer authorizer, Settings settings)
-
-
Method Detail
-
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
- Specified by:
channelRead
in interfaceio.netty.channel.ChannelInboundHandler
- Overrides:
channelRead
in classio.netty.channel.ChannelInboundHandlerAdapter
-
-