KomachiSion
f5c3a4b3dc
Fix login failed when close auth.
2023-08-07 10:55:21 +08:00
ZhangShenao
8fa83cec37
fix word spelling in AuthenticationManagerDelegator
( #10777 )
2023-07-13 11:08:38 +08:00
Montos
70b96495bd
Fix -在开启认证的情况下增加token解析认证处理方式 ( #10425 )
...
* Fix -在开启认证的情况下增加token解析认证处理方式
Fix -在开启认证的情况下增加token解析认证处理方式
* Update UserController.java
* Update UserController.java
* fix codestyle
2023-05-16 17:35:38 +08:00
KomachiSion
f345bc5ba1
UserPersistService add PageHelper.
2023-05-09 11:09:45 +08:00
KomachiSion
f96ebd3e9a
RolePersistService add PageHelper.
2023-05-09 10:57:42 +08:00
KomachiSion
6067779974
PermissionPersistService add PageHelper.
2023-05-09 10:45:27 +08:00
KomachiSion
4622d0e1bf
Split RowMapperManager and move to persistence module.
2023-04-25 14:23:43 +08:00
KomachiSion
77b7377826
Move Conditions to persistence module.
2023-04-23 20:06:22 +08:00
KomachiSion
326b82fb06
Move Embedded operate to persistence module.
2023-04-23 18:02:27 +08:00
KomachiSion
8dfd31a87d
Move QueryType to persistence module.
2023-04-23 17:54:21 +08:00
KomachiSion
6acabeca67
Move some methods from EmbeddedStorageContextUtils to EmbeddedStorageContextHolder
2023-04-23 17:37:14 +08:00
KomachiSion
f83061f47d
Move some datasource and relative classes into persistence module.
2023-04-23 16:00:42 +08:00
徐晓伟
68f172f831
🐛 default namespace resource matches ( #10350 )
2023-04-21 11:34:27 +08:00
杨翊 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
e26dc2fb23
Merge pull request #10277 from alibaba/develop#10153
...
Develop#10153
2023-04-06 17:25:18 +08:00
杨翊 SionYang
935e6a7f2b
Don't stopping startup for illegal token.secret.key when auth.enabled is false. ( #10273 )
2023-04-06 14:30:22 +08:00
杨翊 SionYang
89685a65ed
Don't stopping startup for illegal token.secret.key when auth.enabled is false. ( #10265 )
2023-04-03 18:36:43 +08:00
varyuan
2dde125a51
clean code ( #10180 )
...
* clean code
* clean code
* clean code
* clean code
2023-03-29 14:25:22 +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
XS
4242fc626a
✨ fix LDAP login failed ( #9932 )
...
* ✨ fix LDAP login failed
✨ fix LDAP AD login Ignore partial result exception
* 🎨 checkstyle reformat
2023-02-22 11:18:47 +08:00
杨翊 SionYang
c04b0bbb44
Remove the default token.secret.key ( #9992 )
2023-02-22 10:52:13 +08:00
MajorHe1
5a8c567633
[ISSUE #9906 ] cache token to improve performance ( #9914 )
...
* [ISSUE #9906 ] cache token to improve performance
* [ISSUE #9906 ] add cache token enable switch to application.properties
* [ISSUE #9906 ] update javadoc
* [ISSUE #9906 ] update javadoc
* [ISSUE #9906 ] update unit test
* [ISSUE #9906 ] make ci rerun
2023-02-10 10:51:05 +08:00
云野
42b28f9bc0
[ISSUE #9859 ] 重构默认插件的登陆/鉴权逻辑 ( #9889 )
...
* refactor auth logic;fix conflict
* update unit test.
2023-02-03 14:47:06 +08:00
云野
ade3f8295f
[ISSUE #9859 ]使用自定义的JWT生成/验证方法,而不依赖于jjwt
. ( #9873 )
...
* 使用自定义jwt生成
* add unit test; fix log msg.
* add license
2023-02-02 10:47:27 +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
David-wu91
e5bbfe704d
resolve issue #9318 add ldap filter config:caseSensitive ( #9444 )
...
* resolve issue #9318 add ldap filter config:caseSensitive
* resolve issue #9318 change code style
* resolve issue #9318 add unit test
2022-11-07 17:24:53 +08:00
hth
898cbb18d4
move custom db pwd plugin to nacos-group and specification plugin name ( #9480 )
2022-11-07 17:09:13 +08:00
hth
5ea747b863
[ISSUE #8619 ] add CustomEnvironmentPlugin ( #8619 ) ( #9296 )
...
* [ISSUE #8619 ] add CustomEnvironmentPlugin (#8619 )
* feature issue #8619 .
* custom properties.
* reformat codes and author fix
* remove customEnvironment to nacos-core and Complete test
* add license
* pmd fix
* code optimization
* conflict fix
2022-11-04 15:24:25 +08:00
Weizhan Yun
c3c7e1ba1c
[ISSUE #9367 ] fix auth plugin's property 'token.secret.key' base64 decode error. ( #9380 )
...
* 1. 修复密钥编码问题--为了避免歧义,密钥必须为base64编码的字符串;不再支持原始明文密钥。
2. JwtParser是线程安全的,重构为成员变量。
* 配置项保持明文字符串
2022-11-03 13:40:26 +08:00
liuchen6
0a8027641e
[ISSUE #9414 ] Optimize fuzzy queries to make SQL more general ( #9428 )
2022-10-31 14:01:18 +08:00
Karson
1076d5cf61
[ISSUE #9366 ] Support Ldaps authentication ( #9371 )
...
* support ldaps auth
* add ldaps IT test.
* add ldaps IT test.
* add ldaps IT test.
* add ldaps IT test.
2022-10-24 09:34:47 +08:00
Karson
99b7390a97
fix bug #9341 ( #9342 )
2022-10-19 09:30:37 +08:00
zhouchunhai
526c085b77
Feature #8941 Support Fuzzy Query in Authority Control--for api change. ( #9128 )
...
* Feature #8941 Support Fuzzy Query in Authority Control--for api change.
* fix check style error.
* fix unit test error.
2022-09-26 10:32:20 +08:00
karsonto
f27113b3b0
add some unit test
2022-09-20 15:37:35 +08:00
karsonto
8d75c28151
resolve issue #9175 add ldap filter config
2022-09-20 11:56:44 +08:00
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