Class XrootdProtocolRequestHandler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

    public class XrootdProtocolRequestHandler
    extends XrootdRequestHandler
    • Constructor Detail

      • XrootdProtocolRequestHandler

        public XrootdProtocolRequestHandler()
    • Method Detail

      • setSigningPolicy

        public void setSigningPolicy​(SigningPolicy signingPolicy)
      • setTlsSessionInfo

        public void setTlsSessionInfo​(TLSSessionInfo tlsSessionInfo)
      • enforceClientTlsIfDestinationRequiresItForTpc

        protected void enforceClientTlsIfDestinationRequiresItForTpc​(java.util.Map<java.lang.String,​java.lang.String> opaque)
                                                              throws XrootdException
        This is a supplementary check to make sure that non-TLS-capable clients (i.e., pre-v5) are not allowed to connect if they intend to do TPC and the "requiresTLSForTPC" is set on the destination server.

        We also check here to make sure that the client has connected to the destination server with 'xroots' if the destination server requires TLS for TPC.

        Throws:
        XrootdException