<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jason,<br>
<br>
try to escape each & by <b>&</b> that should do the
trick. I.e. && becomes && I see the
& in Pavol's email, maybe it got converted in email clients
somewhere between...<br>
<br>
Regards,<br>
Ivan<br>
<br>
<div class="moz-cite-prefix">On 10/29/2014 02:48 PM, Jason Everling
wrote:<br>
</div>
<blockquote
cite="mid:CAFkZXY5=M=eJGfwEMbEFtaH5Pe_VHu2RaggyLrT6YmcQeOuzHw@mail.gmail.com"
type="cite">
<div dir="ltr">Thanks for the follow up, the organization
attribute would be fine for us to use. I had tried this out but
I cannot get it to save, I get an error when saving
<div><br>
</div>
<div><code>Caused by: org.xml.sax.SAXParseException; lineNumber:
82; columnNumber: 46; The entity name must immediately
follow the '&' in the entity reference.</code><br>
</div>
<div><code><br>
</code></div>
<div><br>
</div>
<div>Code:</div>
<div><br>
</div>
<div>
<div><notificationConfiguration></div>
<div> <handler> <!-- branch for
department 'A' --></div>
<div><span class="" style="white-space:pre"> </span><expressionFilter></div>
<div><span class="" style="white-space:pre"> </span><script></div>
<div> <code>event.isUserRelated()
&& </div>
<div><span class="" style="white-space:pre"> </span>requestee.getOrganization().size()
== 1 && </div>
<div><span class="" style="white-space:pre"> </span>requestee.getOrganization().get(0).getOrig()
== 'GenEd'</code></div>
<div><span class="" style="white-space:pre"> </span></script></div>
<div><span class="" style="white-space:pre"> </span></expressionFilter></div>
<div><span class="" style="white-space:pre"> </span><accountPasswordNotifier></div>
<div><span class="" style="white-space:pre"> </span><name>New
Account Notification</name></div>
<div><span class="" style="white-space:pre"> </span><operation>add</operation></div>
<div><span class="" style="white-space:pre"> </span><status>success</status></div>
<div><span class="" style="white-space:pre"> </span><recipientExpression></div>
<div><span class="" style="white-space:pre"> </span><script></div>
<div><span class="" style="white-space:pre"> </span><code>basic.getExtensionPropertyValue(requestee,
'<a moz-do-not-send="true" href="http://whatever.com/my">http://whatever.com/my</a>',
'otherMailbox')</code></div>
<div><span class="" style="white-space:pre"> </span></script></div>
<div><span class="" style="white-space:pre"> </span></recipientExpression></div>
<div><span class="" style="white-space:pre"> </span><subjectExpression></div>
<div><span class="" style="white-space:pre"> </span><script></div>
<div><span class="" style="white-space:pre"> </span><code>"Welcome
to the General Education Program"</code></div>
<div><span class="" style="white-space:pre"> </span></script></div>
<div><span class="" style="white-space:pre"> </span></subjectExpression></div>
<div><span class="" style="white-space:pre"> </span><bodyExpression></div>
<div><span class="" style="white-space:pre"> </span><script></div>
<div><span class="" style="white-space:pre"> </span><code>"[IDM]
Your username is: " +
requestee?.getName()?.getOrig()</code></div>
<div><span class="" style="white-space:pre"> </span></script></div>
<div><span class="" style="white-space:pre"> </span></bodyExpression></div>
<div><span class="" style="white-space:pre"> </span><transport>mail</transport></div>
<div><span class="" style="white-space:pre"> </span></accountPasswordNotifier></div>
<div><span class="" style="white-space:pre"> </span></handler></div>
<div><span class="" style="white-space:pre"> </span><handler>
<!-- branch for department 'B' --></div>
<div><span class="" style="white-space:pre"> </span><expressionFilter></div>
<div><span class="" style="white-space:pre"> </span><script></div>
<div> <code>event.isUserRelated()
&& </div>
<div><span class="" style="white-space:pre"> </span>requestee.getOrganization().size()
== 1 && </div>
<div><span class="" style="white-space:pre"> </span>requestee.getOrganization().get(0).getOrig()
== 'Info'</code></div>
<div><span class="" style="white-space:pre"> </span></script></div>
<div><span class="" style="white-space:pre"> </span></expressionFilter></div>
<div><span class="" style="white-space:pre"> </span><accountPasswordNotifier></div>
<div><span class="" style="white-space:pre"> </span><name>New
Account Notification</name></div>
<div><span class="" style="white-space:pre"> </span><operation>add</operation></div>
<div><span class="" style="white-space:pre"> </span><status>success</status></div>
<div><span class="" style="white-space:pre"> </span><recipientExpression></div>
<div><span class="" style="white-space:pre"> </span><script></div>
<div><span class="" style="white-space:pre"> </span><code>basic.getExtensionPropertyValue(requestee,
'<a moz-do-not-send="true" href="http://whatever.com/my">http://whatever.com/my</a>',
'otherMailbox')</code></div>
<div><span class="" style="white-space:pre"> </span></script></div>
<div><span class="" style="white-space:pre"> </span></recipientExpression></div>
<div><span class="" style="white-space:pre"> </span><subjectExpression></div>
<div><span class="" style="white-space:pre"> </span><script></div>
<div><span class="" style="white-space:pre"> </span><code>"Welcome
to the Information Systems Program"</code></div>
<div><span class="" style="white-space:pre"> </span></script></div>
<div><span class="" style="white-space:pre"> </span></subjectExpression></div>
<div><span class="" style="white-space:pre"> </span><bodyExpression></div>
<div><span class="" style="white-space:pre"> </span><script></div>
<div><span class="" style="white-space:pre"> </span><code>"[IDM]
Your username is: " +
requestee?.getName()?.getOrig()</code></div>
<div><span class="" style="white-space:pre"> </span></script></div>
<div><span class="" style="white-space:pre"> </span></bodyExpression></div>
<div><span class="" style="white-space:pre"> </span><transport>mail</transport></div>
<div><span class="" style="white-space:pre"> </span></accountPasswordNotifier></div>
<div><span class="" style="white-space:pre"> </span></handler></div>
<div><span class="" style="white-space:pre"> </span><!--
Universal For All</div>
<div><span class="" style="white-space:pre"> </span></div>
<div><span class="" style="white-space:pre"> </span><handler></div>
<div><span class="" style="white-space:pre"> </span><simpleUserNotifier></div>
<div> ... configuration common to all cases ...</div>
<div><span class="" style="white-space:pre"> </span></simpleUserNotifier></div>
<div><span class="" style="white-space:pre"> </span></handler></div>
<div><span class="" style="white-space:pre"> </span>--></div>
<div><span class="" style="white-space:pre"> </span> </div>
<div> <mail></div>
<div>
<redirectToFile>/var/log/tomcat7/mail-notifications.log</redirectToFile></div>
<div> </mail></div>
<div><span class="" style="white-space:pre"> </span></div>
<div></notificationConfiguration></div>
</div>
<div><br>
</div>
</div>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ing. Ivan Noris
Senior Identity Management Engineer
evolveum.com
___________________________________________
"Idem per idem - semper idem Vix."
</pre>
</body>
</html>