mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8285380: Fix typos in security
Reviewed-by: weijun, wetmore
This commit is contained in:
parent
237f28014a
commit
f631c9884f
52 changed files with 81 additions and 81 deletions
|
@ -63,7 +63,7 @@ import com.sun.security.sasl.util.AbstractSaslImpl;
|
|||
/**
|
||||
* Utility class for DIGEST-MD5 mechanism. Provides utility methods
|
||||
* and contains two inner classes which implement the SecurityCtx
|
||||
* interface. The inner classes provide the funtionality to allow
|
||||
* interface. The inner classes provide the functionality to allow
|
||||
* for quality-of-protection (QOP) with integrity checking and
|
||||
* privacy.
|
||||
*
|
||||
|
@ -172,7 +172,7 @@ abstract class DigestMD5Base extends AbstractSaslImpl {
|
|||
protected DigestMD5Base(Map<String, ?> props, String className,
|
||||
int firstStep, String digestUri, CallbackHandler cbh)
|
||||
throws SaslException {
|
||||
super(props, className); // sets QOP, STENGTH and BUFFER_SIZE
|
||||
super(props, className); // sets QOP, STRENGTH and BUFFER_SIZE
|
||||
|
||||
step = firstStep;
|
||||
this.digestUri = digestUri;
|
||||
|
@ -1251,7 +1251,7 @@ abstract class DigestMD5Base extends AbstractSaslImpl {
|
|||
"specification used.", e);
|
||||
} catch (InvalidAlgorithmParameterException e) {
|
||||
throw new SaslException("DIGEST-MD5: Invalid cipher " +
|
||||
"algorithem parameter used to create cipher instance", e);
|
||||
"algorithm parameter used to create cipher instance", e);
|
||||
} catch (NoSuchPaddingException e) {
|
||||
throw new SaslException("DIGEST-MD5: Unsupported " +
|
||||
"padding used for chosen cipher", e);
|
||||
|
|
|
@ -262,7 +262,7 @@ final class DigestMD5Client extends DigestMD5Base implements SaslClient {
|
|||
* directives not missing from the digest-challenge.
|
||||
*
|
||||
* @throws SaslException if a sasl is a the mechanism cannot
|
||||
* correcly handle a callbacks or if a violation in the
|
||||
* correctly handle a callbacks or if a violation in the
|
||||
* digest challenge format is detected.
|
||||
*/
|
||||
private void processChallenge(byte[][] challengeVal, List<byte[]> realmChoices)
|
||||
|
@ -649,7 +649,7 @@ final class DigestMD5Client extends DigestMD5Base implements SaslClient {
|
|||
*/
|
||||
private void validateResponseValue(byte[] fromServer) throws SaslException {
|
||||
if (fromServer == null) {
|
||||
throw new SaslException("DIGEST-MD5: Authenication failed. " +
|
||||
throw new SaslException("DIGEST-MD5: Authentication failed. " +
|
||||
"Expecting 'rspauth' authentication success message");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue