Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4421

Login with activeDirectoryRealm impossible - naming Error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8.2
    • Fix Version/s: None
    • Component/s: GUI
    • Labels:
      None
    • Environment:

      RHEL 7.7

      java version "1.8.0_77"
      Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
      Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

      Description

      It is currently not possible to Login a User when the org.apache.zeppelin.realm.ActiveDirectoryGroupRealm is configured.

      The Problem occurs due to a naming mismatch:

      In zeppelin-web/src/components/login/login.controller.js:

      data: $httpParamSerializer({
        'userName': $scope.loginParams.userName,
        'password': $scope.loginParams.password,
      }),
      

      In org/apache/shiro/web/filter/authc/FormAuthenticationFilter.class

      public static final String DEFAULT_USERNAME_PARAM = "username";

      as a result the users principal is not passed down and can't be authenticated

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chillinger Johannes Schillinger
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: