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)

Reply via email to