Package org.ldaptive.transport
Class ScramSaslClient.ServerFinalMessage
- java.lang.Object
-
- org.ldaptive.transport.ScramSaslClient.ServerFinalMessage
-
- Enclosing class:
- ScramSaslClient
static class ScramSaslClient.ServerFinalMessage extends Object
Verifies the final server message.
-
-
Field Summary
Fields Modifier and Type Field Description private String
message
Server SASL credentials.private static byte[]
SERVER_KEY_INIT
Bytes for the server key hmac.private boolean
verified
Whether the server message was successfully verified.
-
Constructor Summary
Constructors Constructor Description ServerFinalMessage(Mechanism mech, ScramSaslClient.ClientFinalMessage clientFinalMessage, BindResponse result)
Creates a new server final message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isVerified()
Returns whether the server final message was successfully verified.
-
-
-
Field Detail
-
SERVER_KEY_INIT
private static final byte[] SERVER_KEY_INIT
Bytes for the server key hmac.
-
message
private final String message
Server SASL credentials.
-
verified
private final boolean verified
Whether the server message was successfully verified.
-
-
Constructor Detail
-
ServerFinalMessage
ServerFinalMessage(Mechanism mech, ScramSaslClient.ClientFinalMessage clientFinalMessage, BindResponse result)
Creates a new server final message.- Parameters:
mech
- scram mechanismclientFinalMessage
- final message sent to the serverresult
- response to the final message
-
-