Div | ||
---|---|---|
| ||
Groovy is an interpreted language for the JVM. Domains and DomEL use Groovy in the following ways:
...
Span style color:#000000; The "<principalExpression>" tag in an access grant in the Domain Security file uses a Groovy expression to get the current authentication object and determine its access privileges, along with the user and roles associated with the object. In this case, Groovy is used directly inside the tag. Span style color:#000000; You can use the DomEL groovy() function as part of a DomEL expression. The DomEl groovy function takes a single string argument that is interpreted as Groovy code. The output of the function is a string that is put into the SQL.
...
...