Dennis Balkir commented on OFBIZ-10196:

I know, this is closed, but I would propose to put the security property in the 
groovy-descriptor file too. This way eclipse knows that this exists and it 
won't look like it isn't known what security is.

For further explanation see the patch provided.


> Set security object on groovy context
> -------------------------------------
>                 Key: OFBIZ-10196
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10196
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>         Attachments: 10196.patch
> 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

Reply via email to