V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
cnit
V2EX  ›  问与答

Java 中权限注解如何控制颗粒度?

  •  
  •   cnit · 2022-12-06 13:04:12 +08:00 · 704 次点击
    这是一个创建于 478 天前的主题,其中的信息可能已经有所发展或是发生改变。
    方法 caller1 上面标记了一个权限注解 @DataScope , caller1 内部有公共方法 method1,method2 ... 等等不需要这个 @DataScope

    方法 caller2 上面标记了一个权限注解 @DataScope , caller2 内部有同一份公共方法 method1,method2 ... 需要这个 @DataScope

    这里该如何设计呢
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1257 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 23:26 · PVG 07:26 · LAX 16:26 · JFK 19:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.