Skip to content

Commit

Permalink
Merge pull request #48 from Nowadays/master
Browse files Browse the repository at this point in the history
feat(authzprovider): implem getPermissionsAsync for pulsar-manager
  • Loading branch information
KannarFr authored Oct 24, 2024
2 parents bae4b31 + d50bd01 commit ab5088b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.security.SignatureException;
import java.time.Duration;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletableFuture;
Expand Down Expand Up @@ -239,6 +240,11 @@ public CompletableFuture<Void> grantPermissionAsync(TopicName topicName, Set<Aut
return defaultProvider.grantPermissionAsync(topicName, actions, role, authDataJson);
}

@Override
public CompletableFuture<Map<String, Set<AuthAction>>> getPermissionsAsync(NamespaceName namespaceName) {
return defaultProvider.getPermissionsAsync(namespaceName);
}

@Override
public void close() throws IOException {
// noop
Expand Down

0 comments on commit ab5088b

Please sign in to comment.