Package org.ldaptive.sasl
Class SaslConfig.Builder
- java.lang.Object
-
- org.ldaptive.sasl.SaslConfig.Builder
-
- Enclosing class:
- SaslConfig
public static class SaslConfig.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private SaslConfig
object
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslConfig.Builder
authorizationId(String id)
SaslConfig
build()
SaslConfig.Builder
mechanism(Mechanism mechanism)
SaslConfig.Builder
mutualAuthentication(Boolean b)
SaslConfig.Builder
property(String name, Object value)
SaslConfig.Builder
qualityOfProtection(QualityOfProtection... protections)
SaslConfig.Builder
realm(String realm)
SaslConfig.Builder
securityStrength(SecurityStrength... strengths)
-
-
-
Field Detail
-
object
private final SaslConfig object
-
-
Method Detail
-
mechanism
public SaslConfig.Builder mechanism(Mechanism mechanism)
-
authorizationId
public SaslConfig.Builder authorizationId(String id)
-
mutualAuthentication
public SaslConfig.Builder mutualAuthentication(Boolean b)
-
qualityOfProtection
public SaslConfig.Builder qualityOfProtection(QualityOfProtection... protections)
-
securityStrength
public SaslConfig.Builder securityStrength(SecurityStrength... strengths)
-
realm
public SaslConfig.Builder realm(String realm)
-
property
public SaslConfig.Builder property(String name, Object value)
-
build
public SaslConfig build()
-
-