Package org.ldaptive.sasl
Class SaslBindRequest.Builder
- java.lang.Object
-
- org.ldaptive.AbstractRequestMessage.AbstractBuilder<SaslBindRequest.Builder,SaslBindRequest>
-
- org.ldaptive.sasl.SaslBindRequest.Builder
-
- Enclosing class:
- SaslBindRequest
public static class SaslBindRequest.Builder extends AbstractRequestMessage.AbstractBuilder<SaslBindRequest.Builder,SaslBindRequest>
SASL bind request builder.
-
-
Field Summary
-
Fields inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslBindRequest.Builder
credentials(byte[] credentials)
Sets the SASL credentials.SaslBindRequest.Builder
credentials(String credentials)
Sets the SASL credentials.SaslBindRequest.Builder
mechanism(String mechanism)
Sets the SASL mechanism.protected SaslBindRequest.Builder
self()
Returns this builder.-
Methods inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
build, controls, responseTimeout
-
-
-
-
Method Detail
-
self
protected SaslBindRequest.Builder self()
Description copied from class:AbstractRequestMessage.AbstractBuilder
Returns this builder.- Specified by:
self
in classAbstractRequestMessage.AbstractBuilder<SaslBindRequest.Builder,SaslBindRequest>
- Returns:
- builder
-
mechanism
public SaslBindRequest.Builder mechanism(String mechanism)
Sets the SASL mechanism.- Parameters:
mechanism
- SASL mechanism- Returns:
- this builder
-
credentials
public SaslBindRequest.Builder credentials(byte[] credentials)
Sets the SASL credentials.- Parameters:
credentials
- SASL credentials- Returns:
- this builder
-
credentials
public SaslBindRequest.Builder credentials(String credentials)
Sets the SASL credentials.- Parameters:
credentials
- SASL credentials- Returns:
- this builder
-
-