[jira] [Created] (OFBIZ-10196) Set security object on groovy context

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-10196) Set security object on groovy context

Nicolas Malin (Jira)
Nicolas Malin created OFBIZ-10196:
-------------------------------------

             Summary: Set security object on groovy context
                 Key: OFBIZ-10196
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10196
             Project: OFBiz
          Issue Type: New Feature
          Components: framework
    Affects Versions: Trunk
            Reporter: Nicolas Malin
            Assignee: Nicolas Malin


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

{code}Security security = dispatcher.dispatchContext.security\{code}

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

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)