-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionuse and implement
AuthenticationProvider.authenticateAsync(AuthenticationDataSource)instead.use and implementAuthenticationState.authenticateAsync(AuthData)instead.this method's logic is captured by the result ofAuthenticationState.authenticateAsync(AuthData). When the result is aCompletableFuturewith a null result, authentication is complete. When the result is aCompletableFuturewith a nonnull result, authentication is incomplete and requires an auth challenge.ConfigurationCacheService is not supported anymore as a way to get access to metadata.Use methodAuthorizationProvider.isSuperUser(String, AuthenticationDataSource, ServiceConfiguration)Check if specified role is a super userSince this method may introduce inconsistent namespace policies. we should use #NamespaceResources.getPoliciesAsync(org.apache.pulsar.common.naming.NamespaceName)Use#getSubscriptionTypesEnabled()instead
AuthenticationProviderorAuthenticationState.