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 booleandefault booleanName of the listener used for the connectionUnderlying security protocol of the authentication session.default longUnique ID assigned to each connection
Method Details
securityProtocol
SecurityProtocol securityProtocol()Underlying security protocol of the authentication session.clientAddress
InetAddress clientAddress()Address of the authenticated clientlistenerName
String listenerName()Name of the listener used for the connectionsessionId
default long sessionId()Unique ID assigned to each connectiondisableSwitchover
default boolean disableSwitchover()enableIpFiltering
default boolean enableIpFiltering()