Class GSIClientAuthenticationHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.dcache.xrootd.tpc.AbstractClientRequestHandler
-
- org.dcache.xrootd.tpc.AbstractClientAuthnHandler
-
- org.dcache.xrootd.plugins.authn.gsi.GSIClientAuthenticationHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class GSIClientAuthenticationHandler extends AbstractClientAuthnHandler
Client-side handler mirroring the server-side GSIAuthenticationHandler. Added to the channel pipeline to handle protocol and auth requests and responses.
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.tpc.AbstractClientAuthnHandler
loginResponse, protocol
-
Fields inherited from class org.dcache.xrootd.tpc.AbstractClientRequestHandler
client, LOGGER
-
-
Constructor Summary
Constructors Constructor Description GSIClientAuthenticationHandler(GSICredentialManager credentialManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoOnAuthenticationResponse(io.netty.channel.ChannelHandlerContext ctx, InboundAuthenticationResponse response)protected voiddoOnErrorResponse(io.netty.channel.ChannelHandlerContext ctx, InboundErrorResponse response)protected voidsendAuthenticationRequest(io.netty.channel.ChannelHandlerContext ctx)voidsetClient(XrootdTpcClient client)-
Methods inherited from class org.dcache.xrootd.tpc.AbstractClientAuthnHandler
doOnAsynResponse, doOnLoginResponse, doOnWaitResponse, exceptionCaught
-
Methods inherited from class org.dcache.xrootd.tpc.AbstractClientRequestHandler
asynWaitTimeout, channelRead, doOnAttnResponse, doOnChecksumResponse, doOnCloseResponse, doOnHandshakeResponse, doOnOpenResponse, doOnProtocolResponse, doOnReadResponse, doOnRedirectResponse, doOnWaitRespResponse, getWaitInSeconds, responseReceived, sendChecksumRequest, sendCloseRequest, sendLoginRequest, sendOpenRequest, sendReadRequest, unsupported
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Constructor Detail
-
GSIClientAuthenticationHandler
public GSIClientAuthenticationHandler(GSICredentialManager credentialManager)
-
-
Method Detail
-
setClient
public void setClient(XrootdTpcClient client)
- Overrides:
setClientin classAbstractClientRequestHandler
-
doOnErrorResponse
protected void doOnErrorResponse(io.netty.channel.ChannelHandlerContext ctx, InboundErrorResponse response) throws XrootdException- Overrides:
doOnErrorResponsein classAbstractClientRequestHandler- Throws:
XrootdException
-
doOnAuthenticationResponse
protected void doOnAuthenticationResponse(io.netty.channel.ChannelHandlerContext ctx, InboundAuthenticationResponse response) throws XrootdException- Overrides:
doOnAuthenticationResponsein classAbstractClientRequestHandler- Throws:
XrootdException
-
sendAuthenticationRequest
protected void sendAuthenticationRequest(io.netty.channel.ChannelHandlerContext ctx) throws XrootdException- Overrides:
sendAuthenticationRequestin classAbstractClientRequestHandler- Throws:
XrootdException
-
-