<div dir="ltr"><div>Hi Gustav,</div><div>Thank you, it works!</div><div>I set the global policy to the Mail Reset, that made the link appear.</div><div><br></div><div>I do have a couple of remaining questions.</div><div><br></div>1. While we get our email relay set up I am temporarily using gmail. I get this error in the logs when trying to use gmail:<div> The ssl 2017-03-09 15:53:04,632 [] [http-nio-8080-exec-10] ERROR (com.evolveum.midpoint.notifications.impl.api.transports.MailTransport): Couldn't send mail message to [<a href="mailto:peter.healy@odhsolutions.com">peter.healy@odhsolutions.com</a>] via <a href="http://smtp.gmail.com">smtp.gmail.com</a>, trying another mail server, if there is any, reason: Could not convert socket to TLS (class javax.mail.MessagingException)<div><br></div><div>Which I believe is related to the gmail certificate not being in the trust store. </div><div>So I used "openssl s_client -starttls smtp -connect <a href="http://smtp.gmail.com:587">smtp.gmail.com:587</a>"</div><div>to get the PEM certificate and then imported with</div><div>"keytool -keystore /var/opt/midpoint/keystore.jceks -storetype jceks -storepass [$PASSWORD] -import -alias <a href="http://smtp.gmail.com">smtp.gmail.com</a> -trustcacerts -file gmail.cert"</div><div><br></div><div>But it still doesn't work with the gmail relay, same error:</div><div><div>2017-03-09 18:45:38,945 [] [http-nio-8080-exec-7] ERROR (com.evolveum.midpoint.notifications.impl.api.transports.MailTransport): Couldn't send mail message to [<a href="mailto:peter.healy@odhsolutions.com">peter.healy@odhsolutions.com</a>] via <a href="http://smtp.gmail.com">smtp.gmail.com</a>, trying another mail server, if there is any, reason: Could not convert socket to TLS (class javax.mail.MessagingException)</div></div><div><br></div><div>Do you have any advice on managing the trust store or what could be going on here? </div><div><br></div><div>In the meantime I setup a temporary Debian based exim4 relay that Midpoint connects to on port 25 with no authentication. This is working right now. </div><div><br></div><div>2. When an email can't be sent from the forgot password page I see:</div><div><div> [Warning: Property for 'PageForgotPassword.send.nonce.failed' not found]</div><div><br></div><div>Is this because I have not defined an error page for when the reset password email can't be sent? </div><div>Where can I set this property and what kind of format is it? (HTML, XHTML, etc.)</div><div><br></div><div>Thank you again!</div><div>-Peter</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 8, 2017 at 1:59 AM, <span dir="ltr"><<a href="mailto:midpoint-request@lists.evolveum.com" target="_blank">midpoint-request@lists.evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send midPoint mailing list submissions to<br>
<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.<wbr>evolveum.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:midpoint-owner@lists.evolveum.com">midpoint-owner@lists.evolveum.<wbr>com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of midPoint digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Password Reset Email Notifier Configuration (Pálos Gustáv)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 8 Mar 2017 07:58:30 +0100<br>
From: Pálos Gustáv <<a href="mailto:gustav.palos@evolveum.com">gustav.palos@evolveum.com</a>><br>
To: midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
Subject: Re: [midPoint] Password Reset Email Notifier Configuration<br>
Message-ID:<br>
<CAPXQVkc+FsidMQEgeeh-V=1t=<a href="mailto:2i8LJ4vLuZ8cY8W0euJoYqVPQ@mail.gmail.com">2i8<wbr>LJ4vLuZ8cY8W0euJoYqVPQ@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
and do you also set Global security policy to "Mail Reset Security Policy"<br>
in Configuration-->System--><wbr>Basic?<br>
(or assigned to org where do you need this or another mechanism to enable<br>
it?)<br>
<br>
Best regards,<br>
<br>
Gustav<br>
<br>
2017-03-08 0:23 GMT+01:00 Peter Healy <<a href="mailto:phealy3330@gmail.com">phealy3330@gmail.com</a>>:<br>
<br>
> Yes, I followed that document, excluding the custom form at the end.<br>
><br>
> First I created a new ValuePolicy object named "Mail Nonce Policy", then I<br>
> created a new SecurityPolicy object named "Mail Reset Security Policy"<br>
> based on the wiki example (titled "Reset password by mail configuration")<br>
> and used to OID of the Mail Nonce Policy I created where needed.<br>
><br>
> Then I copied the "Example for notification configuration" changing the<br>
> URL to the hostname of my install and as you suggested copied that into a<br>
> <handler> block underneath <notificationConfiguration> into the System<br>
> Configuration object.<br>
><br>
><br>
><br>
> On Tue, Mar 7, 2017 at 3:13 PM, <<a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.<wbr>evolveum.com</a>><br>
> wrote:<br>
><br>
>> Send midPoint mailing list submissions to<br>
>> <a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
>><br>
>> To subscribe or unsubscribe via the World Wide Web, visit<br>
>> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> or, via email, send a message with subject or body 'help' to<br>
>> <a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.<wbr>evolveum.com</a><br>
>><br>
>> You can reach the person managing the list at<br>
>> <a href="mailto:midpoint-owner@lists.evolveum.com">midpoint-owner@lists.evolveum.<wbr>com</a><br>
>><br>
>> When replying, please edit your Subject line so it is more specific<br>
>> than "Re: Contents of midPoint digest..."<br>
>><br>
>><br>
>> Today's Topics:<br>
>><br>
>> 1. Re: Password Reset Email Notifier Configuration (Pálos Gustáv)<br>
>><br>
>><br>
>> ------------------------------<wbr>------------------------------<wbr>----------<br>
>><br>
>> Message: 1<br>
>> Date: Tue, 7 Mar 2017 21:13:24 +0100<br>
>> From: Pálos Gustáv <<a href="mailto:gustav.palos@gmail.com">gustav.palos@gmail.com</a>><br>
>> To: midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
>> Subject: Re: [midPoint] Password Reset Email Notifier Configuration<br>
>> Message-ID:<br>
>> <<a href="mailto:CAPXQVkc5mbrY05xtV3SKLJ8DH_sOLtoKDYVuY06iain86PoXgg@mail.gm">CAPXQVkc5mbrY05xtV3SKLJ8DH_<wbr>sOLtoKDYVuY06iain86PoXgg@mail.<wbr>gm</a><br>
>> <a href="http://ail.com" rel="noreferrer" target="_blank">ail.com</a>><br>
>> Content-Type: text/plain; charset="utf-8"<br>
>><br>
>><br>
>> Hi,<br>
>><br>
>> are you done with this?<br>
>> <a href="https://wiki.evolveum.com/display/midPoint/Reset+Password+" rel="noreferrer" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/Reset+<wbr>Password+</a><br>
>> Configuration#<wbr>ResetPasswordConfiguration-<wbr>EnablingResetPassword<br>
>> To enable reset password feature, it is needed to configure it in security<br>
>> policy referenced from system configuration.<br>
>><br>
>> best regards,<br>
>><br>
>> Gustav<br>
>><br>
>> 2017-03-07 19:06 GMT+01:00 Peter Healy <<a href="mailto:phealy3330@gmail.com">phealy3330@gmail.com</a>>:<br>
>><br>
>> > Hi Gustav, I don't see the forgot password link on the login page at<br>
>> > "midpoint/login?0"<br>
>> > Where should I check to make this link active? Is there another step I<br>
>> > have to take?<br>
>> ><br>
>> > Thanks,<br>
>> > Peter<br>
>> ><br>
>> > On Mon, Mar 6, 2017 at 11:27 PM, <<a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.<wbr>evolveum.com</a>><br>
>> > wrote:<br>
>> ><br>
>> >> Send midPoint mailing list submissions to<br>
>> >> <a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
>> >><br>
>> >> To subscribe or unsubscribe via the World Wide Web, visit<br>
>> >> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >> or, via email, send a message with subject or body 'help' to<br>
>> >> <a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.<wbr>evolveum.com</a><br>
>> >><br>
>> >> You can reach the person managing the list at<br>
>> >> <a href="mailto:midpoint-owner@lists.evolveum.com">midpoint-owner@lists.evolveum.<wbr>com</a><br>
>> >><br>
>> >> When replying, please edit your Subject line so it is more specific<br>
>> >> than "Re: Contents of midPoint digest..."<br>
>> >><br>
>> >><br>
>> >> Today's Topics:<br>
>> >><br>
>> >> 1. Re: Password Reset Email Notifier Configuration (Pálos Gustáv)<br>
>> >><br>
>> >><br>
>> >> ------------------------------<wbr>------------------------------<wbr>----------<br>
>> >><br>
>> >> Message: 1<br>
>> >> Date: Tue, 7 Mar 2017 05:26:43 +0100<br>
>> >> From: Pálos Gustáv <<a href="mailto:gustav.palos@evolveum.com">gustav.palos@evolveum.com</a>><br>
>> >> To: midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
>> >> Subject: Re: [midPoint] Password Reset Email Notifier Configuration<br>
>> >> Message-ID:<br>
>> >> <CAPXQVkfi2=<a href="mailto:rVEu4VtKZJFaJMAJ4psGzyrpruz3vfJ2-EKeYAKw@mail.gm">rVEu4VtKZJFaJMAJ4p<wbr>sGzyrpruz3vfJ2-EKeYAKw@mail.gm</a><br>
>> >> <a href="http://ail.com" rel="noreferrer" target="_blank">ail.com</a>><br>
>> >> Content-Type: text/plain; charset="utf-8"<br>
>> >><br>
>> >> Hi Peter,<br>
>> >><br>
>> >> on login page you can now see "Forgot Password" link.<br>
>> >><br>
>> >> Best regards,<br>
>> >><br>
>> >> Gustav<br>
>> >><br>
>> >> 2017-03-06 23:55 GMT+01:00 Peter Healy <<a href="mailto:phealy3330@gmail.com">phealy3330@gmail.com</a>>:<br>
>> >><br>
>> >> > Thanks Gustav, I put the notifier in as you described and it appears<br>
>> to<br>
>> >> > have saved OK.<br>
>> >> > Now that the notifier is there how can I allow users to actually<br>
>> reset<br>
>> >> > passwords via email? Is there a URL I can give them to visit?<br>
>> >> ><br>
>> >> > Thanks again,<br>
>> >> > Peter<br>
>> >> ><br>
>> >> > On Mon, Mar 6, 2017 at 4:35 PM, <<a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.<wbr>evolveum.com</a><br>
>> ><br>
>> >> > wrote:<br>
>> >> ><br>
>> >> >> Send midPoint mailing list submissions to<br>
>> >> >> <a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
>> >> >><br>
>> >> >> To subscribe or unsubscribe via the World Wide Web, visit<br>
>> >> >> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >> >> or, via email, send a message with subject or body 'help' to<br>
>> >> >> <a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.<wbr>evolveum.com</a><br>
>> >> >><br>
>> >> >> You can reach the person managing the list at<br>
>> >> >> <a href="mailto:midpoint-owner@lists.evolveum.com">midpoint-owner@lists.evolveum.<wbr>com</a><br>
>> >> >><br>
>> >> >> When replying, please edit your Subject line so it is more specific<br>
>> >> >> than "Re: Contents of midPoint digest..."<br>
>> >> >><br>
>> >> >><br>
>> >> >> Today's Topics:<br>
>> >> >><br>
>> >> >> 1. Re: Password Reset Email Notifier Configuration (Pálos Gustáv)<br>
>> >> >><br>
>> >> >><br>
>> >> >> ------------------------------<wbr>------------------------------<br>
>> ----------<br>
>> >> >><br>
>> >> >> Message: 1<br>
>> >> >> Date: Mon, 6 Mar 2017 22:35:10 +0100<br>
>> >> >> From: Pálos Gustáv <<a href="mailto:gustav.palos@evolveum.com">gustav.palos@evolveum.com</a>><br>
>> >> >> To: midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
>> >> >> Subject: Re: [midPoint] Password Reset Email Notifier Configuration<br>
>> >> >> Message-ID:<br>
>> >> >> <CAPXQVkeypuuT6rbU-<wbr>G7X57GWGXJAD+viqN7AC9F-<wbr>SkqV0hoLXA@mail.<br>
>> >> >> <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>><br>
>> >> >> Content-Type: text/plain; charset="utf-8"<br>
>> >> >><br>
>> >> >><br>
>> >> >> you need not to import, but edit configuration --> repository<br>
>> objects<br>
>> >> --><br>
>> >> >> system configuration --><br>
>> >> >> find section <notificationConfiguration> and put here:<br>
>> >> >> <handler><br>
>> >> >> <simpleUserNotifier><br>
>> >> >> .....<br>
>> >> >> </simpleUserNotifier><br>
>> >> >> </handler><br>
>> >> >><br>
>> >> >> and please also read & use this:<br>
>> >> >> <a href="https://wiki.evolveum.com/display/midPoint/Configuring+notif" rel="noreferrer" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/Configuring+<wbr>notif</a><br>
>> ications<br>
>> >> >><br>
>> >> >> You can start with redirecting e-mail to file over redirectToFile<br>
>> >> >><br>
>> >> >> best regards,<br>
>> >> >><br>
>> >> >> Gustav<br>
>> >> >><br>
>> >> >> 2017-03-06 22:29 GMT+01:00 Peter Healy <<a href="mailto:phealy3330@gmail.com">phealy3330@gmail.com</a>>:<br>
>> >> >><br>
>> >> >> > Hi Gustav,<br>
>> >> >> > I have<br>
>> >> >> > Version 3.5<br>
>> >> >> > Git describe git-v3.5<br>
>> >> >> > Build at Wed, 21 Dec 2016 14:01:34 +0000<br>
>> >> >> ><br>
>> >> >> > I copied and pasted verbatim from the wiki page into the embedded<br>
>> >> editor<br>
>> >> >> > or the Import Object GUI page, I don't get any output from idm.log<br>
>> >> but<br>
>> >> >> I do<br>
>> >> >> > get this in catalina.out:<br>
>> >> >> > ==> catalina.out <==<br>
>> >> >> > java.lang.ClassCastException<br>
>> >> >> ><br>
>> >> >> > And the error in the GUI has changed to "Object validation failed<br>
>> (no<br>
>> >> >> > reason given)"<br>
>> >> >> ><br>
>> >> >> > On Mon, Mar 6, 2017 at 3:31 PM, <midpoint-request@lists.evolve<br>
>> <a href="http://um.com" rel="noreferrer" target="_blank">um.com</a><br>
>> >> ><br>
>> >> >> > wrote:<br>
>> >> >> ><br>
>> >> >> >> Send midPoint mailing list submissions to<br>
>> >> >> >> <a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
>> >> >> >><br>
>> >> >> >> To subscribe or unsubscribe via the World Wide Web, visit<br>
>> >> >> >> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >> >> >> or, via email, send a message with subject or body 'help' to<br>
>> >> >> >> <a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.<wbr>evolveum.com</a><br>
>> >> >> >><br>
>> >> >> >> You can reach the person managing the list at<br>
>> >> >> >> <a href="mailto:midpoint-owner@lists.evolveum.com">midpoint-owner@lists.evolveum.<wbr>com</a><br>
>> >> >> >><br>
>> >> >> >> When replying, please edit your Subject line so it is more<br>
>> specific<br>
>> >> >> >> than "Re: Contents of midPoint digest..."<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> Today's Topics:<br>
>> >> >> >><br>
>> >> >> >> 1. JMS based workflow configuration (Prabhakara Rao<br>
>> Doddapaneni)<br>
>> >> >> >> 2. Password Reset Email Notifier Configuration (Peter Healy)<br>
>> >> >> >> 3. Re: Password Reset Email Notifier Configuration (Pálos<br>
>> Gustáv)<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> ------------------------------<wbr>------------------------------<br>
>> >> ----------<br>
>> >> >> >><br>
>> >> >> >> Message: 1<br>
>> >> >> >> Date: Mon, 6 Mar 2017 19:30:26 +0000 (UTC)<br>
>> >> >> >> From: Prabhakara Rao Doddapaneni <<a href="mailto:dp_rao@yahoo.com">dp_rao@yahoo.com</a>><br>
>> >> >> >> To: "<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>" <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
>> >> >> >> Subject: [midPoint] JMS based workflow configuration<br>
>> >> >> >> Message-ID: <<a href="mailto:1001644321.2237664.1488828626312@mail.yahoo.com">1001644321.2237664.<wbr>1488828626312@mail.yahoo.com</a>><br>
>> >> >> >> Content-Type: text/plain; charset="utf-8"<br>
>> >> >> >><br>
>> >> >> >> One of my resources cannot be configured to respond to sync<br>
>> poll. I<br>
>> >> >> plan<br>
>> >> >> >> to send a message in JMS Q so that midpoint can listen to that<br>
>> >> message<br>
>> >> >> and<br>
>> >> >> >> reconcile/add the user into repository. What is the ideal<br>
>> solution<br>
>> >> to<br>
>> >> >> >> achieve this? has anybody come across this situation?<br>
>> >> >> >> Thanks,Prabhakar.<br>
>> >> >> >> -------------- next part --------------<br>
>> >> >> >> An HTML attachment was scrubbed...<br>
>> >> >> >> URL: <<a href="http://lists.evolveum.com/pipermail/midpoint/attachments/" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/</a><br>
>> >> >> >> 20170306/a715dd11/attachment-<wbr>0001.html><br>
>> >> >> >><br>
>> >> >> >> ------------------------------<br>
>> >> >> >><br>
>> >> >> >> Message: 2<br>
>> >> >> >> Date: Mon, 6 Mar 2017 15:24:27 -0500<br>
>> >> >> >> From: Peter Healy <<a href="mailto:phealy3330@gmail.com">phealy3330@gmail.com</a>><br>
>> >> >> >> To: <a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
>> >> >> >> Subject: [midPoint] Password Reset Email Notifier Configuration<br>
>> >> >> >> Message-ID:<br>
>> >> >> >> <CADnbc=wtq+Suhc6LUG-r04OppN4<br>
>> AQshDzgk5wGNf7MScsvzbTQ@mail.<br>
>> >> >> >> <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>><br>
>> >> >> >> Content-Type: text/plain; charset="utf-8"<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> I am trying to implement:<br>
>> >> >> >> <a href="https://wiki.evolveum.com/display/midPoint/Reset+Password+" rel="noreferrer" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/Reset+<wbr>Password+</a><br>
>> >> >> Configuration<br>
>> >> >> >><br>
>> >> >> >> But I get an error importing the Simple User Notifier XML object<br>
>> >> that<br>
>> >> >> is<br>
>> >> >> >> in<br>
>> >> >> >> the wiki page:<br>
>> >> >> >><br>
>> >> >> >> com.evolveum.midpoint.prism.<wbr>PrismProperty cannot be cast to<br>
>> >> >> >> com.evolveum.midpoint.prism.<wbr>PrismObject<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> I created and successfully imported this Mail Nonce Policy:<br>
>> >> >> >> <valuePolicy xmlns="<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/common/common-3</a>"<br>
>> >> >> >> xmlns:q="<a href="http://prism.evolveum" rel="noreferrer" target="_blank">http://prism.evolveum</a><br>
>> >> .com/xml/ns/public/query-3"<br>
>> >> >> >> xmlns:c="<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/common/common-3</a>"<br>
>> >> >> >> xmlns:t="<a href="http://prism.evolveum" rel="noreferrer" target="_blank">http://prism.evolveum</a><br>
>> >> .com/xml/ns/public/types-3"<br>
>> >> >> >> xmlns:icfs="<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/r" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/connector/icf-1/<wbr>r</a><br>
>> >> >> >> esource-schema-3<br>
>> >> >> >> "<br>
>> >> >> >> xmlns:ri="<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/resource/<wbr>instance-3</a>"<br>
>> >> >> >> oid="c0c8a80d-1818-42d1-b3ad-<wbr>e7f8993593a0"<br>
>> >> >> >> version="0"><br>
>> >> >> >> <name>Mail Nonce Policy</name><br>
>> >> >> >> <description>Mail Nonce Policy</description><br>
>> >> >> >> <metadata><br>
>> >> >> >> <createTimestamp>2017-03-06T1<br>
>> 9:56:44.233Z</createTimestamp><br>
>> >> >> >> <creatorRef oid="00000000-0000-0000-0000-<wbr>000000000002"<br>
>> >> >> >> type="c:UserType"><!-- administrator --></creatorRef><br>
>> >> >> >> <createChannel><br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/model/channels-3#" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/model/channels-<wbr>3#</a><br>
>> >> >> objectImport<br>
>> >> >> >> </createChannel><br>
>> >> >> >> </metadata><br>
>> >> >> >> <lifetime><br>
>> >> >> >> <expiration>999</expiration><br>
>> >> >> >> <warnBeforeExpiration>9</<wbr>warnBeforeExpiration><br>
>> >> >> >> <lockAfterExpiration>0</<wbr>lockAfterExpiration><br>
>> >> >> >> <minPasswordAge>0</<wbr>minPasswordAge><br>
>> >> >> >> <passwordHistoryLength>0</<wbr>passwordHistoryLength><br>
>> >> >> >> </lifetime><br>
>> >> >> >> <stringPolicy><br>
>> >> >> >> <description>Testing string policy</description><br>
>> >> >> >> <limitations><br>
>> >> >> >> <minLength>20</minLength><br>
>> >> >> >> <maxLength>20</maxLength><br>
>> >> >> >> <minUniqueChars>3</<wbr>minUniqueChars><br>
>> >> >> >> <limit><br>
>> >> >> >> <description>Alphas</<wbr>description><br>
>> >> >> >> <minOccurs>1</minOccurs><br>
>> >> >> >> <mustBeFirst>false</<wbr>mustBeFirst><br>
>> >> >> >> <characterClass><br>
>> >> >> >><br>
>> >> >> >> <value><wbr>abcdefghijklmnopqrstuvwxyzABCD<wbr>EFGHIJKLMNOPQRSTUVWXYZ<<br>
>> >> /value><br>
>> >> >> >> </characterClass><br>
>> >> >> >> </limit><br>
>> >> >> >> <limit><br>
>> >> >> >> <description>Numbers</<wbr>description><br>
>> >> >> >> <minOccurs>1</minOccurs><br>
>> >> >> >> <mustBeFirst>false</<wbr>mustBeFirst><br>
>> >> >> >> <characterClass><br>
>> >> >> >> <value>1234567890</value><br>
>> >> >> >> </characterClass><br>
>> >> >> >> </limit><br>
>> >> >> >> </limitations><br>
>> >> >> >> </stringPolicy><br>
>> >> >> >> </valuePolicy><br>
>> >> >> >><br>
>> >> >> >> And I successfully imported this security policy for the Mail<br>
>> reset:<br>
>> >> >> >> <securityPolicy xmlns="<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/common/common-3</a>"<br>
>> >> >> >> xmlns:q="<a href="http://prism.evolveu" rel="noreferrer" target="_blank">http://prism.evolveu</a><br>
>> >> >> <a href="http://m.com/xml/ns/public/query-3" rel="noreferrer" target="_blank">m.com/xml/ns/public/query-3</a>"<br>
>> >> >> >> xmlns:c="<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/common/common-3</a>"<br>
>> >> >> >> xmlns:t="<a href="http://prism.evolveu" rel="noreferrer" target="_blank">http://prism.evolveu</a><br>
>> >> >> <a href="http://m.com/xml/ns/public/types-3" rel="noreferrer" target="_blank">m.com/xml/ns/public/types-3</a>"<br>
>> >> >> >> xmlns:icfs="<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/r" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/connector/icf-1/<wbr>r</a><br>
>> >> >> >> esource-schema-3<br>
>> >> >> >> "<br>
>> >> >> >> xmlns:ri="<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/resource/<wbr>instance-3</a>"<br>
>> >> >> >> oid="28bf845a-b107-11e3-85bc-<wbr>001e8c717e5b"<br>
>> >> >> >> version="19"><br>
>> >> >> >> <name>Mail Reset Security Policy</name><br>
>> >> >> >> <metadata><br>
>> >> >> >> <createTimestamp>2017-02-14T1<br>
>> 7:10:13.860Z</createTimestamp><br>
>> >> >> >> <creatorRef oid="00000000-0000-0000-0000-<wbr>000000000002"<br>
>> >> >> >> type="c:UserType"><!-- administrator --></creatorRef><br>
>> >> >> >> <createChannel><br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/model/channels-3#" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/model/channels-<wbr>3#</a><br>
>> >> >> objectImport<br>
>> >> >> >> </createChannel><br>
>> >> >> >> </metadata><br>
>> >> >> >> <authentication><br>
>> >> >> >> <mailAuthentication><br>
>> >> >> >> <name>confirmationLink</name><br>
>> >> >> >> <displayName>Additional mail<br>
>> authnetication</displayName><br>
>> >> >> >> <mailNonce>mailNonce</<wbr>mailNonce><br>
>> >> >> >> </mailAuthentication><br>
>> >> >> >> </authentication><br>
>> >> >> >> <credentials><br>
>> >> >> >> <nonce><br>
>> >> >> >> <maxAge>PT2M</maxAge><br>
>> >> >> >> <name>mailNonce</name><br>
>> >> >> >> <valuePolicyRef oid="c0c8a80d-1818-42d1-b3ad-e<br>
>> 7f8993593a0"<br>
>> >> >> >> type="c:ValuePolicyType"><!-- Mail Nonce Policy<br>
>> --></valuePolicyRef><br>
>> >> >> >> </nonce><br>
>> >> >> >> </credentials><br>
>> >> >> >> <credentialsReset><br>
>> >> >> >> <mailReset><br>
>> >> >> >> <name>Reset password using mail</name><br>
>> >> >> >><br>
>> >> >> >> <additionalAuthenticationName><wbr>confirmationLink</<wbr>additionalAut<br>
>> >> >> >> henticationName><br>
>> >> >> >> </mailReset><br>
>> >> >> >> </credentialsReset><br>
>> >> >> >> </securityPolicy><br>
>> >> >> >><br>
>> >> >> >> This is the Simple User Notifier form the wiki page:<br>
>> >> >> >> <simpleUserNotifier><br>
>> >> >> >> <expressionFilter><br>
>> >> >> >> <script><br>
>> >> >> >> <code><br>
>> >> >> >> import<br>
>> >> >> >> com.evolveum.midpoint.<wbr>notifications.api.events.<wbr>ModelEvent<br>
>> >> >> >> import<br>
>> >> >> >> com.evolveum.midpoint.xml.ns._<wbr>public.common.common_3.OrgType<br>
>> >> >> >> import <a href="http://com.evolveum.midpoint.prism.de" rel="noreferrer" target="_blank">com.evolveum.midpoint.prism.de</a><br>
>> >> >> lta.ChangeType<br>
>> >> >> >><br>
>> >> >> >> (event instanceof ModelEvent &&<br>
>> >> >> >> event.getChannel().equals("<br>
>> >> >> >> <a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#re" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/gui/channels-3#<wbr>re</a><br>
>> >> >> setPassword<br>
>> >> >> >> "))<br>
>> >> >> >> </code><br>
>> >> >> >> </script><br>
>> >> >> >> </expressionFilter><br>
>> >> >> >> <recipientExpression><br>
>> >> >> >> <script><br>
>> >> >> >> <code>return requestee.getEmailAddress()</<wbr>code><br>
>> >> >> >> </script><br>
>> >> >> >> </recipientExpression><br>
>> >> >> >> <bodyExpression><br>
>> >> >> >> <script><br>
>> >> >> >> <code><br>
>> >> >> >><br>
>> >> >> >> import<br>
>> >> >> >> com.evolveum.midpoint.<wbr>notifications.api.events.<wbr>ModelEvent<br>
>> >> >> >> modelEvent = (ModelEvent) event<br>
>> >> >> >> newUser = modelEvent.getFocusContext().g<br>
>> >> etObjectNew();<br>
>> >> >> >> userType = newUser.asObjectable();<br>
>> >> >> >><br>
>> >> >> >> link = "<br>
>> >> >> >> <a href="http://localhost:8080/midpoint/resetPasswordConfrimation/user/" rel="noreferrer" target="_blank">http://localhost:8080/<wbr>midpoint/<wbr>resetPasswordConfrimation/<wbr>user/</a>"<br>
>> +<br>
>> >> >> >> userType.getName().getOrig() +"/token/" +<br>
>> >> >> >> midpoint.getPlaintext(<wbr>userType.getCredentials().<wbr>getNonce().<br>
>> >> >> getValue());<br>
>> >><br>
>> >> >> >> bodyMessage = "Did you request password reset? If<br>
>> >> yes,<br>
>> >> >> >> click on the link bellow \n" + link<br>
>> >> >> >><br>
>> >> >> >> return bodyMessage;<br>
>> >> >> >> </code><br>
>> >> >> >> </script><br>
>> >> >> >> </bodyExpression><br>
>> >> >> >> <transport>mail</transport><br>
>> >> >> >> </simpleUserNotifier><br>
>> >> >> >> -------------- next part --------------<br>
>> >> >> >> An HTML attachment was scrubbed...<br>
>> >> >> >> URL: <<a href="http://lists.evolveum.com/pipermail/midpoint/attachments/" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/</a><br>
>> >> >> >> 20170306/4448fc63/attachment-<wbr>0001.html><br>
>> >> >> >><br>
>> >> >> >> ------------------------------<br>
>> >> >> >><br>
>> >> >> >> Message: 3<br>
>> >> >> >> Date: Mon, 6 Mar 2017 21:31:06 +0100<br>
>> >> >> >> From: Pálos Gustáv <<a href="mailto:gustav.palos@evolveum.com">gustav.palos@evolveum.com</a>><br>
>> >> >> >> To: midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
>> >> >> >> Subject: Re: [midPoint] Password Reset Email Notifier<br>
>> Configuration<br>
>> >> >> >> Message-ID:<br>
>> >> >> >> <CAPXQVkdrEFOqZxKLZFxNtx-2Z=<br>
>> v==PHTzEnkQhjdXcJXY6Mp=g@mail.<br>
>> >> gm<br>
>> >> >> >> <a href="http://ail.com" rel="noreferrer" target="_blank">ail.com</a>><br>
>> >> >> >> Content-Type: text/plain; charset="utf-8"<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> Hi Peter<br>
>> >> >> >><br>
>> >> >> >> I successfully imported Simple User Notifier snippet in midPoint<br>
>> >> 3.5.<br>
>> >> >> What<br>
>> >> >> >> version do you try?<br>
>> >> >> >> This feature is supported only from v3.5.<br>
>> >> >> >><br>
>> >> >> >> If you have same midPoint version, please send more detailed<br>
>> track<br>
>> >> >> trace<br>
>> >> >> >> from idm.log<br>
>> >> >> >><br>
>> >> >> >> Best regards,<br>
>> >> >> >><br>
>> >> >> >> Gustav<br>
>> >> >> >><br>
>> >> >> >> 2017-03-06 21:24 GMT+01:00 Peter Healy <<a href="mailto:phealy3330@gmail.com">phealy3330@gmail.com</a>>:<br>
>> >> >> >><br>
>> >> >> >> > I am trying to implement:<br>
>> >> >> >> > <a href="https://wiki.evolveum.com/display/midPoint/Reset+Password+" rel="noreferrer" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/Reset+<wbr>Password+</a><br>
>> >> >> Configuration<br>
>> >> >> >> ><br>
>> >> >> >> > But I get an error importing the Simple User Notifier XML<br>
>> object<br>
>> >> >> that is<br>
>> >> >> >> > in the wiki page:<br>
>> >> >> >> ><br>
>> >> >> >> > com.evolveum.midpoint.prism.<wbr>PrismProperty cannot be cast to<br>
>> >> >> >> > com.evolveum.midpoint.prism.<wbr>PrismObject<br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> > I created and successfully imported this Mail Nonce Policy:<br>
>> >> >> >> > <valuePolicy xmlns="<a href="http://midpoint.evolveu" rel="noreferrer" target="_blank">http://midpoint.evolveu</a><br>
>> <a href="http://m.com/xml/ns/public/" rel="noreferrer" target="_blank">m.com/xml/ns/public/</a><br>
>> >> >> >> > common/common-3"<br>
>> >> >> >> > xmlns:q="<a href="http://prism.evolveum" rel="noreferrer" target="_blank">http://prism.evolveum</a><br>
>> >> >> .com/xml/ns/public/query-3"<br>
>> >> >> >> > xmlns:c="<a href="http://midpoint.evolv" rel="noreferrer" target="_blank">http://midpoint.evolv</a><br>
>> <a href="http://eum.com/xml/ns/public/" rel="noreferrer" target="_blank">eum.com/xml/ns/public/</a><br>
>> >> >> >> > common/common-3"<br>
>> >> >> >> > xmlns:t="<a href="http://prism.evolveum" rel="noreferrer" target="_blank">http://prism.evolveum</a><br>
>> >> >> .com/xml/ns/public/types-3"<br>
>> >> >> >> > xmlns:icfs="<a href="http://midpoint.ev" rel="noreferrer" target="_blank">http://midpoint.ev</a><br>
>> >> <a href="http://olveum.com/xml/ns/public/" rel="noreferrer" target="_blank">olveum.com/xml/ns/public/</a><br>
>> >> >> >> > connector/icf-1/resource-<wbr>schema-3"<br>
>> >> >> >> > xmlns:ri="<a href="http://midpoint.evol" rel="noreferrer" target="_blank">http://midpoint.evol</a><br>
>> >> <a href="http://veum.com/xml/ns/public/" rel="noreferrer" target="_blank">veum.com/xml/ns/public/</a><br>
>> >> >> >> > resource/instance-3"<br>
>> >> >> >> > oid="c0c8a80d-1818-42d1-b3ad-<wbr>e7f8993593a0"<br>
>> >> >> >> > version="0"><br>
>> >> >> >> > <name>Mail Nonce Policy</name><br>
>> >> >> >> > <description>Mail Nonce Policy</description><br>
>> >> >> >> > <metadata><br>
>> >> >> >> > <createTimestamp>2017-03-06T1<br>
>> 9:56:44.233Z</createTimestamp><br>
>> >> >> >> > <creatorRef oid="00000000-0000-0000-0000-<wbr>000000000002"<br>
>> >> >> >> > type="c:UserType"><!-- administrator --></creatorRef><br>
>> >> >> >> > <createChannel><a href="http://midpoint.evolveum.com/xml/ns/" rel="noreferrer" target="_blank">http://<wbr>midpoint.evolveum.com/xml/ns/</a><br>
>> >> >> >> > public/model/channels-3#<wbr>objectImport</createChannel><br>
>> >> >> >> > </metadata><br>
>> >> >> >> > <lifetime><br>
>> >> >> >> > <expiration>999</expiration><br>
>> >> >> >> > <warnBeforeExpiration>9</<wbr>warnBeforeExpiration><br>
>> >> >> >> > <lockAfterExpiration>0</<wbr>lockAfterExpiration><br>
>> >> >> >> > <minPasswordAge>0</<wbr>minPasswordAge><br>
>> >> >> >> > <passwordHistoryLength>0</<wbr>passwordHistoryLength><br>
>> >> >> >> > </lifetime><br>
>> >> >> >> > <stringPolicy><br>
>> >> >> >> > <description>Testing string policy</description><br>
>> >> >> >> > <limitations><br>
>> >> >> >> > <minLength>20</minLength><br>
>> >> >> >> > <maxLength>20</maxLength><br>
>> >> >> >> > <minUniqueChars>3</<wbr>minUniqueChars><br>
>> >> >> >> > <limit><br>
>> >> >> >> > <description>Alphas</<wbr>description><br>
>> >> >> >> > <minOccurs>1</minOccurs><br>
>> >> >> >> > <mustBeFirst>false</<wbr>mustBeFirst><br>
>> >> >> >> > <characterClass><br>
>> >> >> >> > <value><wbr>abcdefghijklmnopqrstuvwxyzABCD<br>
>> >> >> >> > EFGHIJKLMNOPQRSTUVWXYZ</value><br>
>> >> >> >> > </characterClass><br>
>> >> >> >> > </limit><br>
>> >> >> >> > <limit><br>
>> >> >> >> > <description>Numbers</<wbr>description><br>
>> >> >> >> > <minOccurs>1</minOccurs><br>
>> >> >> >> > <mustBeFirst>false</<wbr>mustBeFirst><br>
>> >> >> >> > <characterClass><br>
>> >> >> >> > <value>1234567890</value><br>
>> >> >> >> > </characterClass><br>
>> >> >> >> > </limit><br>
>> >> >> >> > </limitations><br>
>> >> >> >> > </stringPolicy><br>
>> >> >> >> > </valuePolicy><br>
>> >> >> >> ><br>
>> >> >> >> > And I successfully imported this security policy for the Mail<br>
>> >> reset:<br>
>> >> >> >> > <securityPolicy xmlns="<a href="http://midpoint.evolveu" rel="noreferrer" target="_blank">http://midpoint.evolveu</a><br>
>> >> <a href="http://m.com/xml/ns/public/" rel="noreferrer" target="_blank">m.com/xml/ns/public/</a><br>
>> >> >> >> > common/common-3"<br>
>> >> >> >> > xmlns:q="<a href="http://prism.evolveu" rel="noreferrer" target="_blank">http://prism.evolveu</a><br>
>> >> >> >> <a href="http://m.com/xml/ns/public/query-3" rel="noreferrer" target="_blank">m.com/xml/ns/public/query-3</a>"<br>
>> >> >> >> > xmlns:c="<a href="http://midpoint.evol" rel="noreferrer" target="_blank">http://midpoint.evol</a><br>
>> >> <a href="http://veum.com/xml/ns/public/" rel="noreferrer" target="_blank">veum.com/xml/ns/public/</a><br>
>> >> >> >> > common/common-3"<br>
>> >> >> >> > xmlns:t="<a href="http://prism.evolveu" rel="noreferrer" target="_blank">http://prism.evolveu</a><br>
>> >> >> >> <a href="http://m.com/xml/ns/public/types-3" rel="noreferrer" target="_blank">m.com/xml/ns/public/types-3</a>"<br>
>> >> >> >> > xmlns:icfs="<a href="http://midpoint.e" rel="noreferrer" target="_blank">http://midpoint.e</a><br>
>> >> >> <a href="http://volveum.com/xml/ns/public/" rel="noreferrer" target="_blank">volveum.com/xml/ns/public/</a><br>
>> >> >> >> > connector/icf-1/resource-<wbr>schema-3"<br>
>> >> >> >> > xmlns:ri="<a href="http://midpoint.evo" rel="noreferrer" target="_blank">http://midpoint.evo</a><br>
>> >> >> <a href="http://lveum.com/xml/ns/public/" rel="noreferrer" target="_blank">lveum.com/xml/ns/public/</a><br>
>> >> >> >> > resource/instance-3"<br>
>> >> >> >> > oid="28bf845a-b107-11e3-85bc-<wbr>001e8c717e5b"<br>
>> >> >> >> > version="19"><br>
>> >> >> >> > <name>Mail Reset Security Policy</name><br>
>> >> >> >> > <metadata><br>
>> >> >> >> > <createTimestamp>2017-02-14T1<br>
>> 7:10:13.860Z</createTimestamp><br>
>> >> >> >> > <creatorRef oid="00000000-0000-0000-0000-<wbr>000000000002"<br>
>> >> >> >> > type="c:UserType"><!-- administrator --></creatorRef><br>
>> >> >> >> > <createChannel><a href="http://midpoint.evolveum.com/xml/ns/" rel="noreferrer" target="_blank">http://<wbr>midpoint.evolveum.com/xml/ns/</a><br>
>> >> >> >> > public/model/channels-3#<wbr>objectImport</createChannel><br>
>> >> >> >> > </metadata><br>
>> >> >> >> > <authentication><br>
>> >> >> >> > <mailAuthentication><br>
>> >> >> >> > <name>confirmationLink</name><br>
>> >> >> >> > <displayName>Additional mail<br>
>> authnetication</displayName><br>
>> >> >> >> > <mailNonce>mailNonce</<wbr>mailNonce><br>
>> >> >> >> > </mailAuthentication><br>
>> >> >> >> > </authentication><br>
>> >> >> >> > <credentials><br>
>> >> >> >> > <nonce><br>
>> >> >> >> > <maxAge>PT2M</maxAge><br>
>> >> >> >> > <name>mailNonce</name><br>
>> >> >> >> > <valuePolicyRef oid="c0c8a80d-1818-42d1-b3ad-e<br>
>> >> 7f8993593a0"<br>
>> >> >> >> > type="c:ValuePolicyType"><!-- Mail Nonce Policy<br>
>> >> --></valuePolicyRef><br>
>> >> >> >> > </nonce><br>
>> >> >> >> > </credentials><br>
>> >> >> >> > <credentialsReset><br>
>> >> >> >> > <mailReset><br>
>> >> >> >> > <name>Reset password using mail</name><br>
>> >> >> >> > <additionalAuthenticationName><wbr>confirmationLink</<br>
>> >> >> >> > additionalAuthenticationName><br>
>> >> >> >> > </mailReset><br>
>> >> >> >> > </credentialsReset><br>
>> >> >> >> > </securityPolicy><br>
>> >> >> >> ><br>
>> >> >> >> > This is the Simple User Notifier form the wiki page:<br>
>> >> >> >> > <simpleUserNotifier><br>
>> >> >> >> > <expressionFilter><br>
>> >> >> >> > <script><br>
>> >> >> >> > <code><br>
>> >> >> >> > import com.evolveum.midpoint.notifica<br>
>> >> >> >> tions.api.events.<br>
>> >> >> >> > ModelEvent<br>
>> >> >> >> > import com.evolveum.midpoint.xml.ns._<br>
>> >> >> >> > public.common.common_3.OrgType<br>
>> >> >> >> > import <a href="http://com.evolveum.midpoint.prism.de" rel="noreferrer" target="_blank">com.evolveum.midpoint.prism.de</a><br>
>> >> >> lta.ChangeType<br>
>> >> >> >> ><br>
>> >> >> >> > (event instanceof ModelEvent &&<br>
>> >> >> >> > event.getChannel().equals("<a href="http://midpoint.evolveum.com/xml/" rel="noreferrer" target="_blank">htt<wbr>p://midpoint.evolveum.com/xml/</a><br>
>> >> >> >> > ns/public/gui/channels-3#<wbr>resetPassword"))<br>
>> >> >> >> > </code><br>
>> >> >> >> > </script><br>
>> >> >> >> > </expressionFilter><br>
>> >> >> >> > <recipientExpression><br>
>> >> >> >> > <script><br>
>> >> >> >> > <code>return requestee.getEmailAddress()</<wbr>code><br>
>> >> >> >> > </script><br>
>> >> >> >> > </recipientExpression><br>
>> >> >> >> > <bodyExpression><br>
>> >> >> >> > <script><br>
>> >> >> >> > <code><br>
>> >> >> >> ><br>
>> >> >> >> > import com.evolveum.midpoint.notifica<br>
>> >> >> tions.api.events.<br>
>> >> >> >> > ModelEvent<br>
>> >> >> >> > modelEvent = (ModelEvent) event<br>
>> >> >> >> > newUser = modelEvent.getFocusContext().g<br>
>> >> >> etObjectNew();<br>
>> >> >> >> > userType = newUser.asObjectable();<br>
>> >> >> >> ><br>
>> >> >> >> > link = "<a href="http://localhost:8080/midpoint/" rel="noreferrer" target="_blank">http://localhost:8080/<wbr>midpoint/</a><br>
>> >> >> >> > resetPasswordConfrimation/<wbr>user/" +<br>
>> userType.getName().getOrig()<br>
>> >> >> >> > +"/token/" + midpoint.getPlaintext(<wbr>userType.getCredentials().<br>
>> >> >> >> > getNonce().getValue());<br>
>> >> >> >> > bodyMessage = "Did you request password reset?<br>
>> If<br>
>> >> >> yes,<br>
>> >> >> >> > click on the link bellow \n" + link<br>
>> >> >> >> ><br>
>> >> >> >> > return bodyMessage;<br>
>> >> >> >> > </code><br>
>> >> >> >> > </script><br>
>> >> >> >> > </bodyExpression><br>
>> >> >> >> > <transport>mail</transport><br>
>> >> >> >> > </simpleUserNotifier><br>
>> >> >> >> ><br>
>> >> >> >> > ______________________________<wbr>_________________<br>
>> >> >> >> > midPoint mailing list<br>
>> >> >> >> > <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
>> >> >> >> > <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> --<br>
>> >> >> >> Gustáv Pálos<br>
>> >> >> >> Identity Engineer<br>
>> >> >> >> <a href="http://evolveum.com" rel="noreferrer" target="_blank">evolveum.com</a><br>
>> >> >> >> -------------- next part --------------<br>
>> >> >> >> An HTML attachment was scrubbed...<br>
>> >> >> >> URL: <<a href="http://lists.evolveum.com/pipermail/midpoint/attachments/" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/</a><br>
>> >> >> >> 20170306/85ab3d27/attachment.<wbr>html><br>
>> >> >> >><br>
>> >> >> >> ------------------------------<br>
>> >> >> >><br>
>> >> >> >> Subject: Digest Footer<br>
>> >> >> >><br>
>> >> >> >> ______________________________<wbr>_________________<br>
>> >> >> >> midPoint mailing list<br>
>> >> >> >> <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
>> >> >> >> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> ------------------------------<br>
>> >> >> >><br>
>> >> >> >> End of midPoint Digest, Vol 59, Issue 26<br>
>> >> >> >> ******************************<wbr>**********<br>
>> >> >> >><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > ______________________________<wbr>_________________<br>
>> >> >> > midPoint mailing list<br>
>> >> >> > <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
>> >> >> > <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >><br>
>> >> >><br>
>> >> >> --<br>
>> >> >> Gustáv Pálos<br>
>> >> >> Identity Engineer<br>
>> >> >> <a href="http://evolveum.com" rel="noreferrer" target="_blank">evolveum.com</a><br>
>> >> >> -------------- next part --------------<br>
>> >> >> An HTML attachment was scrubbed...<br>
>> >> >> URL: <<a href="http://lists.evolveum.com/pipermail/midpoint/attachments/" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/</a><br>
>> >> >> 20170306/3dfbadb0/attachment.<wbr>html><br>
>> >> >><br>
>> >> >> ------------------------------<br>
>> >> >><br>
>> >> >> Subject: Digest Footer<br>
>> >> >><br>
>> >> >> ______________________________<wbr>_________________<br>
>> >> >> midPoint mailing list<br>
>> >> >> <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
>> >> >> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >> >><br>
>> >> >><br>
>> >> >> ------------------------------<br>
>> >> >><br>
>> >> >> End of midPoint Digest, Vol 59, Issue 28<br>
>> >> >> ******************************<wbr>**********<br>
>> >> >><br>
>> >> ><br>
>> >> ><br>
>> >> > ______________________________<wbr>_________________<br>
>> >> > midPoint mailing list<br>
>> >> > <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
>> >> > <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >> ><br>
>> >> ><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Gustáv Pálos<br>
>> >> Identity Engineer<br>
>> >> <a href="http://evolveum.com" rel="noreferrer" target="_blank">evolveum.com</a><br>
>> >> -------------- next part --------------<br>
>> >> An HTML attachment was scrubbed...<br>
>> >> URL: <<a href="http://lists.evolveum.com/pipermail/midpoint/attachments/" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/</a><br>
>> >> 20170307/c28dfbb3/attachment.<wbr>html><br>
>> >><br>
>> >> ------------------------------<br>
>> >><br>
>> >> Subject: Digest Footer<br>
>> >><br>
>> >> ______________________________<wbr>_________________<br>
>> >> midPoint mailing list<br>
>> >> <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
>> >> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> >><br>
>> >><br>
>> >> ------------------------------<br>
>> >><br>
>> >> End of midPoint Digest, Vol 59, Issue 56<br>
>> >> ******************************<wbr>**********<br>
>> >><br>
>> ><br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > midPoint mailing list<br>
>> > <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
>> > <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>> --<br>
>> s pozdravom<br>
>><br>
>> Gustáv Pálos<br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<a href="http://lists.evolveum.com/pipermail/midpoint/attachments/" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/</a><br>
>> 20170307/420ea1a4/attachment.<wbr>html><br>
>><br>
>> ------------------------------<br>
>><br>
>> Subject: Digest Footer<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> midPoint mailing list<br>
>> <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
>> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> End of midPoint Digest, Vol 59, Issue 62<br>
>> ******************************<wbr>**********<br>
>><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> midPoint mailing list<br>
> <a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
> <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
><br>
><br>
<br>
<br>
--<br>
Gustáv Pálos<br>
Identity Engineer<br>
<a href="http://evolveum.com" rel="noreferrer" target="_blank">evolveum.com</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.evolveum.com/pipermail/midpoint/attachments/20170308/3a2fb997/attachment.html" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/20170308/3a2fb997/<wbr>attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br>
<br>
------------------------------<br>
<br>
End of midPoint Digest, Vol 59, Issue 64<br>
******************************<wbr>**********<br>
</blockquote></div><br></div></div></div></div>