public class SaslConfig extends AbstractConfig
Modifier and Type | Field and Description |
---|---|
private String |
authorizationId
sasl authorization id.
|
private Mechanism |
mechanism
sasl mechanism.
|
private 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 |
---|---|
String |
getAuthorizationId()
Returns the sasl authorization id.
|
Mechanism |
getMechanism()
Returns the sasl mechanism.
|
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(String id)
Sets the sasl authorization id.
|
void |
setMechanism(Mechanism m)
Sets the sasl mechanism.
|
void |
setMutualAuthentication(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.
|
String |
toString() |
checkImmutable, checkStringInput, makeImmutable
private Mechanism mechanism
private String authorizationId
private Boolean mutualAuthentication
private QualityOfProtection qualityOfProtection
private SecurityStrength securityStrength
public Mechanism getMechanism()
public void setMechanism(Mechanism m)
m
- mechanismpublic String getAuthorizationId()
public void setAuthorizationId(String id)
id
- authorization idpublic Boolean getMutualAuthentication()
public void setMutualAuthentication(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 strengthCopyright © 2003-2019 Virginia Tech. All Rights Reserved.