New posts
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# @ClientRegistrationId("stub") on the interface + OAuth2RestClientHttpServiceGroupConfigurer
|
||||
call 1: whoAmI() -> {caller=demo-user, tokenKind=oauth2}
|
||||
call 2: whoAmI() -> {caller=demo-user, tokenKind=oauth2}
|
||||
call 3: whoAmI() -> {caller=demo-user, tokenKind=oauth2}
|
||||
|
||||
# what the stub saw, in order
|
||||
POST /oauth/token
|
||||
GET /secure/bearer
|
||||
GET /secure/bearer
|
||||
GET /secure/bearer
|
||||
token requests: 1
|
||||
|
||||
# the same interface WITHOUT the group configurer: the annotation is silently ignored
|
||||
whoAmI() -> 401 UNAUTHORIZED
|
||||
Reference in New Issue
Block a user