WangLiang/王良
a397c10a54
Optimize the nacos-client/pom.xml
for exclude google/**/*.proto
( #9982 )
...
* Optimize the pom.xml of the nacos-client
* optimize pom
* exclude `google/**/*.proto`
* tab
* Remove dependency `io.grpc:protoc-gen-grpc-java:${version}:pom`
* revert indent
* revert native-image
2023-03-01 09:42:15 +08:00
gongzhongqiang
708387c277
fix:replace nacos website url to https. ( #9797 )
2023-01-10 09:47:52 +08:00
陈浩 Nineteen
76df11bc48
fix comment ( #9695 )
2022-12-13 09:20:12 +08:00
Karson
cfa3a0fd59
Unfiy Map's get and put methods by computeIfAbsent In AuthConfig ( #8390 )
...
* Unfiy Map's get and put methods by computeIfAbsent In AuthConfig
reformat code style
reformat code style
* reformat code style
* reformat issue
2022-05-23 15:19:22 +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
5931ded303
Remove unused mock in unit test.
2022-02-15 14:29:41 +08:00
KomachiSion
eeb5268282
auth plugin add enableAuth method to switch auth more precisely.
2022-02-15 14:21:31 +08:00
杨翊 SionYang
1c3656a1b0
[ISSUE#5696] Keep original resource parse result rather than use any replace when … ( #7764 )
...
* Keep original resource parse result rathar than use any replace when resource is empty.
* Identity Builder for http will be case-insensitive.
* For checkstyle.
2022-02-15 10:21:55 +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
e2e819379c
For pmd.
2022-01-26 14:01:27 +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
32d7ce3b66
Repackage some class
2022-01-24 15:35:45 +08:00
KomachiSion
3e10d29ee2
Use specified parser to parse resource when can't find parser by type.
2022-01-21 17:29:56 +08:00
KomachiSion
a25b128d76
remove unused parseName in ResourceParser
2022-01-21 16:50:28 +08:00
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
e606dd7333
Grpc request use new plugin.
2022-01-20 20:49:49 +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
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