Interface AuthorizableRequestContext
Request context interface that provides data from request header as well as connection
 and authentication information to plugins.
- 
Method SummaryModifier and TypeMethodDescriptionReturns client IP address from which request was sent.clientId()Returns the client id from the request header.intReturns the correlation id from the request header.Returns name of listener on which request was received.Returns authenticated principal for the connection on which request was received.int16-bit API key of the request from the request header.intReturns the request version from the request header.Returns the security protocol for the listener on which request was received.
- 
Method Details- 
listenerNameString listenerName()Returns name of listener on which request was received.
- 
securityProtocolSecurityProtocol securityProtocol()Returns the security protocol for the listener on which request was received.
- 
principalKafkaPrincipal principal()Returns authenticated principal for the connection on which request was received.
- 
clientAddressInetAddress clientAddress()Returns client IP address from which request was sent.
- 
requestTypeint requestType()16-bit API key of the request from the request header. See https://kafka.apache.org/protocol#protocol_api_keys for request types.
- 
requestVersionint requestVersion()Returns the request version from the request header.
- 
clientIdString clientId()Returns the client id from the request header.
- 
correlationIdint correlationId()Returns the correlation id from the request header.
 
-