Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-267

BasicModel.hasRole will raise an exception with custom entities

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • PLINK_2.5.2.FInal
    • PLINK_2.5.1.Final
    • None
    • None

    Description

      Hi guys, maybe is just the lack of good examples on it, but on AeroGear we have an interceptor to authorize requests to our endpoints which relies on "hasRole" method https://github.com/abstractj/aerogear-aerodoc-backend/commit/a8a97fbf638d02d7fa58501705fdf0a92fc1c309

      To reproduce the issue just deploy this app, login as john/password: 123 and try to create a new lead.

      Here is the stacktrace: https://gist.github.com/abstractj/dbd026beafd94020b159

      Maybe we are doing something wrong, but couldn't find anything into the docs.

      Attachments

        Activity

          People

            anil.saldhana Anil Saldanha (Inactive)
            boliveir_managed_kafka_security (inactive user) Bruno Oliveira Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: