ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Malin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10196) Set security object on groovy context
Date Sat, 03 Feb 2018 14:20:00 GMT

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

Nicolas Malin commented on OFBIZ-10196:
---------------------------------------

Ok finally it's easy, I added this for eclipse and intellij at revision 1823028. And on the
same time, complete junit test

> 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