Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.4.10, 1.5.14
-
None
-
None
Description
When looking up group memberships recursively, org.apache.jackrabbit.oak.spi.security.authentication.external.impl.DynamicSyncContext.collectPrincipalNames() will call the ExternalIdentityProvider for each declared group membership just to retrieve the principal name for the given external identity. This is potentially costly and should be avoided, for instance by adding a getter for the principal name to the interface ExternalIdentityRef. Let's discuss options here.
Attachments
Issue Links
- duplicates
-
OAK-5210 Ability to resolve principal name from ExternalIdentityRef without IDP roundtrip
- Closed