You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Herval Freire (JIRA)" <ji...@apache.org> on 2017/07/18 19:56:00 UTC

[jira] [Created] (ZEPPELIN-2796) LDAP fetching of roles not working?

Herval Freire created ZEPPELIN-2796:
---------------------------------------

             Summary: LDAP fetching of roles not working?
                 Key: ZEPPELIN-2796
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2796
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Herval Freire


I tried setting up LDAP support. While authentication works, I couldn't get any roles lists back. This led me down SHIRO-492 and the code on `SecurityUtils`, which uses a `getListRoles()` function that simply returns a list you can configure on shiro.ini ("rolesByGroup") - so no LDAP call is actually made.

I could get it to work by using the (currently protected) `queryForAuthorizationInfo`, so my question here is if there's any historical reason not to use that to fetch user's roles?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)