As a java developer reading the documentation of:
it is clear to me that user groups and tenants are provided by the IdentityService.
- Confusion and unexpected behavior for users working with these APIs.
- It is not clear that groups and tenants do not have to be provided to these classes but rather will be provided by the IdentifyService further down the call chain.
- The Javadoc of AuthenticationProvider and AuthenticationResult updated.
- From reading these doc pages, it is clear that groups and tenants are resolved via IdentityService.