Class PlaintextAuthenticationContext
- java.lang.Object
-
- org.apache.kafka.common.security.auth.PlaintextAuthenticationContext
-
- All Implemented Interfaces:
AuthenticationContext
public class PlaintextAuthenticationContext extends Object implements AuthenticationContext
-
-
Constructor Summary
Constructors Constructor Description PlaintextAuthenticationContext(InetAddress clientAddress, String listenerName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetAddressclientAddress()Address of the authenticated clientStringlistenerName()Name of the listener used for the connectionSecurityProtocolsecurityProtocol()Underlying security protocol of the authentication session.
-
-
-
Constructor Detail
-
PlaintextAuthenticationContext
public PlaintextAuthenticationContext(InetAddress clientAddress, String listenerName)
-
-
Method Detail
-
securityProtocol
public SecurityProtocol securityProtocol()
Description copied from interface:AuthenticationContextUnderlying security protocol of the authentication session.- Specified by:
securityProtocolin interfaceAuthenticationContext
-
clientAddress
public InetAddress clientAddress()
Description copied from interface:AuthenticationContextAddress of the authenticated client- Specified by:
clientAddressin interfaceAuthenticationContext
-
listenerName
public String listenerName()
Description copied from interface:AuthenticationContextName of the listener used for the connection- Specified by:
listenerNamein interfaceAuthenticationContext
-
-