public class SaslConfig extends AbstractConfig
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
authorizationId
sasl authorization id.
|
private Mechanism |
mechanism
sasl mechanism.
|
private java.lang.Boolean |
mutualAuthentication
perform mutual authentication.
|
private QualityOfProtection |
qualityOfProtection
sasl quality of protection.
|
private SecurityStrength |
securityStrength
sasl security strength.
|
logger| Constructor and Description |
|---|
SaslConfig() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthorizationId()
Returns the sasl authorization id.
|
Mechanism |
getMechanism()
Returns the sasl mechanism.
|
java.lang.Boolean |
getMutualAuthentication()
Returns whether mutual authentication should occur.
|
QualityOfProtection |
getQualityOfProtection()
Returns the sasl quality of protection.
|
SecurityStrength |
getSecurityStrength()
Returns the sasl security strength.
|
void |
setAuthorizationId(java.lang.String id)
Sets the sasl authorization id.
|
void |
setMechanism(Mechanism m)
Sets the sasl mechanism.
|
void |
setMutualAuthentication(java.lang.Boolean b)
Sets whether mutual authentication should occur.
|
void |
setQualityOfProtection(QualityOfProtection qop)
Sets the sasl quality of protection.
|
void |
setSecurityStrength(SecurityStrength ss)
Sets the sasl security strength.
|
java.lang.String |
toString() |
checkImmutable, checkStringInput, makeImmutableprivate Mechanism mechanism
private java.lang.String authorizationId
private java.lang.Boolean mutualAuthentication
private QualityOfProtection qualityOfProtection
private SecurityStrength securityStrength
public Mechanism getMechanism()
public void setMechanism(Mechanism m)
m - mechanismpublic java.lang.String getAuthorizationId()
public void setAuthorizationId(java.lang.String id)
id - authorization idpublic java.lang.Boolean getMutualAuthentication()
public void setMutualAuthentication(java.lang.Boolean b)
b - whether mutual authentication should occurpublic QualityOfProtection getQualityOfProtection()
public void setQualityOfProtection(QualityOfProtection qop)
qop - quality of protectionpublic SecurityStrength getSecurityStrength()
public void setSecurityStrength(SecurityStrength ss)
ss - security strengthpublic java.lang.String toString()
toString in class java.lang.Object