Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10196

Set security object on groovy context

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • None
    • framework
    • None

    Description

      In a groovy service to call the security object you need to do :

      Security security = dispatcher.dispatchContext.security

      For simplification, I set the security object in groovy context like dispatcher and delegator

       

      Attachments

        1. 10196.patch
          0.9 kB
          Dennis Balkir

        Activity

          People

            nmalin Nicolas Malin
            nmalin Nicolas Malin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: