ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Balkir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10196) Set security object on groovy context
Date Fri, 02 Feb 2018 15:47:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350540#comment-16350540
] 

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.

Thanks!

> 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
(v7.6.3#76005)

Mime
View raw message