shazh520
V2EX  ›  Java

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

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

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

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