Automatically send password change notifications

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Automatically send password change notifications

Michael Spann
We are currently running Syncope 1.2.7 and there is one ability I am struggling with.

Is there a way to automatically send Password Reset request emails?  They show up in the Notification Tasks list and the email is sent when the administrator clicks on the execute button but we would like to have them sent automatically.

Configuration->Notifications has the default [CUSTOM]:[]:[]:[confirmPasswordReset]:[SUCCESS] rule but I can not figure out how to create a new rule or modify the existing one to automatically send the email.

Any guidance would be appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: Automatically send password change notifications

ilgrosso
Administrator
On 26/08/2016 00:04, Michael Spann wrote:

> We are currently running Syncope 1.2.7 and there is one ability I am
> struggling with.
>
> Is there a way to automatically send Password Reset request emails?  
> They show up in the Notification Tasks list and the email is sent when
> the administrator clicks on the execute button but we would like to
> have them sent automatically.
>
> Configuration->Notifications has the default
> [CUSTOM]:[]:[]:[confirmPasswordReset]:[SUCCESS] rule but I can not
> figure out how to create a new rule or modify the existing one to
> automatically send the email.
>
> Any guidance would be appreciated.

Hi Michael,
since "when the administrator clicks on the execute button" everything
works as expected, you are probably missing only the very last piece,
e.g. scheduling the notification job to run every X minutes and pick up
the pending notifications.

You can do this from the admin console: under Configuration, click on
the itemized list item on the top right corner; at this point, set

0 0/5 * * * ?

as value for ' notificationjob.cronExpression' and click the Save button
at the end of the form.

Now the pending notifications will be sent out every 5 minutes.

In case you are interested, an explanation about how the notification
mechanism works is available in the work-in-progress reference guide
[1]: it's intended for Syncope 2.0, but mostly valid for 1.2 anyway.

HTH
Regards.

[1]
https://ci.apache.org/projects/syncope/reference-guide.html#notifications

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Reply | Threaded
Open this post in threaded view
|

Re: Automatically send password change notifications

Michael Spann
Thank you very much for your assistance.  Your solution worked for us.

On Fri, Aug 26, 2016 at 3:50 AM, Francesco Chicchiriccò <[hidden email]> wrote:
On 26/08/2016 00:04, Michael Spann wrote:
We are currently running Syncope 1.2.7 and there is one ability I am struggling with.

Is there a way to automatically send Password Reset request emails?  They show up in the Notification Tasks list and the email is sent when the administrator clicks on the execute button but we would like to have them sent automatically.

Configuration->Notifications has the default [CUSTOM]:[]:[]:[confirmPasswordReset]:[SUCCESS] rule but I can not figure out how to create a new rule or modify the existing one to automatically send the email.

Any guidance would be appreciated.

Hi Michael,
since "when the administrator clicks on the execute button" everything works as expected, you are probably missing only the very last piece, e.g. scheduling the notification job to run every X minutes and pick up the pending notifications.

You can do this from the admin console: under Configuration, click on the itemized list item on the top right corner; at this point, set

0 0/5 * * * ?

as value for ' notificationjob.cronExpression' and click the Save button at the end of the form.

Now the pending notifications will be sent out every 5 minutes.

In case you are interested, an explanation about how the notification mechanism works is available in the work-in-progress reference guide [1]: it's intended for Syncope 2.0, but mostly valid for 1.2 anyway.

HTH
Regards.

[1] https://ci.apache.org/projects/syncope/reference-guide.html#notifications

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/