Favorite is implementing its own anonymous check, potentially breaking 3rd party sec realm

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Trivial
    • Component/s: favorite-plugin
    • None
    •  2.204.vef3c36862054

      Code location: https://github.com/jenkinsci/favorite-plugin/blob/67de45c325f99da9dbb637fa304d29992ae16715/src/main/java/hudson/plugins/favorite/FavoritePlugin.java#L60-L62

      Recommendation: use Jenkins.get().getAuthentication() and then use ACL.isAnonymous2(), will take care of user with "anonymous" as their real login coming from third party security realm (it's forbidden in the embedded security realm)

            Assignee:
            Unassigned
            Reporter:
            Wadeck Follonier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: