public class XrootdAuthenticationHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
authenticated method
to add additional operations after authentication.| Constructor and Description |
|---|
XrootdAuthenticationHandler(AuthenticationFactory authenticationFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected Subject |
login(io.netty.channel.ChannelHandlerContext context,
Subject subject)
Called at the end of successful login/authentication.
|
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic XrootdAuthenticationHandler(AuthenticationFactory authenticationFactory)
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected Subject login(io.netty.channel.ChannelHandlerContext context, Subject subject) throws XrootdException
context - the Netty contextsubject - the subject that logged inXrootdExceptionCopyright © 2011–2018 dCache.org. All rights reserved.