Commit Graph

17 Commits

Author SHA1 Message Date
杨翊 SionYang
b3b5236cd4
Develop synced from 2.2.2 (#10307)
* Fix dynamic change token to illegal value will use old token.

* Add description in pom for release.

* Upgrade to 2.2.2

* Upgrade to 2.3.0-SNAPSHOT
2023-04-11 17:34:06 +08:00
杨翊 SionYang
5fffde5bde
[ISSUE#10153] Add auth state into /state api and add announcement api. (#10203)
* Add ModuleState and use ModuleState replace ServerStateController.

* Add AuthModuleStateBuilder

* state接口使用ModuleState.

* Add announcement api.

* skip rat scan for announcement.conf

* default plugin open login page when auth.enabled=true.
2023-03-27 19:00:22 +08:00
云野
332dc1d348
fix #9819 (#9850) 2023-01-28 10:35:57 +08:00
gongzhongqiang
708387c277
fix:replace nacos website url to https. (#9797) 2023-01-10 09:47:52 +08:00
hth
0e346f0024
Code optimization, remove useless code. (#9620)
* Code optimization, remove useless code.

* code optimization
2022-11-25 14:50:44 +08:00
KomachiSion
e6d2c0d70b Add UT for nacos-auth-plugin module 2022-07-08 11:45:49 +08:00
郭江富
9b077d4656
For #8479, Fix the problem that some singleton classes construction method not private (#8508) 2022-06-07 15:35:03 +08:00
onewe
767238ef59
[ISSUE #8214] Add ldap auth plugin (#8216)
* [ISSUE #8214] Add ldap auth plugin

- move the config of ldap from NacosAuthConfig to LdapAuthConfig

Close #8214

* [ISSUE #8214] Resolve CI error

* [ISSUE #8214] The constants of Ldap move to the plugin-impl module
2022-04-25 18:02:13 +08:00
KomachiSion
7623bb82b2 Add requestClass to resource properties for grpc resource parser. 2022-03-23 11:47:54 +08:00
杨翊 SionYang
47506c57ab
[ISSUE#5696] Secured annotation add tags field. (#7878)
* Add tags in Secured and inject tags into resource properties.

* For checkstyle.
2022-03-03 15:20:27 +08:00
KomachiSion
eeb5268282 auth plugin add enableAuth method to switch auth more precisely. 2022-02-15 14:21:31 +08:00
杨翊 SionYang
64dcc0ed0a
[ISSUE#5696] IdentityContext build from resource and remote ip. (#7745)
* validateIdentity add Resource input for extension.

* IdentityContext parse remoteIp.
2022-02-09 17:57:39 +08:00
KomachiSion
49d19b17b0 Fix unit test. 2022-01-26 15:21:02 +08:00
KomachiSion
6efb3ce846 Remove unused constants 2022-01-26 13:49:55 +08:00
KomachiSion
aba0facf90 Move user to nacos-plugin-default-impl module. 2022-01-26 10:05:39 +08:00
KomachiSion
135ab364fe Move client spi to nacos-auth-plugin module 2022-01-21 15:40:02 +08:00
KomachiSion
89cc6caade Add plugin and auth-plugin module, and move class into module. 2022-01-21 15:06:09 +08:00