Andrea Patricelli created SYNCOPE-1430:
------------------------------------------
Summary: Transformer from A type different from String does not
work
Key: SYNCOPE-1430
URL: https://issues.apache.org/jira/browse/SYNCOPE-1430
Project: Syncope
Issue Type: Bug
Reporter: Andrea Patricelli
# Login as admin to console
2. Define a connector and a resource (say resource-ldap on embedded mode).
3. Create a USER mapping and map, for example, a Date attribute (say loginDate)
with a string value on the resource (say street on ldap, does not matter the
meaning)
# Define a JEXL transformer for that mapping row like this
{code:java}
value.toString().contains("T") ? value.toString().split("T")[0].replaceAll("-",
"") : value {code}
Or a Java/Groovy transformer with this beforePropagation:
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)