Package org.ldaptive.sasl
Class CramMD5BindRequest
- java.lang.Object
-
- org.ldaptive.sasl.DefaultSaslClientRequest
-
- org.ldaptive.sasl.CramMD5BindRequest
-
- All Implemented Interfaces:
CallbackHandler
public class CramMD5BindRequest extends DefaultSaslClientRequest
LDAP CRAM-MD5 bind request.
-
-
Constructor Summary
Constructors Constructor Description CramMD5BindRequest(String authID, String pass)
Creates a new CRAM-MD5 bind request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mechanism
getMechanism()
Returns the SASL mechanism.void
handle(Callback[] callbacks)
String
toString()
-
Methods inherited from class org.ldaptive.sasl.DefaultSaslClientRequest
createBindRequest, createProperties, getAuthorizationID, getControls, getSaslClient, getSaslProperties, setControls
-
-
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
- Throws:
UnsupportedCallbackException
-
getMechanism
public Mechanism getMechanism()
Description copied from class:DefaultSaslClientRequest
Returns the SASL mechanism.- Specified by:
getMechanism
in classDefaultSaslClientRequest
- Returns:
- SASL mechanism
-
toString
public String toString()
- Overrides:
toString
in classDefaultSaslClientRequest
-
-