| Package | Description |
|---|---|
| org.apache.pulsar.client.admin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.common.policies.data |
Implementation of policies.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<AuthAction>> |
Topics.getPermissions(String topic)
Get permissions on a topic.
|
Map<String,Set<AuthAction>> |
Namespaces.getPermissions(String namespace)
Get permissions on a namespace.
|
CompletableFuture<Map<String,Set<AuthAction>>> |
Topics.getPermissionsAsync(String topic)
Get permissions on a topic asynchronously.
|
CompletableFuture<Map<String,Set<AuthAction>>> |
Namespaces.getPermissionsAsync(String namespace)
Get permissions on a namespace asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Topics.grantPermission(String topic,
String role,
Set<AuthAction> actions)
Grant permission on a topic.
|
CompletableFuture<Void> |
Topics.grantPermissionAsync(String topic,
String role,
Set<AuthAction> actions)
Grant permission on a topic asynchronously.
|
void |
Namespaces.grantPermissionOnNamespace(String namespace,
String role,
Set<AuthAction> actions)
Grant permission on a namespace.
|
CompletableFuture<Void> |
Namespaces.grantPermissionOnNamespaceAsync(String namespace,
String role,
Set<AuthAction> actions)
Grant permission on a namespace asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthAction |
AuthAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthAction[] |
AuthAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<AuthAction>> |
AuthPolicies.getNamespaceAuthentication() |
Map<String,Map<String,Set<AuthAction>>> |
AuthPolicies.getTopicAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
AuthPolicies.Builder |
AuthPolicies.Builder.namespaceAuthentication(Map<String,Set<AuthAction>> namespaceAuthentication) |
AuthPolicies.Builder |
AuthPolicies.Builder.topicAuthentication(Map<String,Map<String,Set<AuthAction>>> topicAuthentication) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.