Fix typo in enum

This commit is contained in:
Varun Sivapalan 2020-10-06 10:09:44 +02:00 committed by Oleg Kalnichevski
parent 12a6579513
commit f9b46db6e0
1 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ public final class NTLMScheme implements AuthScheme {
UNINITIATED,
CHALLENGE_RECEIVED,
MSG_TYPE1_GENERATED,
MSG_TYPE2_RECEVIED,
MSG_TYPE2_RECEIVED,
MSG_TYPE3_GENERATED,
FAILED,
}
@ -116,7 +116,7 @@ public final class NTLMScheme implements AuthScheme {
this.state = State.FAILED;
throw new MalformedChallengeException("Out of sequence NTLM response message");
} else if (this.state == State.MSG_TYPE1_GENERATED) {
this.state = State.MSG_TYPE2_RECEVIED;
this.state = State.MSG_TYPE2_RECEIVED;
}
}
}
@ -163,7 +163,7 @@ public final class NTLMScheme implements AuthScheme {
this.credentials.getNetbiosDomain(),
this.credentials.getWorkstation());
this.state = State.MSG_TYPE1_GENERATED;
} else if (this.state == State.MSG_TYPE2_RECEVIED) {
} else if (this.state == State.MSG_TYPE2_RECEIVED) {
response = this.engine.generateType3Msg(
this.credentials.getUserName(),
this.credentials.getPassword(),