Package org.ldaptive.sasl
Class DigestMD5BindRequest
- java.lang.Object
-
- org.ldaptive.sasl.DefaultSaslClientRequest
-
- org.ldaptive.sasl.DigestMD5BindRequest
-
- All Implemented Interfaces:
CallbackHandler
public class DigestMD5BindRequest extends DefaultSaslClientRequest
LDAP DIGEST-MD5 bind request.
-
-
Field Summary
Fields Modifier and Type Field Description private String
authenticationID
Authentication ID.private String
authorizationID
Authorization ID.static Mechanism
MECHANISM
DIGEST-MD5 SASL mechanism.private String
password
Password.private Map<String,?>
saslProperties
SASL client properties.private String
saslRealm
Realm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthorizationID()
Returns the SASL authorization.Mechanism
getMechanism()
Returns the SASL mechanism.Map<String,?>
getSaslProperties()
Returns the SASL properties.void
handle(Callback[] callbacks)
String
toString()
-
Methods inherited from class org.ldaptive.sasl.DefaultSaslClientRequest
createBindRequest, createProperties, getControls, getSaslClient, setControls
-
-
-
-
Field Detail
-
MECHANISM
public static final Mechanism MECHANISM
DIGEST-MD5 SASL mechanism.
-
authenticationID
private final String authenticationID
Authentication ID.
-
authorizationID
private final String authorizationID
Authorization ID.
-
saslRealm
private final String saslRealm
Realm.
-
password
private final String password
Password.
-
-
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
-
getAuthorizationID
public String getAuthorizationID()
Description copied from class:DefaultSaslClientRequest
Returns the SASL authorization.- Overrides:
getAuthorizationID
in classDefaultSaslClientRequest
- Returns:
- SASL authorization
-
getSaslProperties
public Map<String,?> getSaslProperties()
Description copied from class:DefaultSaslClientRequest
Returns the SASL properties.- Overrides:
getSaslProperties
in classDefaultSaslClientRequest
- Returns:
- SASL properties
-
toString
public String toString()
- Overrides:
toString
in classDefaultSaslClientRequest
-
-