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

LDAP fetching of roles not working?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • None

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              herval Herval Freire
              herval Herval Freire
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: