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

项目启动提示:WARN | | io.fury.config.FuryBuilder | Class registration isn't forced, unknown classes can be deserialized. If the environment isn't secure, please enable class registration by FuryBuilder#requireClassRegistration(true) or configure ClassChecker by ClassResolver#setClassChecker #1408

Open
LiJinYu2024 opened this issue Apr 1, 2024 · 2 comments

Comments

@LiJinYu2024
Copy link

Your question

项目启动提示:WARN | | io.fury.config.FuryBuilder | Class registration isn't forced, unknown classes can be deserialized. If the environment isn't secure, please enable class registration by FuryBuilder#requireClassRegistration(true) or configure ClassChecker by ClassResolver#setClassChecker

Your scenes

更新sofarpc版本后出现的这个提示

Your advice

windows11开发环境

Environment

  • SOFARPC version: 5.12.0
  • JVM version (e.g. java -version): JDK21
  • OS version (e.g. uname -a):
  • Maven version: 3.9.6
  • IDE version: IntelliJ IDEA 2023.2.4 (Community Edition)
@pandalee99
Copy link
Contributor

新版的sofa有了新的序列化器,fury,这个是它的配置。意思是在你使用fury的时候,建议去配置黑白名单的功能,防止不安全的类被序列化/反序列化

@OrezzerO
Copy link
Contributor

From a compatibility perspective:

Whether the new version of SofaRpc defaults to using the Fury serializer. If it does, this should be prominently highlighted in the release notes (and I believe it shouldn't be the default without a change in major version).

If SofaRpc does not default to using the Fury serializer, then this warning should not be reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants