On 05/08/2014 07:55, Suresh Ajja wrote:
Hi,
Can somebody provide me date format expression to be used in the
derived attribute for propagation into target.
Syncope format mm/dd/yy
and target application date format is "yyyy-mm-dd hh:mm:ss" e.g.
"2014-08-04 23:36:23"
Hi Suresh,
providing a derived attribute schema able to perform date format
conversion would require the ability to use Java classes in JEXL
expressions; however, this feature was disabled for security reasons as
consequence of CVE-2014-0111 (more details [1]).
For your needs I would instead suggest to create a simple propagation
actions class [2] that in the before() method converts the value in the
required format.
HTH
Regards.
[1]
http://syncope.apache.org/security.html#CVE-2014-0111:_Remote_code_execution_by_an_authenticated_administrator
[2]
https://cwiki.apache.org/confluence/display/SYNCOPE/PropagationActionsClass
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/