<div dir="ltr">Hi Gustav,<div>I have<div>Version 3.5</div><div>Git describe git-v3.5</div><div>Build at Wed, 21 Dec 2016 14:01:34 +0000<br><div class="gmail_extra"><br></div><div class="gmail_extra">I copied and pasted verbatim from the wiki page into the embedded editor or the Import Object GUI page, I don't get any output from idm.log but I do get this in catalina.out:</div><div class="gmail_extra"><div class="gmail_extra">==> catalina.out <==<br></div><div class="gmail_extra">java.lang.ClassCastException</div><div class="gmail_extra"><br></div><div class="gmail_extra">And the error in the GUI has changed to "<span style="color:rgb(51,51,51);font-family:"source sans pro","helvetica neue",helvetica,arial,sans-serif;font-size:14px">Object validation failed (no reason given)"</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 3:31 PM,  <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. JMS based workflow configuration (Prabhakara Rao Doddapaneni)<br>
   2. Password Reset Email Notifier Configuration (Peter Healy)<br>
   3. Re: Password Reset Email Notifier Configuration (Pálos Gustáv)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<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 poll.  I plan to send a message in JMS Q so that midpoint can listen to that message and reconcile/add the user into repository.  What is the ideal solution to 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/20170306/a715dd11/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/20170306/a715dd11/<wbr>attachment-0001.html</a>><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=<a href="mailto:wtq%2BSuhc6LUG-r04OppN4AQshDzgk5wGNf7MScsvzbTQ@mail.gmail.com">wtq+Suhc6LUG-<wbr>r04OppN4AQshDzgk5wGNf7MScsvzbT<wbr>Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I am trying to implement:<br>
<a href="https://wiki.evolveum.com/display/midPoint/Reset+Password+Configuration" rel="noreferrer" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/Reset+<wbr>Password+Configuration</a><br>
<br>
But I get an error importing the Simple User Notifier XML object that is 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.com/xml/ns/public/query-3" rel="noreferrer" target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>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.evolveum.com/xml/ns/public/types-3" rel="noreferrer" target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>types-3</a>"<br>
             xmlns:icfs="<br>
<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/connector/icf-1/<wbr>resource-schema-3</a><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-<wbr>06T19:56:44.233Z</<wbr>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#objectImport" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/model/channels-<wbr>3#objectImport</a><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</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 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.evolveum.com/xml/ns/public/query-3" rel="noreferrer" target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>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.evolveum.com/xml/ns/public/types-3" rel="noreferrer" target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>types-3</a>"<br>
                xmlns:icfs="<br>
<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/connector/icf-1/<wbr>resource-schema-3</a><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-<wbr>14T17:10:13.860Z</<wbr>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#objectImport" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/model/channels-<wbr>3#objectImport</a><br>
</createChannel><br>
   </metadata><br>
   <authentication><br>
      <mailAuthentication><br>
         <name>confirmationLink</name><br>
         <displayName>Additional mail 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-<wbr>e7f8993593a0"<br>
type="c:ValuePolicyType"><!-- Mail Nonce Policy --></valuePolicyRef><br>
      </nonce><br>
   </credentials><br>
   <credentialsReset><br>
      <mailReset><br>
         <name>Reset password using mail</name><br>
<br>
 <additionalAuthenticationName><wbr>confirmationLink</<wbr>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<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 com.evolveum.midpoint.prism.<wbr>delta.ChangeType<br>
<br>
                   (event instanceof ModelEvent &amp;&amp;<br>
event.getChannel().equals("<br>
<a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#resetPassword" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/gui/channels-3#<wbr>resetPassword</a>"))<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().<wbr>getObjectNew();<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>
userType.getName().getOrig() +"/token/" +<br>
midpoint.getPlaintext(<wbr>userType.getCredentials().<wbr>getNonce().getValue());<br>
                bodyMessage = "Did you request password reset? If 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/20170306/4448fc63/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/20170306/4448fc63/<wbr>attachment-0001.html</a>><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 Configuration<br>
Message-ID:<br>
        <CAPXQVkdrEFOqZxKLZFxNtx-2Z=v=<wbr>=PHTzEnkQhjdXcJXY6Mp=<a href="mailto:g@mail.gmail.com">g@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Peter<br>
<br>
I successfully imported Simple User Notifier snippet in midPoint 3.5. 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 track 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+Configuration" rel="noreferrer" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/Reset+<wbr>Password+Configuration</a><br>
><br>
> But I get an error importing the Simple User Notifier XML object 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.evolveum.com/xml/ns/public/" rel="noreferrer" target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/</a><br>
> common/common-3"<br>
>              xmlns:q="<a href="http://prism.evolveum.com/xml/ns/public/query-3" rel="noreferrer" target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>query-3</a>"<br>
>              xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/" rel="noreferrer" target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/</a><br>
> common/common-3"<br>
>              xmlns:t="<a href="http://prism.evolveum.com/xml/ns/public/types-3" rel="noreferrer" target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>types-3</a>"<br>
>              xmlns:icfs="<a href="http://midpoint.evolveum.com/xml/ns/public/" rel="noreferrer" target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/</a><br>
> connector/icf-1/resource-<wbr>schema-3"<br>
>              xmlns:ri="<a href="http://midpoint.evolveum.com/xml/ns/public/" rel="noreferrer" target="_blank">http://midpoint.<wbr>evolveum.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-<wbr>06T19:56:44.233Z</<wbr>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 reset:<br>
> <securityPolicy xmlns="<a href="http://midpoint.evolveum.com/xml/ns/public/" rel="noreferrer" target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/</a><br>
> common/common-3"<br>
>                 xmlns:q="<a href="http://prism.evolveum.com/xml/ns/public/query-3" rel="noreferrer" target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>query-3</a>"<br>
>                 xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/" rel="noreferrer" target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/</a><br>
> common/common-3"<br>
>                 xmlns:t="<a href="http://prism.evolveum.com/xml/ns/public/types-3" rel="noreferrer" target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>types-3</a>"<br>
>                 xmlns:icfs="<a href="http://midpoint.evolveum.com/xml/ns/public/" rel="noreferrer" target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/</a><br>
> connector/icf-1/resource-<wbr>schema-3"<br>
>                 xmlns:ri="<a href="http://midpoint.evolveum.com/xml/ns/public/" rel="noreferrer" target="_blank">http://midpoint.<wbr>evolveum.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-<wbr>14T17:10:13.860Z</<wbr>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 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-<wbr>e7f8993593a0"<br>
> type="c:ValuePolicyType"><!-- Mail Nonce Policy --></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.<wbr>notifications.api.events.<br>
> ModelEvent<br>
>                     import com.evolveum.midpoint.xml.ns._<br>
> public.common.common_3.OrgType<br>
>                     import com.evolveum.midpoint.prism.<wbr>delta.ChangeType<br>
><br>
>                    (event instanceof ModelEvent &amp;&amp;<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.<wbr>notifications.api.events.<br>
> ModelEvent<br>
>                 modelEvent = (ModelEvent) event<br>
>                 newUser = modelEvent.getFocusContext().<wbr>getObjectNew();<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/" + userType.getName().getOrig()<br>
> +"/token/" + midpoint.getPlaintext(<wbr>userType.getCredentials().<br>
> getNonce().getValue());<br>
>                 bodyMessage = "Did you request password reset? If 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/20170306/85ab3d27/attachment.html" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>pipermail/midpoint/<wbr>attachments/20170306/85ab3d27/<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 26<br>
******************************<wbr>**********<br>
</blockquote></div><br></div></div></div></div>