Class SecurityConfiguration
java.lang.Object
ch.tocco.nice2.scripting.impl.groovy.security.SecurityConfiguration
This class is passed to the ch.tocco.nice2.scripting.groovy.TypeCheckingExtension (via a
ThreadLocal
)
and used to configure its behaviour.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBindingType
(String name, Class clazz) abstract boolean
checkMethodAccess
(Class<?> clazz, String methodName) Is called for every method invocation of the scriptProvides the type of all binding variables so that static compilation is possible.
-
Constructor Details
-
SecurityConfiguration
-
-
Method Details
-
addBindingType
-
getBindingTypes
Provides the type of all binding variables so that static compilation is possible. -
checkMethodAccess
Is called for every method invocation of the script -
getScriptName
-