Class SaslAuthenticationContext
- java.lang.Object
-
- org.apache.kafka.common.security.auth.SaslAuthenticationContext
-
- All Implemented Interfaces:
AuthenticationContext
public class SaslAuthenticationContext extends java.lang.Object implements AuthenticationContext
-
-
Constructor Summary
Constructors Constructor Description SaslAuthenticationContext(javax.security.sasl.SaslServer server, SecurityProtocol securityProtocol, java.net.InetAddress clientAddress, java.lang.String listenerName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddress
clientAddress()
Address of the authenticated clientjava.lang.String
listenerName()
Name of the listener used for the connectionSecurityProtocol
securityProtocol()
Underlying security protocol of the authentication session.javax.security.sasl.SaslServer
server()
-
-
-
Constructor Detail
-
SaslAuthenticationContext
public SaslAuthenticationContext(javax.security.sasl.SaslServer server, SecurityProtocol securityProtocol, java.net.InetAddress clientAddress, java.lang.String listenerName)
-
-
Method Detail
-
server
public javax.security.sasl.SaslServer server()
-
securityProtocol
public SecurityProtocol securityProtocol()
Description copied from interface:AuthenticationContext
Underlying security protocol of the authentication session.- Specified by:
securityProtocol
in interfaceAuthenticationContext
-
clientAddress
public java.net.InetAddress clientAddress()
Description copied from interface:AuthenticationContext
Address of the authenticated client- Specified by:
clientAddress
in interfaceAuthenticationContext
-
listenerName
public java.lang.String listenerName()
Description copied from interface:AuthenticationContext
Name of the listener used for the connection- Specified by:
listenerName
in interfaceAuthenticationContext
-
-