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
Modifier and Type Method Description InetAddress
clientAddress()
Address of the authenticated clientString
listenerName()
Name of the listener used for the connectionSecurityProtocol
securityProtocol()
Underlying security protocol of the authentication session.SSLSession
session()
-
Constructor Details
-
SslAuthenticationContext
public SslAuthenticationContext(SSLSession session, InetAddress clientAddress, String listenerName)
-
-
Method Details
-
session
-
securityProtocol
Description copied from interface:AuthenticationContext
Underlying security protocol of the authentication session.- Specified by:
securityProtocol
in interfaceAuthenticationContext
-
clientAddress
Description copied from interface:AuthenticationContext
Address of the authenticated client- Specified by:
clientAddress
in interfaceAuthenticationContext
-
listenerName
Description copied from interface:AuthenticationContext
Name of the listener used for the connection- Specified by:
listenerName
in interfaceAuthenticationContext
-