Interface AuthenticationContext
- All Known Implementing Classes:
PlaintextAuthenticationContext
,SaslAuthenticationContext
,SslAuthenticationContext
public interface AuthenticationContext
An object representing contextual information from the authentication session. See
PlaintextAuthenticationContext
, SaslAuthenticationContext
and SslAuthenticationContext
. This class is only used in the broker.-
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.
-
Method Details
-
securityProtocol
SecurityProtocol securityProtocol()Underlying security protocol of the authentication session. -
clientAddress
InetAddress clientAddress()Address of the authenticated client -
listenerName
String listenerName()Name of the listener used for the connection
-