Class SaslAndHttpBasicAuthenticationHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.tinkerpop.gremlin.server.handler.AbstractAuthenticationHandler
-
- org.apache.tinkerpop.gremlin.server.handler.SaslAuthenticationHandler
-
- org.apache.tinkerpop.gremlin.server.handler.SaslAndHttpBasicAuthenticationHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
@Sharable public class SaslAndHttpBasicAuthenticationHandler extends SaslAuthenticationHandler
An Authentication Handler for doing WebSocket Sasl and Http Basic auth
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.server.handler.SaslAuthenticationHandler
settings
-
Fields inherited from class org.apache.tinkerpop.gremlin.server.handler.AbstractAuthenticationHandler
authenticator, authorizer
-
-
Constructor Summary
Constructors Constructor Description SaslAndHttpBasicAuthenticationHandler(Authenticator authenticator, Authorizer authorizer, Settings settings)
SaslAndHttpBasicAuthenticationHandler(Authenticator authenticator, Settings settings)
Deprecated.As of release 3.5.0, replaced bySaslAndHttpBasicAuthenticationHandler(Authenticator, Authorizer, Settings)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelRead(io.netty.channel.ChannelHandlerContext ctx, Object obj)
-
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
-
SaslAndHttpBasicAuthenticationHandler
@Deprecated public SaslAndHttpBasicAuthenticationHandler(Authenticator authenticator, Settings settings)
Deprecated.As of release 3.5.0, replaced bySaslAndHttpBasicAuthenticationHandler(Authenticator, Authorizer, Settings)
.
-
SaslAndHttpBasicAuthenticationHandler
public SaslAndHttpBasicAuthenticationHandler(Authenticator authenticator, Authorizer authorizer, Settings settings)
-
-
Method Detail
-
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object obj) throws Exception
- Specified by:
channelRead
in interfaceio.netty.channel.ChannelInboundHandler
- Overrides:
channelRead
in classSaslAuthenticationHandler
- Throws:
Exception
-
-