-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Stalelifecycle/staletype/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug
Description
Describe the bug
Cannot open token authentication.
To Reproduce
Steps to reproduce the behavior:
- download pulsar 2.9.1 in release
- edit
conf/standalone.conf
# Enable authentication
authenticationEnabled=true
# Authentication provider name list, which is comma separated list of class names
authenticationProviders=org.apache.pulsar.broker.authentication.AuthenticationProviderToken
# Enforce authorization
authorizationEnabled=true
# Authorization provider fully qualified class-name
authorizationProvider=org.apache.pulsar.broker.authorization.PulsarAuthorizationProvider
tokenSecretKey=/path/to/my-secret.key
No other configuration changes
3. run bin/pulsar standalone
4. See error
Expected behavior
pulsar runs normally and opens token authentication
Desktop (please complete the following information):
- OS: Ubuntu
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stalelifecycle/staletype/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug
