Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -在开启认证的情况下增加token解析认证处理方式 #10297

Closed
wants to merge 4,563 commits into from
Closed
Changes from all commits
Commits
Show all changes
4563 commits
Select commit Hold shift + click to select a range
b8c4f63
feat/support Batch DeRegister (#9330)
chenhao26-nineteen Oct 24, 2022
2388ea6
Create data source plugin framework. (#9063)
The-Gamer-01 Sep 1, 2022
2eb72cf
Commit ConfigInfoMapper. (#9084)
The-Gamer-01 Sep 7, 2022
7efd0d9
[ISSUE#8312] Update ConfigInfoMapper and create ConfigInfoAggrMapper.…
The-Gamer-01 Sep 10, 2022
6c25984
[ISSUE #8312] Create ConfigInfoBetaMapper.(#8312) (#9118)
The-Gamer-01 Sep 10, 2022
54457af
[ISSUE #8312] Add more mapper. (#9119)
The-Gamer-01 Sep 12, 2022
6c92d83
[ISSUE #8312]Update all mapper. (#9145)
The-Gamer-01 Sep 15, 2022
370d49d
[ISSUE #8312]Update the mysql implementation of ConfigInfoAggrMapper …
The-Gamer-01 Sep 18, 2022
8115e83
[ISSUE #8312]Update the mappers. (#9171)
The-Gamer-01 Sep 18, 2022
9ccf7bd
[ISSUE #8312]Update the ConfigInfoMapperByMySql and some derby mapper…
The-Gamer-01 Sep 20, 2022
78057d1
[ISSUE #8312]Update the mappers. (#9190)
The-Gamer-01 Sep 22, 2022
b09af20
[ISSUE #8312]Finish all mappers. (#9199)
The-Gamer-01 Sep 25, 2022
258fbc5
[ISSUE #8312]Finish the datasource plugin. (#9226)
The-Gamer-01 Sep 30, 2022
a304f9f
Merge remote-tracking branch 'upstream/2.2.0' into 2.2.0-summer#8312
KomachiSion Oct 24, 2022
e54a093
Change datasource plugin version as revision.
KomachiSion Oct 24, 2022
049426b
Merge pull request #9381 from KomachiSion/2.2.0-summer#8312
KomachiSion Oct 24, 2022
cb811f8
Fix some derby datasource plugin sql problem.
KomachiSion Oct 24, 2022
b2f7d4f
Add console default resource server.port as 8848.
KomachiSion Oct 24, 2022
74684fa
[ISSUE #8312]Merge sql. (#9385)
The-Gamer-01 Oct 24, 2022
96029b7
fix sql (#9386)
li-xiao-shuang Oct 24, 2022
0e5a008
[ISSUE #8461] Enhance Nacos monitor observability system (#9038)
beet233 Oct 25, 2022
45fb8bb
[ISSUE #8312] Fixed some problems with configuration sql (#9388)
li-xiao-shuang Oct 25, 2022
8938fb5
Fix checkstyle.
KomachiSion Oct 25, 2022
9fef2e9
Merge pull request #9389 from alibaba/2.2.0-summer2022#8312
KomachiSion Oct 25, 2022
fa93dd0
Merge remote-tracking branch 'upstream/2.2.0' into asoc2022_issue#8461
KomachiSion Oct 25, 2022
68f097d
Merge pull request #9390 from alibaba/asoc2022_issue#8461
KomachiSion Oct 25, 2022
267116f
Remove upd and beat codes in nacos-client. (#9394)
KomachiSion Oct 25, 2022
cd5218b
[ISSUE #8312]Fix Persist Service Implementation。 (#9395)
The-Gamer-01 Oct 25, 2022
1c402bd
Make default naming async query subscribe as false.
KomachiSion Oct 26, 2022
7ee8898
Fix sync connection client not removed.
KomachiSion Oct 27, 2022
a8e58f4
Fix update config info cas error.
KomachiSion Oct 27, 2022
4ff00c3
Merge pull request #9411 from alibaba/2.2.0
KomachiSion Oct 27, 2022
48caad2
[conf]Update group_id length from 255 to 128 (#9412)
wuchubuzai2018 Oct 28, 2022
6294b2c
Upgrade to 2.2.0-beta. (#9413)
KomachiSion Oct 28, 2022
296e6c0
fix batch Deregister Common (#9419)
chenhao26-nineteen Oct 31, 2022
33ac84b
fix NotifySubscriberRequest name (#9417)
Maksim-lk Oct 31, 2022
a82def5
optimize InstancesChangeNotifier. (#9416)
karsonto Oct 31, 2022
715ee0f
[ISSUE #9414] Optimize fuzzy queries to make SQL more general (#9428)
liuchen6 Oct 31, 2022
753c9ff
[ISSUE #9423] ExternalDataSourceProperties add isEmpty check to suppo…
wuchubuzai2018 Nov 2, 2022
1b7223f
[ISSUE #9367] fix auth plugin's property 'token.secret.key' base64 de…
YunWZ Nov 3, 2022
a0cbb59
[ISSUE #9393] 设置线程为守护线程,保证在main线程推出时应用程序能过正常关闭。 (#9396)
YunWZ Nov 3, 2022
501aceb
Update NameSpaceList.js (#9436)
kunl Nov 3, 2022
c655a2a
[ISSUE #8622] sub pr of 9356 - auth module (#9447)
onewe Nov 3, 2022
debdf81
[ISSUE #8622] sub pr of 9356 - util module (#9453)
onewe Nov 3, 2022
bc955f1
[ISSUE #9449]Add Tenant Information mapper. (#9454)
The-Gamer-01 Nov 3, 2022
9f83ff5
Modify the method modifier of NacosApplicationListener to default (#9…
li-xiao-shuang Nov 4, 2022
efbdebe
[ISSUE #8622] sub pr of 9356 - logging module (#9450)
onewe Nov 4, 2022
f44e926
[ISSUE #8622] sub pr of 9356 - config and naming module (#9455)
onewe Nov 4, 2022
704709a
fix ClientWorker NullPointer judement order (#9461)
Maksim-lk Nov 4, 2022
9d648ee
[ISSUE #8619] add CustomEnvironmentPlugin (#8619) (#9296)
godhth Nov 4, 2022
3f8e898
[ISSUE #9466] Modify the findMapper method of MapperManager to be a g…
li-xiao-shuang Nov 4, 2022
b9c3bbb
[ISSUE #9475] Abstract common count method (#9476)
li-xiao-shuang Nov 4, 2022
3cf7b77
[ISSUE #9449]Add Tenant Capacity mapper. (#9456)
The-Gamer-01 Nov 4, 2022
e1fb02b
[ISSUE #9475] Abstract common count method (#9481)
li-xiao-shuang Nov 6, 2022
55d9bd0
Optimizing paging parameters (#9487)
li-xiao-shuang Nov 6, 2022
1df5b48
[ISSUE #9486]Optimizing paging parameters. (#9488)
The-Gamer-01 Nov 6, 2022
332096f
move custom db pwd plugin to nacos-group and specification plugin nam…
godhth Nov 7, 2022
be740cf
[ISSUE #9415]update setExternalStorage logic,support more db check,ad…
wuchubuzai2018 Nov 7, 2022
e9bbe6f
resolve issue #9318 add ldap filter config:caseSensitive (#9444)
David-wu91 Nov 7, 2022
90827d3
[ISSUE #9490] Optimize datasource name configuration reading (#9491)
li-xiao-shuang Nov 8, 2022
aec4342
[ISSUE #9506] Sql extraction of group_capacity table (#9507)
li-xiao-shuang Nov 9, 2022
07d5f59
[ISSUE #9478] fix the chooser bug when all instances have a zero weig…
CLFutureX Nov 9, 2022
f60d921
[ISSUE #9391] Chooser optimization (#9392)
CLFutureX Nov 9, 2022
f91173d
[ISSUE #9516] Clean up PersistService invalid code logic (#9517)
li-xiao-shuang Nov 10, 2022
4f1f221
[impr]Update some method from RETURN_GENERATED_KEYS replace to String…
wuchubuzai2018 Nov 10, 2022
fc2d428
Add unit tests to GroupCapacityMapperByMySql class (#9529)
li-xiao-shuang Nov 10, 2022
f4a600b
Add unit tests to MapperManager class (#9534)
li-xiao-shuang Nov 10, 2022
aa86516
Add unit tests to AbstractMapper class (#9533)
li-xiao-shuang Nov 10, 2022
9ce3ef0
Add unit tests to TeantInfoMapperByMySql class (#9532)
li-xiao-shuang Nov 10, 2022
b75c59d
Add unit tests to TeantCapacityMapperByMySql class (#9531)
li-xiao-shuang Nov 10, 2022
14645d9
Add unit tests to HistoryConfigInfoMapperByMySql class (#9530)
li-xiao-shuang Nov 10, 2022
7cf07c1
Add unit tests to ConfigTagsRelationMapperByMySql class (#9528)
li-xiao-shuang Nov 10, 2022
75dc988
Add unit tests to ConfigInfoTagMapperByMySql class (#9527)
li-xiao-shuang Nov 10, 2022
f969d4c
[ISSUE #9523] Add unit tests to ConfigInfoMapperByMySql class (#9526)
li-xiao-shuang Nov 10, 2022
6ebf661
[ISSUE #9524] Add unit tests to ConfigInfoBetaMapperByMySql class (#9…
li-xiao-shuang Nov 10, 2022
66c9dab
Add unit tests to ConfigInfoAggrMapperByMySql class (#9524)
li-xiao-shuang Nov 10, 2022
0798bdc
Add unit tests to TenantInfoMapperByDerby class (#9549)
li-xiao-shuang Nov 11, 2022
ed3bd77
Add unit tests to TenantCapacityMapperByDerby class (#9548)
li-xiao-shuang Nov 11, 2022
09428f5
Add unit tests to HistoryConfigInfoMapperByDerby class (#9547)
li-xiao-shuang Nov 11, 2022
99853c8
Add unit tests to ConfigInfoAggrMapperByDerby class (#9541)
li-xiao-shuang Nov 11, 2022
aa8f7fc
Add unit tests to ConfigInfoBetaMapperByDerby class (#9542)
li-xiao-shuang Nov 11, 2022
33a8ab1
Add unit tests to ConfigInfoMapperByDerby class (#9543)
li-xiao-shuang Nov 11, 2022
c1762b2
Add unit tests to ConfigInfoTagMapperByDerby class (#9544)
li-xiao-shuang Nov 11, 2022
7ab1d9b
Add unit tests to ConfigInfoTagRelationMapperByDerby class (#9545)
li-xiao-shuang Nov 11, 2022
0585cbd
Add unit tests to GroupCapacityMapperByDerby class (#9546)
li-xiao-shuang Nov 11, 2022
d50f4df
[ISSUE #9510]Add sql log print function. (#9511)
The-Gamer-01 Nov 11, 2022
ee42d87
[ISSUE #9571] Split the PersistService class because it's too big (#9…
li-xiao-shuang Nov 14, 2022
ab90f02
解决服务元数据清理逻辑导致的反注册失败问题 https:/alibaba/nacos/issues/9586 (#…
hujun-w-2 Nov 17, 2022
4e08222
Bump jackson-databind from 2.12.6.1 to 2.12.7.1 (#9582)
dependabot[bot] Nov 17, 2022
c290779
support prometheus sd (#9518)
karsonto Nov 17, 2022
93be76c
[ISSUE #9643] Fixed Possible JSON Ordering Permutations Problem in Te…
bmk15897 Nov 17, 2022
ad9f59d
[ISSUE #9571] Replace PersistService (#9583)
li-xiao-shuang Nov 18, 2022
a7652dc
[ISSUE #9603] Catch ClosedWatchServiceException after exit normally.…
karsonto Nov 22, 2022
5e31132
fix: change overflow hidden to visible in configuration query div (#9…
drgnchan Nov 22, 2022
9463a38
Update HttpClientManager.java (#9477)
zz630 Nov 22, 2022
7ed9f39
fix SonarLint check (#9608)
ZhongJinHacker Nov 22, 2022
d32110f
perf: Code optimization points (#9552)
E1se2t Nov 22, 2022
13b0799
feat: Service List page retains query information. (#9598)
l12i7n19 Nov 25, 2022
7eb0801
fixed the issue of client get same server (#9616)
chengyj1986xxx Nov 25, 2022
f587605
Code optimization, remove useless code. (#9620)
godhth Nov 25, 2022
d53e47f
[ISSUE #9631] return value of putIfAbsent ignored, value passed to pu…
zume0127 Nov 28, 2022
799205d
ci: Replace deprecated set-state set-output GitHub Action's commands …
kirklin Nov 30, 2022
ac8944e
[ISSUE #9648] 修复关于tagList传入参数有误 (#9650)
985492783 Dec 2, 2022
570c973
[ISSUE #9655] fix ExceptionHandler order bug (#9657)
985492783 Dec 3, 2022
c496644
Fix data race in xds (#9662)
SpecialYang Dec 5, 2022
2052b45
Refactor connection limit module to plugin (#9653)
shiyiyue1102 Dec 6, 2022
7a5be8f
polish: reduce magic value of 'NACOS_SERVER_HEADER' (#9663)
drgnchan Dec 6, 2022
5c4be40
[ISSUE #9471] 更新搜索参数不会重置 (#9649)
985492783 Dec 6, 2022
9b52b21
Upgrade ui dependencies to fix some depend vulnerability. (#9652)
KomachiSion Dec 6, 2022
78760aa
Add auth for some v2 api. (#9671)
KomachiSion Dec 8, 2022
e209856
fix no dataSet when nacos server started (#9677)
chenhao26-nineteen Dec 8, 2022
86f975c
fix comment (#9695)
chenhao26-nineteen Dec 13, 2022
1496df9
1.Update 更新Config模块测试用例。 (#9687)
npk191954 Dec 13, 2022
90c5706
Upgrade to 2.2.0.
KomachiSion Dec 14, 2022
ac5a85f
Merge pull request #9705 from KomachiSion/develop-upgrade-to-2.2.0
MajorHe1 Dec 14, 2022
8cf85e3
Develop optimize controplugin 20221214 (#9715)
shiyiyue1102 Dec 16, 2022
06474bf
增加检查服务端健康状态的功能。 (#9639)
YunWZ Dec 21, 2022
d2860f2
update readme for Contact Ding Group (#9739)
xuechaos Dec 21, 2022
37e8a3b
修改长连接request response 类注册逻辑,由类扫描改成手动注册 (#9738)
shiyiyue1102 Dec 21, 2022
a9f3107
Fix namespace v2 api auth not work problem. (#9754)
KomachiSion Dec 27, 2022
b8b22e7
[ISSUE alibaba#9734] fix http login url ,add default port. (#9735)
vividfish Dec 27, 2022
992cbb9
polish:change log level warn to info when succeed (#9749)
drgnchan Dec 27, 2022
6599658
RequestMappingHandlerMapping conflict (#9720)
twelvet-s Dec 27, 2022
0e776b0
[ISSUE #9728] Prometheus http sd 返回空数组[] (#9762)
karsonto Jan 3, 2023
0d9dbeb
[Enhance] Prevent double triiger ContextRefreshedEvent (#9757)
karsonto Jan 3, 2023
dac6cdd
代码优化 (#9752)
zhuyou1234 Jan 3, 2023
3ca1235
fix: replace the concatenated string with a placeholder in the batchR…
wenxuan70 Jan 3, 2023
28070be
remove unused local variables (#9781)
Korov Jan 3, 2023
54bc78d
upgeade-spring-boot version to 2.6.14 (#9785)
karsonto Jan 3, 2023
4bd8ef8
upgrade jraft version to 1.3.12; (#9790)
YunWZ Jan 4, 2023
a0310f6
enhancement: CloseableHttpAsyncClient does not clean up expired and i…
zz630 Jan 5, 2023
cf717de
upgrade grpc-java version to 1.50.2, (#9799)
YunWZ Jan 5, 2023
deffc8c
fix config auth failed. (#9807)
YunWZ Jan 9, 2023
2bbdf36
[#ISSUE 9733] return origin key if value is null in StringPool.get() …
MajorHe1 Jan 9, 2023
8b6ce1c
fix:replace nacos website url to https. (#9797)
GOODBOY008 Jan 10, 2023
17f86df
Provide more configuration items to allow users to customize their gr…
YunWZ Jan 11, 2023
0926bc0
fix issue #9795 (#9844)
karsonto Jan 13, 2023
b8303e4
快照首次加载失败问题 (#9838)
hujun-w-2 Jan 13, 2023
6d53007
[ISSUE #9783] 处理namespaceId=public 时 v2接口 无法创建与删除配置 (#9809)
karsonto Jan 16, 2023
7f880b1
Modify the return value comment of the isBasicInfoChanged method (#9849)
sixsixsix516 Jan 16, 2023
e179b55
[ISSUE#9730] 对多数据源插件代码进行调整(向前兼容) (#9784)
xzxiaoshan Jan 16, 2023
25a162c
fix #9819 (#9850)
YunWZ Jan 28, 2023
46a5fea
Fix #9861, auth check before distro filter. (#9871)
KomachiSion Jan 28, 2023
510501e
Fix Unit test problem. (#9884)
KomachiSion Feb 1, 2023
bf811b9
[ISSUE #9859]使用自定义的JWT生成/验证方法,而不依赖于`jjwt`. (#9873)
YunWZ Feb 2, 2023
b1dd524
add feature -- list instance record which enabled was false (#9855)
YunWZ Feb 2, 2023
ceb57e8
[ISSUE #9816] Add expected final state for redo data. (#9893)
KomachiSion Feb 3, 2023
75492d2
del no use code (#9892)
chenhao26-nineteen Feb 3, 2023
f051164
[ISSUE #9859] 重构默认插件的登陆/鉴权逻辑 (#9889)
YunWZ Feb 3, 2023
6980076
Update README.md (#9895)
frank-zsy Feb 3, 2023
f457b01
fix(修复配置历史分页异常): 配置历史分页异常,所有页都是全部记录 (#9828)
liu-xg Feb 3, 2023
327d7a4
fix batchRegister authentication (#9899)
chenhao26-nineteen Feb 5, 2023
2cef1cc
fix typo 'curcuit';remove unused variable. (#9901)
YunWZ Feb 7, 2023
7a78db7
Develop add unit test api (#9910)
KomachiSion Feb 7, 2023
2bf4b8c
[ISSUE #9816] check expected final state before remove redo data. (#9…
MajorHe1 Feb 8, 2023
5000180
[ISSUE #9710]prometheus-sd support basic auth. (#9912)
vividfish Feb 8, 2023
3a1b81d
Add Unit test for api naming remote request. (#9916)
KomachiSion Feb 8, 2023
10d7f4d
Add Unit test for api module naming package. (#9918)
KomachiSion Feb 8, 2023
936d6ec
code optimization for `ConfigChangeHandler` (#9923)
ZhangShenao Feb 10, 2023
0a83c0c
[ISSUE #9821] Update data-source-plugin input and output parameters (…
The-Gamer-01 Feb 10, 2023
40277e5
[ISSUE #9906] cache token to improve performance (#9914)
MajorHe1 Feb 10, 2023
6c6ffd7
[ISSUE #9930] fix word spelling error in com.alibaba.nacos.common.htt…
ZhangShenao Feb 13, 2023
8bbc72a
[Enhancement] Add prometheus api exception handling (#9885)
karsonto Feb 13, 2023
8d00589
display the namespace on add,edit,detail configuration page #(9827) (…
githubcheng2978 Feb 14, 2023
2773e7e
Judge the message whether null for metadata processor. (#9951)
KomachiSion Feb 15, 2023
39ea22e
replaced report API to Grpc (#9976)
godhth Feb 20, 2023
9a8bf1d
[ISSUE #9821] Update ConfigInfoBetaMapper data-source-plugin input an…
The-Gamer-01 Feb 20, 2023
66ba819
[ISSUE #9965] Delete method getRemoteIp() from class NacosHttpTpsCont…
IJiaPu Feb 20, 2023
5674430
[ISSUE #9276] 新增根据配置信息检索内容的功能 (#9925)
985492783 Feb 21, 2023
fee2684
Remove the default token.secret.key (#9992)
KomachiSion Feb 22, 2023
a262fdb
Fixed some minor bugs in CollectionUtils.java (#9989)
4yDX3906 Feb 22, 2023
c6a6b5d
✨ fix LDAP login failed (#9932)
tonycody Feb 22, 2023
f8ac9d6
[ISSUE #9860] abstract the nacos logback configurator to solve the pr…
hujun-w-2 Feb 22, 2023
2146ea3
[ISSUE #9448] use local font files (#9995)
onewe Feb 23, 2023
b2305fe
fix #9954 -- timeunit. (#10004)
YunWZ Feb 27, 2023
f1f6eb7
Fix cluster node state error (#10011)
Daydreamer-ia Mar 1, 2023
5652c2b
Optimize the `nacos-client/pom.xml` for exclude `google/**/*.proto` (…
wangliang181230 Mar 1, 2023
a242de2
[ISSUES #10029] optimize SearchableProperties building code (#10030)
onewe Mar 2, 2023
2e23843
[ISSUE #10020] Use Generic Type When Declaring `authFilterRegistratio…
ZhangShenao Mar 2, 2023
adc707c
Replace `flatten-maven-plugin` with `easyj-maven-plugin` (#9985)
wangliang181230 Mar 2, 2023
f33e4f8
编辑配置时代码支持折叠 (#10022)
caixiaomao Mar 2, 2023
1c840e4
[ISSUE #9943] Resolve issue Config cas update not work (#9952)
karsonto Mar 3, 2023
9b17624
fix:Utility classes should not have public constructors (#10019)
4yDX3906 Mar 6, 2023
06f83c5
Remove http data change (#10043)
Daydreamer-ia Mar 6, 2023
b8e3e05
syntax error (#10041)
3139487747 Mar 6, 2023
a27418e
[ISSUE #10038]load failover file. (#10048)
YunWZ Mar 9, 2023
a2312bd
[ISSUES #10014] clear confused logic about namespace properties (#10023)
onewe Mar 9, 2023
34521d5
[ISSUE #10052] ServerLoaderController Code optimization (#10058)
gaoxuliang Mar 9, 2023
d97beb4
调整startup.sh关于gc log配置问题 (#10050)
LeePui Mar 9, 2023
3fdbebb
fix #10044 -- only update existed config. (#10045)
YunWZ Mar 9, 2023
f0ed81e
[ISSUE#10062] Naming support aliyun STS auth. (#10063)
KomachiSion Mar 10, 2023
10b6e14
Develop revert#9851 #9967 (#10069)
KomachiSion Mar 10, 2023
db03ac7
Update application.properties (#10078)
mroldx Mar 13, 2023
f19cce6
Re build console ui. (#10083)
KomachiSion Mar 13, 2023
a61358e
Use async appender to print log for nacos-client. (#10085)
KomachiSion Mar 13, 2023
1aa7c18
Upgrade snakeYaml to 2.0 (#10092)
KomachiSion Mar 14, 2023
55473d6
nacos grpc connection supports TLS Encryption (#9980)
githubcheng2978 Mar 15, 2023
7d273a4
Remove identity default value. (#10108)
KomachiSion Mar 16, 2023
edde951
Upgrade to 2.2.1 (#10121)
KomachiSion Mar 17, 2023
cfba186
add unit tests for AbstractObjectUtils. (#10138)
YunWZ Mar 21, 2023
45d6630
[ISSUE #10093]add unit tests for DiskUtils. (#10094)
YunWZ Mar 21, 2023
64a527f
dead lock on sending connection reset request on server over limit #1…
shiyiyue1102 Mar 21, 2023
435a38b
ssl context reload spi (#10150)
shiyiyue1102 Mar 21, 2023
d5f2334
Add some unit test for V2Controller (#10143)
karsonto Mar 21, 2023
e95959b
fix bug, about Arrays.asList(new boolean[1]) (#10129)
varyuan Mar 21, 2023
4e60d9b
[ISSUE #10155] print connectionId when timeout in DefaultRequestFutur…
MajorHe1 Mar 24, 2023
ff3cfd0
fix: typo: 秘钥->密钥 (#10182)
dspo Mar 27, 2023
d65077b
Fix -在开启认证的情况下增加token解析认证处理方式
Mar 27, 2023
0b2dca3
Fix -在开启认证的情况下增加token解析认证处理方式
Mar 27, 2023
1b13e85
Fix fs char (#10101)
Daydreamer-ia Mar 27, 2023
641b986
[ISSUE#10153] Add auth state into /state api and add announcement api…
KomachiSion Mar 27, 2023
f0772b5
Add DaoCloud logo (#10195)
wilsonwu Mar 28, 2023
35a2c26
修改mapperProxy单例 (#10162)
985492783 Mar 28, 2023
95b5b19
[ISSUE#10208] Remove DefaultSettingPropertySource.java and add some u…
KomachiSion Mar 28, 2023
f0b6418
clean code (#10180)
varyuan Mar 29, 2023
aeae68f
Code optimization for NacosMeterRegistryCenter (#10231)
karsonto Mar 31, 2023
663e44f
[ISSUE #7698] refactor: remove httpasyncclient version dependency man…
KANLON Mar 31, 2023
ef447b2
Add unit test for api module (#10241)
KomachiSion Mar 31, 2023
d4f2907
[ISSUE #10210] init NamingGrpcClientProxy Configure appName label. (#…
yuhaowin Apr 3, 2023
3bf7b5a
[ISSUE #10206] Optimize nacos default application.properties configur…
yuyijq Apr 3, 2023
becb5d3
[fix]🐛nacos login page && notice config (#10262)
abuexclusive Apr 3, 2023
095fd45
Build console main.js. (#10264)
KomachiSion Apr 3, 2023
0b76a02
Don't stopping startup for illegal token.secret.key when auth.enabled…
KomachiSion Apr 3, 2023
263af97
Don't stopping startup for illegal token.secret.key when auth.enabled…
KomachiSion Apr 6, 2023
a0414fc
failover file path should be like `{user.home}/naming/{group}/failove…
YunWZ Apr 6, 2023
1bb9c77
Expose way to add config filter (#10236)
Daydreamer-ia Apr 6, 2023
07790ad
Merge pull request #10277 from alibaba/develop#10153
KomachiSion Apr 6, 2023
8e869a4
取消默认openssl (#10276)
shiyiyue1102 Apr 7, 2023
b8148b0
selector avalanche protection (#10184)
LLLWD Apr 10, 2023
dae55a5
Develop synced from 2.2.2 (#10307)
KomachiSion Apr 11, 2023
47bd6bd
[ISSUE #10308] Use Generic Type (#10309)
ZhangShenao Apr 13, 2023
d1015c0
Add unit test for api module (#10316)
karsonto Apr 13, 2023
a691a50
[ISSUE #10310] Update log output in RpcConfigChangeNotifier.java when…
MajorHe1 Apr 13, 2023
dc0e2a8
[ISSUE #10318]fix import bug (#10319)
985492783 Apr 14, 2023
d614713
remove ambiguous comments (#10301)
wangsj1018 Apr 14, 2023
eed756a
Re-commit #9851 #9967.
KomachiSion Mar 10, 2023
3b25b51
补充完整剩余dataSource的MapperContext改造 (#10140)
vividfish Mar 21, 2023
89a6574
Develop add unit test for api remote and remote.response (#10322)
KomachiSion Apr 14, 2023
281d24e
Merge pull request #10324 from alibaba/develop#9821
KomachiSion Apr 14, 2023
009c6ee
Add unit test for api module remote.request package. (#10330)
KomachiSion Apr 17, 2023
0d92231
Supple unit tests for api module config package. (#10338)
KomachiSion Apr 19, 2023
45e8cbf
[issue #10148]Replace sync forward request with async request (#10158)
yuyijq Apr 20, 2023
d05e0a4
Revert "[issue #10148]Replace sync forward request with async request…
KomachiSion Apr 20, 2023
9b003a0
:bug: default namespace resource matches (#10350)
xuxiaowei-com-cn Apr 21, 2023
4dfcad7
Specify the GC as the CMS when jdk version less 9. (#10343)
aloneboat Apr 21, 2023
55dd204
Delete invalid log
panxiaojun233 Apr 26, 2023
824aa2b
Merge pull request #10390 from panxiaojun233/develop
xuechaos Apr 26, 2023
ec5c9bc
Merge branch 'alibaba:develop' into develop
MentosL May 3, 2023
d22a164
Merge branch 'alibaba:develop' into develop
MentosL May 3, 2023
0c70f23
Merge remote-tracking branch 'origin/develop' into develop
MentosL May 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public Object updateUser(@RequestParam String username, @RequestParam String new
response.sendError(HttpServletResponse.SC_FORBIDDEN, "authorization failed!");
return null;
}
} catch (HttpSessionRequiredException e) {
} catch (HttpSessionRequiredException | AccessException e) {
response.sendError(HttpServletResponse.SC_UNAUTHORIZED, "session expired!");
return null;
}
Expand All @@ -167,15 +167,15 @@ public Object updateUser(@RequestParam String username, @RequestParam String new
return RestResultUtils.success("update user ok!");
}

private boolean hasPermission(String username, HttpServletRequest request) throws HttpSessionRequiredException {
private boolean hasPermission(String username, HttpServletRequest request) throws HttpSessionRequiredException,AccessException {
if (!authConfigs.isAuthEnabled()) {
return true;
}
IdentityContext identityContext = (IdentityContext) request.getSession()
.getAttribute(com.alibaba.nacos.plugin.auth.constant.Constants.Identity.IDENTITY_CONTEXT);
NacosUser user;
if (identityContext == null
|| (user = (NacosUser) identityContext.getParameter(AuthConstants.NACOS_USER_KEY)) == null) {
|| (user = (NacosUser) identityContext.getParameter(AuthConstants.NACOS_USER_KEY)) == null || (user = iAuthenticationManager.authenticate(request)) == null) {
throw new HttpSessionRequiredException("session expired!");
}
// admin
Expand Down