Skip to content

Commit

Permalink
[ISSUE apache#8108] Fix check MetadataProvider when enable acl2.0 (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiliatom authored May 8, 2024
1 parent f0c243d commit 5dae822
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,14 @@ private void handleException(Exception e, CompletableFuture<?> result) {
}

private AuthenticationMetadataProvider getAuthenticationMetadataProvider() {
if (authorizationMetadataProvider == null) {
if (authenticationMetadataProvider == null) {
throw new IllegalStateException("The authenticationMetadataProvider is not configured");
}
return authenticationMetadataProvider;
}

private AuthorizationMetadataProvider getAuthorizationMetadataProvider() {
if (authenticationMetadataProvider == null) {
if (authorizationMetadataProvider == null) {
throw new IllegalStateException("The authorizationMetadataProvider is not configured");
}
return authorizationMetadataProvider;
Expand Down

0 comments on commit 5dae822

Please sign in to comment.