KomachiSion
347494c380
Add MockAuthPluginService for unit test.
2022-01-20 14:05:14 +08:00
KomachiSion
79e7a95e62
Add SignType
2022-01-17 17:15:42 +08:00
KomachiSion
3c9e83372c
For checkstyle
2022-01-17 16:43:55 +08:00
KomachiSion
dc1c05d2dc
Repackage some auth classes.
2022-01-17 16:32:23 +08:00
KomachiSion
7b7db3496b
Do some refactor for IdentityContextBuilder
2022-01-17 16:17: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
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
onewe
ef5bb0a83d
[ISSUE #7114 ] Enhance the constants for auth module. ( #7170 )
...
- Create a Constants.java
- Move all the string literal to the Constants.java
- Delete the PropertiesConstant.java
2021-11-04 09:57:17 +08:00
KomachiSion
dd600537b0
For PMD and copyright.
2021-10-09 14:20:39 +08:00
KomachiSion
986b125a81
For PMD.
2021-10-09 14:08:04 +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
fea9d7271b
add derby database ( #6996 )
2021-09-27 13:41:44 +08:00
Wuyunfan-BUPT
3c0508d2da
Add MySQL DataBase ( #6968 )
2021-09-23 20:13:47 +08:00
Wuyunfan-BUPT
76ac84344c
[ISSUE #5696 ] Add auth server implement ( #6901 )
...
* Add auth server implement.
* Modify auth server: class name
2021-09-18 09:50:58 +08:00
Wuyunfan-BUPT
af8d04f59b
Revise Auth server plugin ( #6890 )
2021-09-16 14:11:28 +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
ZZQ的
e25d415056
[ISSUE #6253 ] [auth module] replace "*commons.lang3*.*Utils" to "com.alibaba.nacos.common.utils.*Utils" ( #6260 )
2021-07-05 08:57:35 +08:00
杨翊 SionYang
f2676bc6ca
[ISSUE#6129] Add ServerConfigChangeEvent when config file changed. ( #6130 )
...
* Add ServerConfigChangeEvent when config file changed.
* Upgrade config after notify ServerConfigChangeEvent
2021-06-22 14:39:37 +08:00
tianqingzhao
b55b42cc0e
Remove any extra curly braces from the @Value annotation ( #5838 )
2021-05-26 10:06:30 +08:00
TouchZZZ
4b4d21d54f
support ldap login ( #5225 )
2021-04-12 10:09:16 +08:00
KomachiSion
fd06b5a7b6
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# address/pom.xml
# api/pom.xml
# auth/pom.xml
# client/pom.xml
# cmdb/pom.xml
# common/pom.xml
# config/pom.xml
# consistency/pom.xml
# console/pom.xml
# core/pom.xml
# distribution/pom.xml
# example/pom.xml
# istio/pom.xml
# naming/pom.xml
# pom.xml
# sys/pom.xml
# test/pom.xml
2021-01-18 10:32:57 +08:00
杨翊 SionYang
1bd67269cd
Use revision to set version and upgrade to 1.4.2-SNAPSHOT ( #4711 )
...
* Use revision set version
* Use revision set version
* Add flatten plugin
2021-01-15 14:37:47 +08:00
杨翊 SionYang
67eb36976e
Upgrade to 1.4.1 ( #4695 )
2021-01-14 11:36:57 +08:00
KomachiSion
902f501fac
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# client/src/main/java/com/alibaba/nacos/client/naming/core/HostReactor.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
# config/src/main/java/com/alibaba/nacos/config/server/service/notify/AsyncNotifyService.java
# naming/src/main/java/com/alibaba/nacos/naming/push/ClientInfo.java
# naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java
2021-01-13 15:53:50 +08:00
杨翊 SionYang
998947315e
Add server identity to replace user-agent white list. ( #4683 )
2021-01-13 14:12:56 +08:00
nov.lzf
6027d36222
client use same executor during different connection;metrics count bugfix.;recommend server check ( #4659 )
...
* client use same executor during different connection.
* metrics count bugfix.
* recommend server check
* remove rsocket ;add client metrics
* add client metrics to get cache value
* rpc tps control basic api submit.
* check style ,pmd fix.
2021-01-11 14:11:32 +08:00
KomachiSion
11210c057d
Merge remote-tracking branch 'upstream/develop' into 2.0.0-sync-dev
2021-01-07 17:09:30 +08:00
haoyann
2be09ae940
change tokenValidityInSeconds default value
2021-01-05 10:41:26 +08:00
杨翊 SionYang
93a3ac7816
Upgrade to 2.0.0-ALPHA.1 ( #4410 )
...
* Add some new server config parameters
* Upgrade to 2.0.0-ALPHA.1
2020-12-04 18:46:24 +08:00
KomachiSion
d6fcac85c5
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/http/ServerHttpAgent.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingMaintainService.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# config/src/main/java/com/alibaba/nacos/config/server/auth/ConfigResourceParser.java
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
# config/src/main/java/com/alibaba/nacos/config/server/result/ResultBuilder.java
# core/src/main/java/com/alibaba/nacos/core/listener/StartingApplicationListener.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/ClientBeatCheckTask.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckCommon.java
# naming/src/main/java/com/alibaba/nacos/naming/web/NamingResourceParser.java
# sys/src/main/java/com/alibaba/nacos/sys/utils/ApplicationUtils.java
# test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java
2020-12-03 18:41:41 +08:00
赵延
886715b2d7
[ISSUE-#4232] Use EnvUtil to replace ApplicationUtils about env operation ( #4281 )
...
* use EnvUtil to replace ApplicationUtils about env operation
* remove unuse import
* remove unuse import
* remove profile usage
2020-11-21 06:54:05 +08:00
杨翊 SionYang
164ed33ada
Feature support grpc core ( #4204 )
...
* NacosNamingMetadataManager --> NamingMetadataManager
* Try to add ServiceMetadata consistency
* add catalog api support new data
* Change version to 2.0.0-SNAPSHOT
2020-11-11 19:50:14 +08:00
KomachiSion
8829d3c6ed
Upgrade to 2.0.0-ALPHA
2020-11-05 19:38:15 +08:00
KomachiSion
9cbc0bfeea
Merge branch 'upsteam-develop' into feature_support_grpc_core
...
# Conflicts:
# api/src/main/java/com/alibaba/nacos/api/common/Constants.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/HttpClient.java
# common/src/main/java/com/alibaba/nacos/common/utils/VersionUtils.java
# core/src/main/java/com/alibaba/nacos/core/distributed/distro/DistroProtocol.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/ServiceController.java
# naming/src/main/java/com/alibaba/nacos/naming/misc/GlobalExecutor.java
2020-11-05 19:33:46 +08:00
杨翊 SionYang
ccea6ee112
Upgrade to 1.4.1-SNAPSHOT ( #4135 )
2020-11-05 09:43:33 +08:00
KomachiSion
adbcb7549d
Upgrade to 1.4.0
2020-11-02 19:09:19 +08:00
KomachiSion
6e5b09aee7
Merge branch 'upsteam-develop' into feature_support_grpc_core
...
# Conflicts:
# common/src/main/java/com/alibaba/nacos/common/notify/DefaultSharePublisher.java
# test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java
2020-09-18 16:16:00 +08:00
liaochuntao
7fd4d9a5d1
feature issue #3804 ( #3805 )
...
* improvement: merge upstream/develop
* feat: merge upstream develop
* feat: manage the loading of configuration files uniformly
* fix: fix copyright style
* style: fix code style
* fix: fix code style
2020-09-18 16:05:36 +08:00
nov.lzf
d83a4b12b3
ak auth support on long connection ( #3821 )
2020-09-14 16:47:59 +08:00
赵延
e7c269a2f5
move jwt dependency from console,core to auth. ( #3624 )
2020-08-18 13:38:07 +08:00
赵延
a041c8ef58
[ISSUE #3600 ] Replace the deprecated api of jwt ( #3616 )
...
* replace the deprecated api of jwt
* transfer secretKey to byte array just using String encode with utf-8
2020-08-18 09:23:04 +08:00
mai.jh
526e2bc130
[ISSUE #3566 ] move the permission code of nacos-core module to nacos-auth module ( #3593 )
...
* move the permission code of nacos-core module to nacos-auth module.
* Fix some code style issues
* address server module auth package name change.
* test change
* Incorrect package name correction
2020-08-14 09:50:05 +08:00
mai.jh
df9ae66fe0
create a nacos-auth module, And add nacos-auth dependency for nacos-core module. ( #3590 )
2020-08-12 19:15:58 +08:00