Package org.dcache.xrootd.core
Class XrootdAuthorizationHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.dcache.xrootd.core.XrootdRequestHandler
-
- org.dcache.xrootd.core.XrootdAuthorizationHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
@Sharable public class XrootdAuthorizationHandler extends XrootdRequestHandler
-
-
Constructor Summary
Constructors Constructor Description XrootdAuthorizationHandler(AuthorizationFactory authorizationFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.VoiddoOnClose(io.netty.channel.ChannelHandlerContext ctx, CloseRequest msg)protected java.lang.VoiddoOnDirList(io.netty.channel.ChannelHandlerContext ctx, DirListRequest request)protected java.lang.VoiddoOnLocate(io.netty.channel.ChannelHandlerContext ctx, LocateRequest msg)protected java.lang.VoiddoOnMkDir(io.netty.channel.ChannelHandlerContext ctx, MkDirRequest req)protected java.lang.VoiddoOnMv(io.netty.channel.ChannelHandlerContext ctx, MvRequest req)protected java.lang.VoiddoOnOpen(io.netty.channel.ChannelHandlerContext ctx, OpenRequest msg)protected java.lang.VoiddoOnPrepare(io.netty.channel.ChannelHandlerContext ctx, PrepareRequest msg)protected java.lang.VoiddoOnProtocolRequest(io.netty.channel.ChannelHandlerContext ctx, ProtocolRequest msg)protected java.lang.VoiddoOnQuery(io.netty.channel.ChannelHandlerContext ctx, QueryRequest req)protected java.lang.VoiddoOnRead(io.netty.channel.ChannelHandlerContext ctx, ReadRequest msg)protected java.lang.VoiddoOnReadV(io.netty.channel.ChannelHandlerContext ctx, ReadVRequest msg)protected java.lang.VoiddoOnRm(io.netty.channel.ChannelHandlerContext ctx, RmRequest req)protected java.lang.VoiddoOnRmDir(io.netty.channel.ChannelHandlerContext ctx, RmDirRequest req)protected java.lang.VoiddoOnSet(io.netty.channel.ChannelHandlerContext ctx, SetRequest request)protected java.lang.VoiddoOnStat(io.netty.channel.ChannelHandlerContext ctx, StatRequest req)protected java.lang.VoiddoOnStatx(io.netty.channel.ChannelHandlerContext ctx, StatxRequest req)protected java.lang.VoiddoOnSync(io.netty.channel.ChannelHandlerContext ctx, SyncRequest msg)protected java.lang.VoiddoOnWrite(io.netty.channel.ChannelHandlerContext ctx, WriteRequest msg)-
Methods inherited from class org.dcache.xrootd.core.XrootdRequestHandler
channelActive, channelRead, doOnAuthentication, doOnEndSession, doOnLogin, getDestinationAddress, getResponse, getSourceAddress, isHealthCheck, requestReceived, respond, unsupported, userEventTriggered, withError, withOk
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Constructor Detail
-
XrootdAuthorizationHandler
public XrootdAuthorizationHandler(AuthorizationFactory authorizationFactory)
-
-
Method Detail
-
doOnStat
protected java.lang.Void doOnStat(io.netty.channel.ChannelHandlerContext ctx, StatRequest req) throws XrootdException- Overrides:
doOnStatin classXrootdRequestHandler- Throws:
XrootdException
-
doOnStatx
protected java.lang.Void doOnStatx(io.netty.channel.ChannelHandlerContext ctx, StatxRequest req) throws XrootdException- Overrides:
doOnStatxin classXrootdRequestHandler- Throws:
XrootdException
-
doOnRm
protected java.lang.Void doOnRm(io.netty.channel.ChannelHandlerContext ctx, RmRequest req) throws XrootdException- Overrides:
doOnRmin classXrootdRequestHandler- Throws:
XrootdException
-
doOnRmDir
protected java.lang.Void doOnRmDir(io.netty.channel.ChannelHandlerContext ctx, RmDirRequest req) throws XrootdException- Overrides:
doOnRmDirin classXrootdRequestHandler- Throws:
XrootdException
-
doOnMkDir
protected java.lang.Void doOnMkDir(io.netty.channel.ChannelHandlerContext ctx, MkDirRequest req) throws XrootdException- Overrides:
doOnMkDirin classXrootdRequestHandler- Throws:
XrootdException
-
doOnMv
protected java.lang.Void doOnMv(io.netty.channel.ChannelHandlerContext ctx, MvRequest req) throws XrootdException- Overrides:
doOnMvin classXrootdRequestHandler- Throws:
XrootdException
-
doOnDirList
protected java.lang.Void doOnDirList(io.netty.channel.ChannelHandlerContext ctx, DirListRequest request) throws XrootdException- Overrides:
doOnDirListin classXrootdRequestHandler- Throws:
XrootdException
-
doOnPrepare
protected java.lang.Void doOnPrepare(io.netty.channel.ChannelHandlerContext ctx, PrepareRequest msg)- Overrides:
doOnPreparein classXrootdRequestHandler
-
doOnLocate
protected java.lang.Void doOnLocate(io.netty.channel.ChannelHandlerContext ctx, LocateRequest msg) throws XrootdException- Overrides:
doOnLocatein classXrootdRequestHandler- Throws:
XrootdException
-
doOnOpen
protected java.lang.Void doOnOpen(io.netty.channel.ChannelHandlerContext ctx, OpenRequest msg) throws XrootdException- Overrides:
doOnOpenin classXrootdRequestHandler- Throws:
XrootdException
-
doOnRead
protected java.lang.Void doOnRead(io.netty.channel.ChannelHandlerContext ctx, ReadRequest msg) throws XrootdException- Overrides:
doOnReadin classXrootdRequestHandler- Throws:
XrootdException
-
doOnReadV
protected java.lang.Void doOnReadV(io.netty.channel.ChannelHandlerContext ctx, ReadVRequest msg) throws XrootdException- Overrides:
doOnReadVin classXrootdRequestHandler- Throws:
XrootdException
-
doOnWrite
protected java.lang.Void doOnWrite(io.netty.channel.ChannelHandlerContext ctx, WriteRequest msg) throws XrootdException- Overrides:
doOnWritein classXrootdRequestHandler- Throws:
XrootdException
-
doOnSync
protected java.lang.Void doOnSync(io.netty.channel.ChannelHandlerContext ctx, SyncRequest msg) throws XrootdException- Overrides:
doOnSyncin classXrootdRequestHandler- Throws:
XrootdException
-
doOnClose
protected java.lang.Void doOnClose(io.netty.channel.ChannelHandlerContext ctx, CloseRequest msg) throws XrootdException- Overrides:
doOnClosein classXrootdRequestHandler- Throws:
XrootdException
-
doOnProtocolRequest
protected java.lang.Void doOnProtocolRequest(io.netty.channel.ChannelHandlerContext ctx, ProtocolRequest msg) throws XrootdException- Overrides:
doOnProtocolRequestin classXrootdRequestHandler- Throws:
XrootdException
-
doOnQuery
protected java.lang.Void doOnQuery(io.netty.channel.ChannelHandlerContext ctx, QueryRequest req) throws XrootdException- Overrides:
doOnQueryin classXrootdRequestHandler- Throws:
XrootdException
-
doOnSet
protected java.lang.Void doOnSet(io.netty.channel.ChannelHandlerContext ctx, SetRequest request) throws XrootdException- Overrides:
doOnSetin classXrootdRequestHandler- Throws:
XrootdException
-
-