Class SslAuthenticationContext
- java.lang.Object
-
- org.apache.kafka.common.security.auth.SslAuthenticationContext
-
- All Implemented Interfaces:
AuthenticationContext
public class SslAuthenticationContext extends Object implements AuthenticationContext
-
-
Constructor Summary
Constructors Constructor Description SslAuthenticationContext(SSLSession session, 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.SSLSessionsession()
-
-
-
Constructor Detail
-
SslAuthenticationContext
public SslAuthenticationContext(SSLSession session, InetAddress clientAddress, String listenerName)
-
-
Method Detail
-
session
public SSLSession session()
-
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
-
-