Package org.apache.storm.messaging.netty
Class KerberosSaslServerHandler
java.lang.Object
org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapter
org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
org.apache.storm.messaging.netty.KerberosSaslServerHandler
- All Implemented Interfaces:
org.apache.storm.shade.io.netty.channel.ChannelHandler
,org.apache.storm.shade.io.netty.channel.ChannelInboundHandler
public class KerberosSaslServerHandler
extends org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.storm.shade.io.netty.channel.ChannelHandler
org.apache.storm.shade.io.netty.channel.ChannelHandler.Sharable
-
Constructor Summary
ConstructorDescriptionKerberosSaslServerHandler
(ISaslServer server, Map<String, Object> topoConf, String jaasSection, List<String> authorizedUsers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
channelRead
(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Object msg) void
exceptionCaught
(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Throwable cause) Methods inherited from class org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods inherited from class org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.storm.shade.io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Constructor Details
-
KerberosSaslServerHandler
public KerberosSaslServerHandler(ISaslServer server, Map<String, Object> topoConf, String jaasSection, List<String> authorizedUsers) throws IOException- Throws:
IOException
-
-
Method Details
-
channelRead
public void channelRead(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception - Specified by:
channelRead
in interfaceorg.apache.storm.shade.io.netty.channel.ChannelInboundHandler
- Overrides:
channelRead
in classorg.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Throwable cause) - Specified by:
exceptionCaught
in interfaceorg.apache.storm.shade.io.netty.channel.ChannelHandler
- Specified by:
exceptionCaught
in interfaceorg.apache.storm.shade.io.netty.channel.ChannelInboundHandler
- Overrides:
exceptionCaught
in classorg.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
-