Class XrootdSessionHandler

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

    public class XrootdSessionHandler
    extends XrootdRequestHandler
    Manages kXR_login and the login session. This handler is responsible for adding the correct authentication handler to the pipeline based on the client protocol interaction.
    • Field Detail

    • Constructor Detail

      • XrootdSessionHandler

        public XrootdSessionHandler()
    • Method Detail

      • channelInactive

        public void channelInactive​(io.netty.channel.ChannelHandlerContext ctx)
                             throws java.lang.Exception
        Specified by:
        channelInactive in interface io.netty.channel.ChannelInboundHandler
        Overrides:
        channelInactive in class io.netty.channel.ChannelInboundHandlerAdapter
        Throws:
        java.lang.Exception
      • setSubject

        public void setSubject​(javax.security.auth.Subject subject)
      • getResponse

        protected java.lang.Object getResponse​(io.netty.channel.ChannelHandlerContext ctx,
                                               XrootdRequest req)
                                        throws java.lang.Exception
        Overrides:
        getResponse in class XrootdRequestHandler
        Throws:
        java.lang.Exception
      • isLoginStarted

        public boolean isLoginStarted()
      • setLoginStarted

        public void setLoginStarted()
      • setAuthFailed

        public void setAuthFailed​(io.netty.channel.ChannelHandlerContext ctx)
      • setSigningPolicy

        public void setSigningPolicy​(SigningPolicy signingPolicy)
      • setTlsSessionInfo

        public void setTlsSessionInfo​(TLSSessionInfo tlsSessionInfo)