Package org.ldaptive.transport
Class ScramSaslClient.ServerFirstMessage
- java.lang.Object
-
- org.ldaptive.transport.ScramSaslClient.ServerFirstMessage
-
- Enclosing class:
- ScramSaslClient
static class ScramSaslClient.ServerFirstMessage extends Object
Properties associated with the first server response.
-
-
Field Summary
Fields Modifier and Type Field Description private String
combinedNonce
Nonce parsed from the SASL credentials.private int
iterations
Iterations parsed from the SASL credentials.private String
message
The server SASL credentials.private static int
MINIMUM_ITERATION_COUNT
Minimum number of iterations we will allow.private byte[]
salt
Salt parsed from the SASL credentials.
-
Constructor Summary
Constructors Constructor Description ServerFirstMessage(ScramSaslClient.ClientFirstMessage clientFirstMessage, BindResponse result)
Creates a new server first message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCombinedNonce()
int
getIterations()
String
getMessage()
byte[]
getSalt()
-
-
-
Field Detail
-
MINIMUM_ITERATION_COUNT
private static final int MINIMUM_ITERATION_COUNT
Minimum number of iterations we will allow.- See Also:
- Constant Field Values
-
message
private final String message
The server SASL credentials.
-
combinedNonce
private final String combinedNonce
Nonce parsed from the SASL credentials.
-
salt
private final byte[] salt
Salt parsed from the SASL credentials.
-
iterations
private final int iterations
Iterations parsed from the SASL credentials.
-
-
Constructor Detail
-
ServerFirstMessage
ServerFirstMessage(ScramSaslClient.ClientFirstMessage clientFirstMessage, BindResponse result)
Creates a new server first message.- Parameters:
clientFirstMessage
- first message sent to the serverresult
- response to the first message
-
-