Jiechuan Chen

Results 17 comments of Jiechuan Chen

> 报错如下: > Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to com.alibaba.fastjson.JSONObject > 原因是:1.2.7版本中里面移除了直接对 String类型的判断导致该错误的发生。 JSONObject本身是用来存储键值对信息用,内部使用的数据结构是map,因此单个String值转化为JSONObject时会报错,类似地,单个的Number/boolean类型也会报错。 ```Java public class JSONObject extends JSON implements Map, Cloneable, Serializable, InvocationHandler {...

i am willing to offer my help on ubuntu's maintainence if that's ok :smile:

> @Omega-Ariston 非常欢迎,已经邀请你进入组织了,然后注意查收你的邮件,我会给你发开发者的联系方式。 谢谢你!不好意思,周末有事情忙去了没及时回复。我只收到了一封含有gitter聊天室链接的邮件,是这个吗?

> 没有进展,上面的老哥没有任何动作 非常不好意思。。最近有点忙,可能需要过一段时间才可以开始这个项目,如果member数量有限的话可以先把我取消掉,sorry

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...

> > 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...

> > > Yeah, this error message is kind of misleading... > > > Check the same segment of code from the latest pulsar repo and you can find that...

u need to get rid of the slash :)

> > u need to get rid of the slash :) > > In Kerberos Authentication, the Principal is the role, follow the documentation, it must be in format `client/{hostname}@{realm}`...

@sijie is it a good idea to encode role name in request url in base64 and do the decoding on server side? (so that characters like '/', '&' and '?'...