bigbang489 edited a comment on issue #318:
URL: https://github.com/apache/pulsar-manager/issues/318#issuecomment-659344003


   > > > > Yeah, this error message is kind of misleading...
   > > > > Check the same segment of code from the latest pulsar repo and you 
can find that the implementation has been improved.
   > > > > 
https://github.com/apache/pulsar/blob/b6ceec41f7c9ba8a2cd130a9537894ecd8c8f3ee/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/utils/AuthTokenUtils.java#L108-L134
   > > > > You may wanna take a look at your `application.properties`. That's 
where the attribute `jwt.broker.private.key` sits. And this attribute should be 
passed in a filepath that starts with "data:" or "file:", or a base64 encoded 
string.
   > > > > if you don't know how to generate such key files, this may help:
   > > > > 
http://pulsar.apache.org/docs/en/security-token-admin/#creating-a-key-pair
   > > > 
   > > > 
   > > > Thanks, it worked now. But How can I grant permissions to the role?
   > > 
   > > 
   > > Check this:
   > > http://pulsar.apache.org/docs/en/security-token-admin/#authorization
   > > but currently i can not find any UI element that related to this 
functionality. Is that true? @tuteng
   > 
   > Oh, it's here...
   > 
![微信图片_20200716190145](https://user-images.githubusercontent.com/32405587/87663744-e2a97680-c796-11ea-8a1f-a1f360e347aa.png)
   
   I appreciate that. But I got error when I add role 
'client/pul...@smspulsar.com'
   
![image](https://user-images.githubusercontent.com/29498440/87664835-2187fe00-c790-11ea-81fd-dd1321fdab13.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to