manipulation of variables

Cantor, Scott cantor.2 at osu.edu
Thu Jul 16 21:31:51 EDT 2015


> Inside this LDAP connector, can I introduce a local scoped variable based on
> some condition  and then have uid=${myvarialbe} instead

If you're creative enough you might be able to put some Velocity expressions inside the string to assign something and then use it somehow.

A less brittle approach would just be to define an attribute with a Script and then plug that in as a dependency.

> Can you refer me to some example code where it shows how to define
> these variables and do bit of if then else logic and manipulation?  basically I
> want to change this to uid=${MY_LOCAL_VARIABLE}

Velocity's documentation is at http://velocity.apache.org

-- Scott



More information about the users mailing list