public class SaslAuthenticationContext extends Object implements AuthenticationContext
Constructor and Description |
---|
SaslAuthenticationContext(SaslServer server,
SecurityProtocol securityProtocol,
InetAddress clientAddress,
String listenerName) |
Modifier and Type | Method and Description |
---|---|
InetAddress |
clientAddress()
Address of the authenticated client
|
String |
listenerName()
Name of the listener used for the connection
|
SecurityProtocol |
securityProtocol()
Underlying security protocol of the authentication session.
|
SaslServer |
server() |
public SaslAuthenticationContext(SaslServer server, SecurityProtocol securityProtocol, InetAddress clientAddress, String listenerName)
public SaslServer server()
public SecurityProtocol securityProtocol()
AuthenticationContext
securityProtocol
in interface AuthenticationContext
public InetAddress clientAddress()
AuthenticationContext
clientAddress
in interface AuthenticationContext
public String listenerName()
AuthenticationContext
listenerName
in interface AuthenticationContext