Improved: complete previous commit to add security in groovy context (OFBIZ-10196)
add security on groovy junit test add security on eclipse and intellij groovy dsl definition Thanks to Dennis Balkir for the suggest git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1823028 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -22,6 +22,7 @@ contribute(currentType(subType('groovy.lang.Script'))) {
|
||||
property name: 'context', type: 'java.util.Map'
|
||||
property name: 'delegator', type: 'org.apache.ofbiz.entity.Delegator'
|
||||
property name: 'dispatcher', type: 'org.apache.ofbiz.service.LocalDispatcher'
|
||||
property name: 'security', type: 'org.apache.ofbiz.security.Security'
|
||||
|
||||
method name: 'runService', type: 'java.util.Map', params: [serviceName: 'String', inputMap: 'java.util.Map']
|
||||
method name: 'makeValue', type: 'java.util.Map', params: [entityName: 'String']
|
||||
|
||||
@@ -26,6 +26,7 @@ contributor(groovyContext) {
|
||||
property name: 'context', type: 'java.util.Map'
|
||||
property name: 'delegator', type: 'org.apache.ofbiz.entity.Delegator'
|
||||
property name: 'dispatcher', type: 'org.apache.ofbiz.service.LocalDispatcher'
|
||||
property name: 'security', type: 'org.apache.ofbiz.security.Security'
|
||||
|
||||
method name: 'runService', type: 'java.util.Map', params: [serviceName: 'String', inputMap: 'java.util.Map']
|
||||
method name: 'run', type: 'java.util.Map', params: [args: 'java.util.Map']
|
||||
|
||||
Reference in New Issue
Block a user