<div dir="ltr">Thanks Jason, I did it before the answer came :)<div><br></div><div>So, how do I send changes to certain users' accounts with sms? For example, let us know when a new role is assigned.<br></div><div><br></div><div>I will send the information to the users to be identified. How can I do that. With the role?<br></div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-28 17:08 GMT+03:00 Jason Everling <span dir="ltr"><<a href="mailto:jeverling@bshp.edu" target="_blank">jeverling@bshp.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have never used anything outside of what I posted, but in a standard notification you add the parts, you could try,<div><br></div><div>+ requestee?.getName()?.getOrig(<wbr>) which is the username and + midpoint.<wbr>getPlaintextUserPassword(<wbr>requestee) is the password of the account being changed.<br></div><div><br></div><div>Within our notification I get the username and password with <span style="font-size:12.8px">+ encodedMessageText , it displays the below. Can you post what you get from the sms-notifications log</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">'Password for user tauser2 is: n3wPassw0rd'</span></div></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_6725907414158590655gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">JASON</div></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On Tue, Feb 28, 2017 at 12:26 AM, mceylan <span dir="ltr"><<a href="mailto:mrveceylan@gmail.com" target="_blank">mrveceylan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Gustav, I enter real information in the live system. I did not want to write Mail. Because, gateway real username and password. <div><br></div><div>There is no problem sending SMS. The problem is to send the username and password of the user I created in sms and to inform when the account is changed<br><div><br></div><div><br></div><div>Thanks,</div><div><br></div></div></div><div class="m_6725907414158590655HOEnZb"><div class="m_6725907414158590655h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-02-28 7:58 GMT+02:00 Pálos Gustáv <span dir="ltr"><<a href="mailto:gustav.palos@evolveum.com" target="_blank">gustav.palos@evolveum.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi Merve,<div><br></div><div>username and password are not variables, are you REAL username and REAL password, please replace it like this:</div><div>http:/my-gateway/api/v3/sendsm<wbr>s/plain?user=palos&passwor<wbr>d=abcd123X&sender=XX....</div><div><br></div><div>Gustav</div><div><br><div class="gmail_extra"><div><div class="m_6725907414158590655m_-1073082597816074234h5"><div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702h5"><br><div class="gmail_quote">2017-02-28 6:49 GMT+01:00 mceylan <span dir="ltr"><<a href="mailto:mrveceylan@gmail.com" target="_blank">mrveceylan@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Jason, <div><br></div><div>The message I wrote in EncodedMessageText comes up but the username and password do not come up. How can I send those variables in the script<br></div><div><br></div><div><br></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-"><div><handler></div><div> <userPasswordNotifier></div><div> <recipientExpression></div><div> <script></div><div> <code>requestee.getTelephoneNu<wbr>mber()</code></div><div> </script></div><div> </recipientExpression></div><div> <transport>sms</transport></div><div> </userPasswordNotifier></div><div> </handler></div><div> <sms></div><div> <gateway></div><div> <url></div><div> <script></div></span><div> <code>"http:/my-gateway/api/v3<wbr>/sendsms/plain?user=username&a<wbr>mp;password=password&sende<wbr>r=XX" + "&GSM=" + to + "&text=" + "account"</code></div><div> </script></div><div> </url></div><div> </gateway></div><div> </sms></div></div><div><br></div><div><br></div><div>log </div><div><br></div><div><br></div><div>send to message "account"</div><div><br></div><div>Thanks,</div></div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-HOEnZb"><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-02-28 2:28 GMT+02:00 Jason Everling <span dir="ltr"><<a href="mailto:jeverling@bshp.edu" target="_blank">jeverling@bshp.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">If you are testing SMS then yes, use a test account with your phone number.</div><div class="gmail_extra"><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552gmail_signature"><div dir="ltr">JASON</div></div></div></font></span><div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554h5">
<br><div class="gmail_quote">On Mon, Feb 27, 2017 at 1:57 AM, mceylan <span dir="ltr"><<a href="mailto:mrveceylan@gmail.com" target="_blank">mrveceylan@gmail.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"><div dir="ltr">thanks Jason, no problem. There will be another responsibility.<div><br></div><div><br></div><div>For changes made to specific users' accounts, SMS will be provided to the user. Do I submit changes to my account? Can I also send a username and password?<br></div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552h5">2017-02-23 17:28 GMT+02:00 Jason Everling <span dir="ltr"><<a href="mailto:jeverling@bshp.edu" target="_blank">jeverling@bshp.edu</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552h5"><div dir="ltr"><div>Maybe try the below, your sms code has changed a few times between your messages, GSM= I am assuming is the phone number to send</div><div><br></div><div><span><div><notificationConfiguration></div><div><handler></div><div><userPasswordNotifier></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><recipientExpression></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><script></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><code></div><div> requestee.getTelephoneNumber(<wbr>)</div><div> </code></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span></script></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span></recipientExpression></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><transport>sms</transport></div><div></userPasswordNotifier></div><div></handler></div><div><sms></div></span><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><gateway></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><url></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><script></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><code>"<a href="http://my-gateway/api/v3/sendsms/plain?user=USERNAME&password=PASSWORD&SMSText=" target="_blank">http://my-gateway/api/v<wbr>3/sendsms/plain?user=USERNAME&<wbr>amp;password=PASSWORD&SMST<wbr>ext=</a>" + encodedMessageText + "&GSM=" + to</code></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span></script></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span></url></div><div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail-Apple-tab-span" style="white-space:pre-wrap"> </span></gateway></div><div></sms></div></div></div><div class="gmail_extra"><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532m_5085664631046496749gmail_signature"><div dir="ltr">JASON</div></div></div></font></span><div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532h5">
<br><div class="gmail_quote">On Thu, Feb 23, 2017 at 9:06 AM, Jason Everling <span dir="ltr"><<a href="mailto:jeverling@bshp.edu" target="_blank">jeverling@bshp.edu</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"><div dir="ltr">I don't see a part in your gateway code that contains the 'to' field , how does it know which phone to send the message to?<div><br></div><div>Some where in there you should have + to and also + <span style="font-size:12.8px">encodedMessageText</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">The 'to' variable is what </span><span style="font-size:12.8px">requestee.getTelephoneNum<wbr>ber() returns and </span><span style="font-size:12.8px">encodedMessageText variable returns the message, password in the case of userPasswordNotifier, which mine sends by default,</span></div><div><span style="font-size:12.8px"><br></span></div><div>'================ Wed Feb 22 08:43:21 CST 2017 ======= </div><div>Message{to='<a href="tel:(210)%20765-4321" value="+12107654321" target="_blank">[12107654321</a>]', subject='User password notification', contentType='null', body='Password for user tauser2 is: s0m3passW0rd'}</div><div>'</div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><div><span style="font-size:12.8px">Somewhere in this url you have to have the 'to' variable, don't know which gateway you are using so I cant tell you how it is used and where to insert it,</span></div><span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">"</span><a href="http://my-gateway/api/v3/sendsms/plain?user=USERNAME&password=PASSWORD&sender=SIFRE&SMSText=test123&" style="font-size:12.8px" target="_blank">http://my-gateway/api/v3/send<wbr>sms/plain?user=USERNAME&pa<wbr>ssword=PASSWORD&sender=SIF<wbr>RE&SMSText=test123&</a><span style="font-size:12.8px">;" + "&text=" + "deneme"</span></div></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div>
</blockquote></div><br></div></div></div>
<br></div></div><span>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a><br>
<br></span></blockquote></div><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554m_-2360338806496353552m_-4940540471138855532gmail_signature"><div dir="ltr">Merve CEYLAN</div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a><br>
<br></blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail-m_8371006683855113554gmail_signature"><div dir="ltr">Merve CEYLAN</div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div></div></div><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702m_-3022632074260147717gmail_signature">s pozdravom<span class="m_6725907414158590655m_-1073082597816074234HOEnZb"><font color="#888888"><span class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702HOEnZb"><font color="#888888"><div><br></div><div>Gustáv Pálos</div></font></span></font></span></div><span class="m_6725907414158590655m_-1073082597816074234HOEnZb"><font color="#888888">
</font></span></div></div></div><span class="m_6725907414158590655m_-1073082597816074234HOEnZb"><font color="#888888">
</font></span></div><span class="m_6725907414158590655m_-1073082597816074234HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_6725907414158590655m_-1073082597816074234m_4120042649500520702gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Gustáv Pálos</div><div>Identity Engineer</div><a href="http://evolveum.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">evolveum.com</a><br></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_6725907414158590655m_-1073082597816074234gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Merve CEYLAN</div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a><br>
<br></blockquote></div><br></div></div></div>
<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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Merve CEYLAN</div></div>
</div>