shazh520
V2EX  ›  Java

spring security oauth2 里 client 的 authorities 和 user 的 authorities 有什么区别?

  •  
  •   shazh520 · Nov 28, 2018 · 3805 views
    This topic created in 2899 days ago, the information mentioned may be changed or developed.

    如果权限表达式中写了 hasAuthority 的话只有 user 的 authorities 起作用,但是 client 的 authorities 没有验证。

    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2888 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:01 · PVG 19:01 · LAX 03:01 · JFK 06:01
    ♥ Do have faith in what you're doing.