ConfigurableIngressPortBasedResolver, WhitelistBasedResolverpublic class SaslPropertiesResolver extends java.lang.Object implements Configurable
| Constructor | Description |
|---|---|
SaslPropertiesResolver() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getClientProperties(java.net.InetAddress serverAddress) |
Identify the Sasl Properties to be used for a connection with a server.
|
java.util.Map<java.lang.String,java.lang.String> |
getClientProperties(java.net.InetAddress serverAddress,
int ingressPort) |
Identify the Sasl Properties to be used for a connection with a server.
|
Configuration |
getConf() |
Return the configuration used by this object.
|
java.util.Map<java.lang.String,java.lang.String> |
getDefaultProperties() |
The default Sasl Properties read from the configuration
|
static SaslPropertiesResolver |
getInstance(Configuration conf) |
Returns an instance of SaslPropertiesResolver.
|
java.util.Map<java.lang.String,java.lang.String> |
getServerProperties(java.net.InetAddress clientAddress) |
Identify the Sasl Properties to be used for a connection with a client.
|
java.util.Map<java.lang.String,java.lang.String> |
getServerProperties(java.net.InetAddress clientAddress,
int ingressPort) |
Identify the Sasl Properties to be used for a connection with a client.
|
void |
setConf(Configuration conf) |
Set the configuration to be used by this object.
|
public static SaslPropertiesResolver getInstance(Configuration conf)
conf - configuration.public void setConf(Configuration conf)
ConfigurablesetConf in interface Configurableconf - configuration to be usedpublic Configuration getConf()
ConfigurablegetConf in interface Configurablepublic java.util.Map<java.lang.String,java.lang.String> getDefaultProperties()
public java.util.Map<java.lang.String,java.lang.String> getServerProperties(java.net.InetAddress clientAddress)
clientAddress - client's addresspublic java.util.Map<java.lang.String,java.lang.String> getServerProperties(java.net.InetAddress clientAddress,
int ingressPort)
clientAddress - client's addressingressPort - the port that the client is connectingpublic java.util.Map<java.lang.String,java.lang.String> getClientProperties(java.net.InetAddress serverAddress)
serverAddress - server's addresspublic java.util.Map<java.lang.String,java.lang.String> getClientProperties(java.net.InetAddress serverAddress,
int ingressPort)
serverAddress - server's addressingressPort - the port that is used to connect to serverCopyright © 2008–2025 Apache Software Foundation. All rights reserved.