Class AuthenticationRequest

  • All Implemented Interfaces:
    XrootdRequest

    public class AuthenticationRequest
    extends AbstractXrootdRequest
    The structure of the authentication request according to the protocol:

    kXR_char streamid[2]
    kXR_unt16 kXR_auth
    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

      • AuthenticationRequest

        public AuthenticationRequest​(io.netty.buffer.ByteBuf buffer)
    • Method Detail

      • getCredType

        public java.lang.String getCredType()
      • getCredLen

        public int getCredLen()
      • getCredentialBuffer

        public io.netty.buffer.ByteBuf getCredentialBuffer()
      • releaseBuffer

        public void releaseBuffer()