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 TypeMethodDescriptionAddress of the authenticated clientdefault boolean
Name of the listener used for the connectionUnderlying security protocol of the authentication session.default long
Unique ID assigned to each connection
-
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 -
sessionId
default long sessionId()Unique ID assigned to each connection -
disableSwitchover
default boolean disableSwitchover()
-