As spring-security-oauth2
obsoleted, see EOL for Spring Security OAuth, I cannot use #oauth2.hasScope([scope])
in XML config provided by OAuth2SecurityExpressionMethods.java
.
Expected to see AST parser or similar handler in either spring-security-oauth2-jose
, spring-security-oauth2-client
, spring-security-oauth2-core
to accomplish that in the following example, #oauth2 security expressions on method level.
Is there something I missed for XML config for OAuth2 scope checking?
Or I must implement it by hasAuthority('SCOPE_[scope]')
?