Class AuthenticationRequest

    • Constructor Detail

      • AuthenticationRequest

        public AuthenticationRequest​(io.netty.buffer.ByteBuf buffer)
        Deserialize protocol, processing step and all the bucks sent by the client
        Parameters:
        buffer - The buffer containing the above
    • Method Detail

      • describe

        public java.lang.String describe()
      • deserializeBuckets

        public static java.util.Map<XrootdSecurityProtocol.BucketType,​XrootdBucket> deserializeBuckets​(io.netty.buffer.ByteBuf buffer)
                                                                                                      throws java.io.IOException
        Deserialize the buckets sent by the client and put them into a EnumMap sorted by their header-information. As there are list-type buffers, this method can be called recursively. In current xrootd, this is limited to a maximum of 1 recursion (main buffer containing list of further buffers).
        Parameters:
        buffer - The buffer containing the received buckets
        Returns:
        Map from bucket-type to deserialized buckets
        Throws:
        java.io.IOException - Failure of deserialization
      • deserializeProtocol

        public static java.lang.String deserializeProtocol​(io.netty.buffer.ByteBuf buffer)
      • deserializeStep

        public static int deserializeStep​(io.netty.buffer.ByteBuf buffer)
      • getStep

        public int getStep()
      • getProtocol

        public java.lang.String getProtocol()
      • getVersion

        public java.lang.Integer getVersion()