Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client与meta_server之间连接能否增加鉴权功能 #1810

Closed
asukaliy1 opened this issue Dec 24, 2018 · 9 comments
Closed

client与meta_server之间连接能否增加鉴权功能 #1810

asukaliy1 opened this issue Dec 24, 2018 · 9 comments
Labels

Comments

@asukaliy1
Copy link

asukaliy1 commented Dec 24, 2018

client目前为spring boot,了解到,可以通过敏感配置信息加密的方法,然后在程序内解密,可以实现安全;

但是有没有办法实现client与meta_server之间通过鉴权连接,比如在程序代码中包含一个token,meta_server验证token正确后才允许配置下拉。

这个功能能不能简单的通过修改源代码实现呢,谢谢~

@nobodyiam
Copy link
Member

是可以实现的,可以在http的header中传入token,在服务端做校验。

后续版本会考虑加入提供扩展点支持鉴权,如有好的建议也欢迎随时提出~

@xilu0
Copy link

xilu0 commented Jan 4, 2019

@nobodyiam header中传入token鉴权的功能原生实现吗?

@nobodyiam
Copy link
Member

@xilu0 目前还没实现,初步考虑是提供扩展点从而可以插入每个公司自己的逻辑,如有好的建议也欢迎随时提出~

@Zhang21
Copy link

Zhang21 commented Jan 22, 2019

+1

我司开发也对缓存在主机上的配置进行了加解密,解决了缓存配置文件明文问题。

还有就是 Meta server <-> Portal之间的连接,虽说处于内网VPC下,需不需要再做一个认证呢?

@nobodyiam
Copy link
Member

做认证是可以的,就看是否有必要了

@wenj91
Copy link

wenj91 commented Apr 26, 2019

@xilu0 目前还没实现,初步考虑是提供扩展点从而可以插入每个公司自己的逻辑,如有好的建议也欢迎随时提出~

这个比较好, 提供拓展点让用户实现自己的业务逻辑

@zgfh
Copy link

zgfh commented May 7, 2019

有什么开发计划吗?

@stale
Copy link

stale bot commented Dec 5, 2019

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in 14 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 5, 2019
@nobodyiam
Copy link
Member

see #2099

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants