angela resolved OAK-5209.
    Resolution: Duplicate

Resolving as duplicate of OAK-5210, which IMO has a more meaningful description 
and also provides some additional background information.

> Save roundtrips to external identity servers
> --------------------------------------------
>                 Key: OAK-5209
>                 URL: https://issues.apache.org/jira/browse/OAK-5209
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: auth-external
>    Affects Versions: 1.4.10, 1.5.14
>            Reporter: Manfred Baedke
> 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.

This message was sent by Atlassian JIRA

Reply via email to