Class OutboundAuthenticationRequest

  • All Implemented Interfaces:
    XrootdOutboundRequest

    public class OutboundAuthenticationRequest
    extends AbstractXrootdOutboundRequest
    Request to third-party source server.

    This has the same structure as the request to the server.

    kXR_char streamid[2]
    kXR_unt16
    kXR_char reserved[12]
    kXR_char credtype[4]
    kXR_int32 credlen
    kXR_char cred[credlen]

    Different security protocols will use the cred data differently. that functionality should not be here, but in the specific protocol's processing.
    • Constructor Detail

      • OutboundAuthenticationRequest

        public OutboundAuthenticationRequest​(int streamId,
                                             java.lang.String credType,
                                             int length,
                                             java.util.function.Consumer<io.netty.buffer.ByteBuf> serializer)
        Parameters:
        streamId - of this request
        credType - usually the protocol name
        length - of the data container to be serialized
        serializer - function responsible for writing to the buffer