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

【AUTH】抽象 ClientAuthService,支持自定义Auth逻辑 #231

Open
catcherwong opened this issue Sep 4, 2022 · 0 comments
Open

【AUTH】抽象 ClientAuthService,支持自定义Auth逻辑 #231

catcherwong opened this issue Sep 4, 2022 · 0 comments
Labels
area/auth enhancement New feature or request help wanted Extra attention is needed

Comments

@catcherwong
Copy link
Collaborator

Describe what happened (or what feature you want)

对照下面的实现, 抽离Auth相关的逻辑,同时完成默认的用户名密码登陆逻辑,可以适配 nacos 服务端 Auth SPI 化。

https://github.com/alibaba/nacos/blob/develop/plugin/auth/src/main/java/com/alibaba/nacos/plugin/auth/spi/client/ClientAuthService.java

https://github.com/alibaba/nacos/blob/develop/client/src/main/java/com/alibaba/nacos/client/auth/impl/NacosClientAuthServiceImpl.java

@catcherwong catcherwong added area/auth enhancement New feature or request help wanted Extra attention is needed labels Sep 4, 2022
@catcherwong catcherwong changed the title 【CORE】抽象 ClientAuthService,支持自定义Auth逻辑 【AUTH】抽象 ClientAuthService,支持自定义Auth逻辑 Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/auth enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant