• Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • None

      Given:

      • REST API with enabled HTTP Basic Authentication
      • LDAP engine plugin is enalbed

      Behavior:
      Whenever a request is sent to the REST API, then the default HttpBasicAuthenticationProvider checks the given password. Therefore a request is sent to the configured LDAP to fetch the related user information. Afterwards the given password is checked.

      Problem:
      In a scenario, where multiple requests are received by the REST API, ends up with multiple requests to the configured LDAP. Even when the requests to the REST API is always from the same user.
      Due to the amount of requests in a short time this leads to the problem, that the LDAP server does not respond anymore.

      Users observed that authentication against the LDAP does just take parts of the time, but loading the authorization data takes a long time. One workaround is https://github.com/camunda-consulting/code/tree/master/snippets/authentication-filter-with-bypass

       

      Desired behavior:

      • There should be some kind of caching of the (LDAP) authentication. This could be done either in the REST API or in the LDAP engine plugin.
      • There should be a configuration option to determine how long the authentication should be cached.

        This is the controller panel for Smart Panels app

            [CAM-7993] LDAP authentication is cached

            Roman Smirnov created issue -
            Roman Smirnov made changes -
            Description Original: *Given:*
            - REST API with enabled HTTP Basic Authentication
            - LDAP engine plugin is enalbed

            *Behavior:*
            Whenever a request is sent to the REST API, then the default {{HttpBasicAuthenticationProvider}} checks the given password. Therefore a request is sent to the configured LDAP to fetch the related user information. Afterwards the given password is checked.

            *Problem:*
            In a scenario, where multiple requests are received by the REST API, ends up with multiple requests to the configured LDAP. Even when the requests to the REST API is always from the same user.
            Due to the amount of requests an short time this leads to the problem, that the LDAP server does not respond anymore.

            *Desired behavior:*
            There should some could of caching, so that the authentication are cached. This could be done either in the REST API or in the LDAP engine plugin
            New: *Given:*
            - REST API with enabled HTTP Basic Authentication
            - LDAP engine plugin is enalbed

            *Behavior:*
            Whenever a request is sent to the REST API, then the default {{HttpBasicAuthenticationProvider}} checks the given password. Therefore a request is sent to the configured LDAP to fetch the related user information. Afterwards the given password is checked.

            *Problem:*
            In a scenario, where multiple requests are received by the REST API, ends up with multiple requests to the configured LDAP. Even when the requests to the REST API is always from the same user.
            Due to the amount of requests in a short time this leads to the problem, that the LDAP server does not respond anymore.

            *Desired behavior:*
            There should some could of caching, so that the authentication are cached. This could be done either in the REST API or in the LDAP engine plugin
            Roman Smirnov made changes -
            Description Original: *Given:*
            - REST API with enabled HTTP Basic Authentication
            - LDAP engine plugin is enalbed

            *Behavior:*
            Whenever a request is sent to the REST API, then the default {{HttpBasicAuthenticationProvider}} checks the given password. Therefore a request is sent to the configured LDAP to fetch the related user information. Afterwards the given password is checked.

            *Problem:*
            In a scenario, where multiple requests are received by the REST API, ends up with multiple requests to the configured LDAP. Even when the requests to the REST API is always from the same user.
            Due to the amount of requests in a short time this leads to the problem, that the LDAP server does not respond anymore.

            *Desired behavior:*
            There should some could of caching, so that the authentication are cached. This could be done either in the REST API or in the LDAP engine plugin
            New: *Given:*
            - REST API with enabled HTTP Basic Authentication
            - LDAP engine plugin is enalbed

            *Behavior:*
            Whenever a request is sent to the REST API, then the default {{HttpBasicAuthenticationProvider}} checks the given password. Therefore a request is sent to the configured LDAP to fetch the related user information. Afterwards the given password is checked.

            *Problem:*
            In a scenario, where multiple requests are received by the REST API, ends up with multiple requests to the configured LDAP. Even when the requests to the REST API is always from the same user.
            Due to the amount of requests in a short time this leads to the problem, that the LDAP server does not respond anymore.

            *Desired behavior:*
            There should be some kind of caching of the (LDAP) authentication. This could be done either in the REST API or in the LDAP engine plugin
            Roman Smirnov made changes -
            Description Original: *Given:*
            - REST API with enabled HTTP Basic Authentication
            - LDAP engine plugin is enalbed

            *Behavior:*
            Whenever a request is sent to the REST API, then the default {{HttpBasicAuthenticationProvider}} checks the given password. Therefore a request is sent to the configured LDAP to fetch the related user information. Afterwards the given password is checked.

            *Problem:*
            In a scenario, where multiple requests are received by the REST API, ends up with multiple requests to the configured LDAP. Even when the requests to the REST API is always from the same user.
            Due to the amount of requests in a short time this leads to the problem, that the LDAP server does not respond anymore.

            *Desired behavior:*
            There should be some kind of caching of the (LDAP) authentication. This could be done either in the REST API or in the LDAP engine plugin
            New: *Given:*
            - REST API with enabled HTTP Basic Authentication
            - LDAP engine plugin is enalbed

            *Behavior:*
            Whenever a request is sent to the REST API, then the default {{HttpBasicAuthenticationProvider}} checks the given password. Therefore a request is sent to the configured LDAP to fetch the related user information. Afterwards the given password is checked.

            *Problem:*
            In a scenario, where multiple requests are received by the REST API, ends up with multiple requests to the configured LDAP. Even when the requests to the REST API is always from the same user.
            Due to the amount of requests in a short time this leads to the problem, that the LDAP server does not respond anymore.

            *Desired behavior:*
            * There should be some kind of caching of the (LDAP) authentication. This could be done either in the REST API or in the LDAP engine plugin.
            * There should be a configuration option to determine how long the authentication should be cached.
            Roman Smirnov made changes -
            Link New: This issue depends on SUPPORT-3446 [ SUPPORT-3446 ]
            Matthijs made changes -
            Link New: This issue is depended on by SUPPORT-3446 [ SUPPORT-3446 ]
            Matthijs made changes -
            Link Original: This issue depends on SUPPORT-3446 [ SUPPORT-3446 ]
            Matthijs made changes -
            Link New: This issue is related to SUPPORT-3523 [ SUPPORT-3523 ]
            Thorben Lindhauer made changes -
            Workflow Original: camunda BPM [ 43441 ] New: Backup_camunda BPM [ 56269 ]
            Garima Yadav made changes -
            Link New: This issue is related to SUPPORT-6304 [ SUPPORT-6304 ]

              Unassigned Unassigned
              roman.smirnov Roman Smirnov
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: