Commit Graph

808 Commits

Author SHA1 Message Date
KomachiSion
89cc6caade Add plugin and auth-plugin module, and move class into module. 2022-01-21 15:06:09 +08:00
KomachiSion
be9516d037 Remove AuthManager.java 2022-01-21 13:49:30 +08:00
KomachiSion
80a6821bb7 Http request use new plugin. 2022-01-20 17:59:05 +08:00
KomachiSion
88818d0816 Http request use new plugin. 2022-01-20 16:04:20 +08:00
KomachiSion
d2e11a3de7 Add new ProtocolAuthService to replace AuthManager. 2022-01-20 14:22:43 +08:00
KomachiSion
dc1c05d2dc Repackage some auth classes. 2022-01-17 16:32:23 +08:00
KomachiSion
956df153d6 Add resource parser 2022-01-14 16:52:21 +08:00
KomachiSion
4e98013f8e Solve conflicts. 2022-01-12 17:02:20 +08:00
KomachiSion
78de31dbdd Merge remote-tracking branch 'upstream/develop' into issue#5696-merge-develop
# Conflicts:
#	auth/src/main/java/com/alibaba/nacos/auth/common/AuthConfigs.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
#	client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingMaintainService.java
#	client/src/main/java/com/alibaba/nacos/client/naming/remote/AbstractNamingClientProxy.java
#	client/src/main/java/com/alibaba/nacos/client/naming/remote/NamingClientProxyDelegate.java
#	client/src/test/java/com/alibaba/nacos/client/naming/remote/AbstractNamingClientProxyTest.java
2022-01-12 16:52:14 +08:00
杨翊 SionYang
b7910a6219
[ISSUE#5696] revert nacos server plugin implementation moved operation (#7636)
* Revert "[ISSUE#5696] Fix auth server type (#7004)"

This reverts commit e3b7f0e7

* Revert "add derby database (#6996)"

This reverts commit fea9d727

* Revert "Add MySQL DataBase (#6968)"

This reverts commit 3c0508d2

* Revert "[ISSUE #5696] Add auth server implement (#6901)"

This reverts commit 76ac8434

* Move JwtAuthenticationTokenFilter to security package.

* refactor constants about auth.
2022-01-12 16:45:18 +08:00
MajorHe1
c05f52ccb6
[ISSUE #7481] add user and role info to memory after db queried. (#7486) 2022-01-07 18:09:12 +08:00
rui.zhang
d05dff5139
fix: 在请求中保存用户信息到 httpsession 修复issue:#7141 (#7252) 2021-11-24 11:18:50 +08:00
onewe
d0b2c69d5e
fix: AuthConfigs illegal base64 character: '$' (#7209)
- Add catch block, return getBytes result if base64 decode failed
- Add JwtTokenManager unit test

Closes #7203
2021-11-12 11:02:45 +08:00
杨翊 SionYang
0719200c38
[ISSUE#7210] Add service rest api for v2. (#7211)
* Add service rest api for v2.

* For PMD.
2021-11-11 10:14:14 +08:00
brotherlu-xcq
3960beb869
[ISSUE #7006] remove the unnecessary popup when delete namespace. (#7007) 2021-10-08 09:27:17 +08:00
Wuyunfan-BUPT
e3b7f0e79f
[ISSUE#5696] Fix auth server type (#7004)
* Add MySQL DataBase

* Add Derby Database

* Replace Auth Server

* Revise: change to AuthSystemType
2021-09-28 19:30:20 +08:00
Wuyunfan-BUPT
af8d04f59b
Revise Auth server plugin (#6890) 2021-09-16 14:11:28 +08:00
brotherlu-xcq
3c95021c24
[ISSUE #6793] synchronize the betaIps in header and form data. (#6799) 2021-09-07 11:32:09 +08:00
brotherlu-xcq
05b0116b1b
[ISSUE #6749] fix the batch delete has no permission problem. (#6754) 2021-08-27 09:41:39 +08:00
brotherlu-xcq
ba6e161353
[ISSUE #6301] [TASK 2] change the UI and startup shell to support custom selector config. (#6691) 2021-08-20 09:32:31 +08:00
Wuyunfan-BUPT
ac878582e4
[ISSUE#5696] Add auth plugin interface. (#6593)
* define plugin

* add User model

* add authContext

* add SPI

* add resource, modify request, reformat code

* copyright, Serverloader, IdentityContext

* add unit test

* modify ClassLoader, and delete GrantType

* delete redundancy code

* remove authservice default name

* Change to StringUtils
2021-08-13 13:43:58 +08:00
brotherlu-xcq
fa2d4d0eb4
[ISSUE #6551] fix the console log and the dismiss word. (#6590) 2021-08-09 09:48:45 +08:00
brotherlu-xcq
561b0e6f71
[ISSUE #6510] fix the F1 cannot full screen. (#6513) 2021-08-02 09:42:43 +08:00
brotherlu-xcq
4dc87b4b25
[ISSUE #6296] optimize the new config page, when create the config successfully skip to list page. (#6496) 2021-07-29 10:52:10 +08:00
杨翊 SionYang
0e5c270aeb
Add Enterprise (#6472) 2021-07-27 15:40:30 +08:00
mask
414e2fa272
[ISSUE #6280] Fix word spell error. (#6281) 2021-07-06 09:42:54 +08:00
ZZQ的
3d000cf878
[ISSUE #6266] [console module] replace "*commons.lang3*.*Utils" to "com.alibaba.nacos.common.utils.*Utils" (#6267) 2021-07-05 17:07:25 +08:00
孙继峰
f36556657f
[ISSUE #6197] Use java.util.Objects instead of com.alibaba.nacos.common.utils.Objects (#6218) 2021-07-01 11:32:34 +08:00
MajorHe1
f4cf28afba
[ISSUE #6204] Get data from database if user or role info not found in cache. (#6206) 2021-06-30 15:11:18 +08:00
andotorg
1c85051e0b
add ldap print error log (#6068) 2021-06-15 20:16:38 +08:00
杨翊 SionYang
a5f1a5c2fd
Fix #5835, remove global params username. (#6014) 2021-06-09 14:49:50 +08:00
brotherlu-xcq
8e353b2561
[FOR #5843 controller/model/enums] improve the code quality of nacos-console. (#5846)
* [code quality] [nacos-console] [controller/enums/model] fix the ResponseEntity, the if nest optimize, the constants export, the enum create.

* [code quality] [nacos-console] [controller/enums/model] add the javadoc for enums

* [code quality] [nacos-console] [controller/enums/model] license problem
2021-05-27 10:59:06 +08:00
如梦技术
56404f7b13
Add automatic cleaning accesslog days. (#5848) 2021-05-26 10:11:41 +08:00
brotherlu-xcq
6fccc34bc9
[code quality] [nacos-console] [filter/security] the if nest optimize, the constants export, the Chinese doc fix (#5847) 2021-05-26 10:11:05 +08:00
brotherlu-xcq
6bc7c33188
[fix-#5713] fix the query param lost when use enter press to search (#5791) 2021-05-21 11:02:38 +08:00
KomachiSion
cf5a171ac5 Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
# Conflicts:
#	NOTICE
#	api/pom.xml
#	common/src/main/java/com/alibaba/nacos/common/notify/DefaultPublisher.java
#	config/src/main/java/com/alibaba/nacos/config/server/service/LongPollingService.java
#	naming/src/test/java/com/alibaba/nacos/naming/consistency/persistent/impl/NamingSnapshotOperationTest.java
#	naming/src/test/java/com/alibaba/nacos/naming/core/DomainsManagerTest.java
#	naming/src/test/java/com/alibaba/nacos/naming/healthcheck/ClientBeatCheckTaskTest.java
#	pom.xml
#	test/src/test/java/com/alibaba/nacos/test/core/JacksonUtils.java
2021-05-14 11:04:52 +08:00
brotherlu-xcq
9300c39375
Fix the locales of field Action Type don't take effect in config history detail page (#5664)
* fix #5623, the locale issue in config rollback page

* build the change
2021-05-11 09:18:34 +08:00
plusmancn
7e57b90160
[ISSUE #3548] The srcUser fills with username when auth is disabled (console case) (#5566)
* feat: srcUser fills with username (console case)

* fix: code sytle of Constants.java

* fix: code style of the remaining files

* fix: the back button of HistoryDetail.js won't work

* fix: change '源 IP' to '来源 IP'

* fix: undo changes of goList
2021-05-10 20:41:35 +08:00
brotherlu-xcq
7165036362
change the Chinese notes to English (#5591) 2021-05-10 11:38:50 +08:00
孙继峰
818d37b71c
delete duplicated dependency (#5622) 2021-05-10 10:43:58 +08:00
brothelul
ae83b9b3d5
enhance the rollback message when it will delete the config. (#5529) 2021-04-30 18:04:37 +08:00
drgnchan
3aae93d523
fix #5517,invoke reQuery after change queryType (#5525) 2021-04-29 19:06:55 +08:00
KomachiSion
92da848375 Merge remote-tracking branch 'upstream/develop' into merge-1.X-to-2.0
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
#	client/src/main/java/com/alibaba/nacos/client/naming/core/PushReceiver.java
#	console/src/main/resources/static/css/main.css
#	console/src/main/resources/static/js/main.js
#	naming/src/main/java/com/alibaba/nacos/naming/core/SubscribeManager.java
#	naming/src/test/java/com/alibaba/nacos/naming/core/SubscribeManagerTest.java
#	test/src/test/java/com/alibaba/nacos/test/BaseTest.java
2021-04-27 15:57:24 +08:00
brothelul
3070bb8ffc
fix the press F1 to full screen issue in new config page (#5507) 2021-04-27 15:15:59 +08:00
brothelul
b148d4b503
fix the press F1 to full screen issue (#5505) 2021-04-27 14:07:12 +08:00
brothelul
72e5da6baf
[ISSUE #4770] Beta publish: change the way of select betaIps, from input to select (#5493)
* change the way of select betaIps, from input to select

* solve the conflict and change the Select from mutiple to tag
2021-04-27 09:41:51 +08:00
brothelul
81c1e53ac6
fix the tag remove error. (#5457) 2021-04-26 13:46:30 +08:00
TouchZZZ
4b4d21d54f
support ldap login (#5225) 2021-04-12 10:09:16 +08:00
ShawnSiao
f22b93cac3
fix #5234 (#5266) 2021-04-12 10:04:24 +08:00
邪影oO
5146fad227
fix #4852: main.js too large (#5199) 2021-03-26 13:43:06 +08:00