Skip to content

Commit

Permalink
ELY-2617:Add a default case to this switch in DigestMechanismFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
deepalik-neu committed Sep 22, 2023
1 parent c735f04 commit 0dd7f64
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ public HttpServerAuthenticationMechanism createAuthenticationMechanism(String me
return new DigestAuthenticationMechanism(callbackHandler, nonceManager, (String) properties.get(CONFIG_REALM), (String) properties.get(CONFIG_CONTEXT_PATH), DIGEST_SHA256_NAME, SHA256, providers, (String) properties.get(HttpConstants.CONFIG_VALIDATE_DIGEST_URI));
case DIGEST_SHA512_256_NAME:
return new DigestAuthenticationMechanism(callbackHandler, nonceManager, (String) properties.get(CONFIG_REALM), (String) properties.get(CONFIG_CONTEXT_PATH), DIGEST_SHA512_256_NAME, SHA512_256, providers, (String) properties.get(HttpConstants.CONFIG_VALIDATE_DIGEST_URI));
default:
return null;
}
return null;
}

/*
Expand Down

0 comments on commit 0dd7f64

Please sign in to comment.