Skip to content

LDAP: enable configuration of IgnorePartialResultException #102

@lukas-reinert-datascience

Description

Hi,

I've recently tried to connect shinyproxy to an active directory where some entries contain referrals to other ADs.
For some users, a "partial result exception" is thrown, failing the authentication despite providing correct credentials.
Spring Boot's LDAP implementation allows IgnorePartialResultException to be configured. Containerproxy does not as far as I can see.

I've run a local test by hardcoding
authoritiesPopulator.setIgnorePartialResultException(true);
in line 106 of https://github.com/openanalytics/containerproxy/blob/master/src/main/java/eu/openanalytics/containerproxy/auth/impl/LDAPAuthenticationBackend.java.

This works in my case and the exception is ignored.
However, having the option to configure this parameter within shinyproxy's application.yml would be a nice addition.

Best regards,
Lukas

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions