Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.8.2
-
None
-
None
-
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