<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
actually, the <clearValue> without t: prefix also works (in
3.1-SNAPSHOT, perhaps not in 3.0).<br>
<br>
My configuration that works is:<br>
<br>
<server><br>
<host>smtp.gmail.com</host><br>
<port>587</port><br>
<username>pavol.mederly</username><br>
<password><br>
<clearValue>....................</clearValue><br>
</password><br>
<transportSecurity>starttlsEnabled</transportSecurity><br>
</server><br>
<defaultFrom><a class="moz-txt-link-abbreviated" href="mailto:pavol.mederly@gmail.com">pavol.mederly@gmail.com</a></defaultFrom><br>
<br>
Best regards,<br>
Pavol<br>
<br>
</div>
<blockquote cite="mid:53FEE0DA.1040807@evolveum.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Hi Shelly,<br>
<br>
as Chris recommends, please remove the duplicate
<notificationConfiguration> start and end tags.<br>
<br>
To avoid problems with the clearValue element, please specify the
password in the following way:<br>
<br>
<password><br>
<t:clearValue
xmlns:t='<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://prism.evolveum.com/xml/ns/public/types-3">http://prism.evolveum.com/xml/ns/public/types-3</a>'>thisismypassword</t:clearValue><br>
</password><br>
<br>
There is some magic in midPoint how to detect and prepend correct
namespaces, but this is my working configuration.<br>
<br>
Regards,<br>
Ivan<br>
<br>
<div class="moz-cite-prefix">On 08/28/2014 08:16 AM, Shelly
Piplani wrote:<br>
</div>
<blockquote cite="mid:1409206576526.21708@ilantus.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
<div>Hi,</div>
<div><br>
</div>
<div><br>
</div>
<div>I am using Midpoint3.0</div>
<div>I am trying to configure email notification for account
creation. Following is the code which I am adding in my system
configuration</div>
<div><br>
</div>
<div><notificationConfiguration></div>
<div><mail></div>
<div> <server></div>
<div> <host>smtp.gmail.com</host></div>
<div> <port>25</port>
</div>
<div> <username><a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:test@gmail.com">test@gmail.com</a></username></div>
<div> <password></div>
<div> <clearValue>ila123</clearValue></div>
<div> </password></div>
<div>
<transportSecurity>none</transportSecurity> </div>
<div> </server>
</div>
<div> <defaultFrom><a moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="mailto:abc@gmail.com">abc@gmail.com</a></defaultFrom></div>
<div> <debug>true</debug>
</div>
<div></mail></div>
<div><br>
</div>
<div><simpleAccountNotifier></div>
<div> <statusFilter></div>
<div> <status>success</status> </div>
<div> </statusFilter></div>
<div> <transport>mail</transport></div>
<div> </simpleAccountNotifier></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></notificationConfiguration></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>However
I am getting following error:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span><strong>No
field notificationConfiguration in class class
com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationConfigurationType
(and no suitable substitution too)</strong></div>
<div><strong>Save object (Gui)</strong></div>
<div><strong>Cause: No field notificationConfiguration in class
class
com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationConfigurationType
(and no suitable substitution too)..</strong></div>
<div><br>
</div>
<div>Attached is the xml for System configuration<br>
</div>
<div><br>
</div>
<div>Please suggest.<br>
</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>Shelly<br>
</div>
<div> </div>
<div><br>
<br>
</div>
<p><br>
</p>
This message contains information that may be privileged or
confidential and is the property of ILANTUS Technologies. It is
intended only for the person to whom it is addressed. If you are
not the intended recipient, you are not authorized to read,
print, retain, copy, disseminate, distribute, or use this
message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all
copies of this message. <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ing. Ivan Noris
Senior Identity Management Engineer
evolveum.com
___________________________________________
"Idem per idem - semper idem Vix."
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>