You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2018/02/01 21:26:00 UTC

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

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

Jacques Le Roux commented on OFBIZ-10196:
-----------------------------------------

Good idea, thanks Nicolas

> 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
>
> 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)