public class GSIClientAuthenticationHandler extends AbstractClientRequestHandler implements io.netty.channel.ChannelInboundHandler
Client-side handler mirroring the server-side GSIAuthenticationHandler. Added to the channel pipeline to handle protocol and auth requests and responses.
client, future, LOGGER| Constructor and Description |
|---|
GSIClientAuthenticationHandler(eu.emi.security.authn.x509.X509Credential proxyCredential,
eu.emi.security.authn.x509.X509CertChainValidator validator,
String certDir,
String issuerHashes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doOnAsynResponse(io.netty.channel.ChannelHandlerContext ctx,
InboundAttnResponse response) |
protected void |
doOnAuthenticationResponse(io.netty.channel.ChannelHandlerContext ctx,
InboundAuthenticationResponse response) |
protected void |
doOnLoginResponse(io.netty.channel.ChannelHandlerContext ctx,
InboundLoginResponse response)
Arriving here means login succeeded.
|
protected void |
doOnWaitResponse(io.netty.channel.ChannelHandlerContext ctx,
AbstractXrootdInboundResponse response) |
protected void |
sendAuthenticationRequest(io.netty.channel.ChannelHandlerContext ctx) |
channelRead, doOnAttnResponse, doOnChecksumResponse, doOnCloseResponse, doOnErrorResponse, doOnHandshakeResponse, doOnOpenResponse, doOnProtocolResponse, doOnReadResponse, doOnRedirectResponse, exceptionCaught, getWaitInSeconds, responseReceived, sendChecksumRequest, sendCloseRequest, sendLoginRequest, sendOpenRequest, sendReadRequest, setClient, unsupportedchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void doOnAsynResponse(io.netty.channel.ChannelHandlerContext ctx,
InboundAttnResponse response)
doOnAsynResponse in class AbstractClientRequestHandlerprotected void doOnAuthenticationResponse(io.netty.channel.ChannelHandlerContext ctx,
InboundAuthenticationResponse response)
doOnAuthenticationResponse in class AbstractClientRequestHandlerprotected void doOnLoginResponse(io.netty.channel.ChannelHandlerContext ctx,
InboundLoginResponse response)
doOnLoginResponse in class AbstractClientRequestHandlerprotected void doOnWaitResponse(io.netty.channel.ChannelHandlerContext ctx,
AbstractXrootdInboundResponse response)
doOnWaitResponse in class AbstractClientRequestHandlerprotected void sendAuthenticationRequest(io.netty.channel.ChannelHandlerContext ctx)
throws XrootdException
sendAuthenticationRequest in class AbstractClientRequestHandlerXrootdExceptionCopyright © 2011–2018 dCache.org. All rights reserved.