Class AuthenticationRequest
- java.lang.Object
-
- org.dcache.xrootd.protocol.messages.AbstractXrootdRequest
-
- org.dcache.xrootd.protocol.messages.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.
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdRequest
requestId, session, streamId
-
-
Constructor Summary
Constructors Constructor Description AuthenticationRequest(io.netty.buffer.ByteBuf buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBufgetCredentialBuffer()intgetCredLen()java.lang.StringgetCredType()voidreleaseBuffer()-
Methods inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdRequest
getRequestId, getSession, getStreamId, getSubject, setSession
-
-