Package org.ldaptive.sasl
Class ScramBindRequest
- java.lang.Object
-
- org.ldaptive.sasl.ScramBindRequest
-
- All Implemented Interfaces:
SaslClientRequest
public class ScramBindRequest extends Object implements SaslClientRequest
LDAP SCRAM (Salted Challenge Response Authentication Mechanism) bind request.
-
-
Field Summary
Fields Modifier and Type Field Description private String
password
Password.private Mechanism
scramMechanism
Mechanism.private byte[]
scramNonce
Scram nonce.private String
username
Username.
-
Constructor Summary
Constructors Constructor Description ScramBindRequest(Mechanism mech, String user, String pass)
Creates a new scram bind request.ScramBindRequest(Mechanism mech, String user, String pass, byte[] nonce)
Creates a new scram bind request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mechanism
getMechanism()
byte[]
getNonce()
String
getPassword()
ScramSaslClient
getSaslClient()
Returns the SASL client used by this request.String
getUsername()
-
-
-
Method Detail
-
getMechanism
public Mechanism getMechanism()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
getNonce
public byte[] getNonce()
-
getSaslClient
public ScramSaslClient getSaslClient()
Description copied from interface:SaslClientRequest
Returns the SASL client used by this request.- Specified by:
getSaslClient
in interfaceSaslClientRequest
- Returns:
- SASL client
-
-