Commit Graph

66 Commits

Author SHA1 Message Date
chenhao26
87d9efde2d
add some auth plugin test (#8988)
* add some auth plugin test

* ru ci
2022-08-18 09:29:46 +08:00
胡俊
5e7d20404c
[ISSUE#8561]Authentication performance optimization (#8564)
* for #8561

* for #8561

* fix test error

* fix test error
2022-06-17 11:07:35 +08:00
onewe
d6f27409a6
[ISSUES #8417] throw a HttpSessionRequiredException when sessions expired (#8419)
* [ISSUE #8417] throw a HttpSessionRequiredException when sessions expired

* [ISSUE #8417] add unit test

* [ISSUE #8417] repackage

Close #8417

* [ISSUE #8417] retry ci

* [ISSUE #8417] retry ci
2022-05-23 15:17:51 +08:00
Oliver
750e4f787c
Remove whitespace (#8409) 2022-05-23 15:15:32 +08:00
chenhao26
74c3355b71
fix spring cycle dependence JwtTokenManager (#8418)
* fix spring cycle dependence  JwtTokenManager

* remove unuse code

* check code style

* update test metrhod

* remove unuse code

* remove NacosAuthConfig logic from jwttoken

* fix testUpgradeCheckSucc test
2022-05-23 09:53:08 +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
onewe
40fef12cbc
[ISSUE #8136] Exclude LdapAutoConfiguration (#8137)
Close #8136
2022-04-18 10:46:33 +08:00
Karson
fa09c65a30
Fix issue #7924 (#8062)
* Fix issue#7924

* reformat code style
2022-04-11 10:29:45 +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
9020bb9d6e Move plugin config to nacos-auth-plugin-impl module. 2022-01-26 11:54:52 +08:00
KomachiSion
aba0facf90 Move user to nacos-plugin-default-impl module. 2022-01-26 10:05:39 +08:00
KomachiSion
1e2f938f7b Move auth persistence to nacos-plugin-default-impl module. 2022-01-25 16:01:44 +08:00
KomachiSion
4e4255a824 Move user controller to nacos-plugin-default-impl module. 2022-01-25 14:10:23 +08:00
KomachiSion
6a4ecc1323 Move default auth impl from console to nacos-plugin-default-impl module. 2022-01-24 17:47:54 +08:00