You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Johannes Schillinger (Jira)" <ji...@apache.org> on 2019/11/04 08:26:00 UTC

[jira] [Created] (ZEPPELIN-4421) Login with activeDirectoryRealm impossible - naming Error

Johannes Schillinger created ZEPPELIN-4421:
----------------------------------------------

             Summary: Login with activeDirectoryRealm impossible - naming Error
                 Key: ZEPPELIN-4421
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4421
             Project: Zeppelin
          Issue Type: Bug
          Components: GUI
    Affects Versions: 0.8.2
         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)
            Reporter: Johannes Schillinger


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:
{code:java}
data: $httpParamSerializer({
  'userName': $scope.loginParams.userName,
  'password': $scope.loginParams.password,
}),
{code}
In org/apache/shiro/web/filter/authc/FormAuthenticationFilter.class
{code:java}
public static final String DEFAULT_USERNAME_PARAM = "username";{code}
as a result the users principal is not passed down and can't be authenticated

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)