Hi Ori,
There's org.keycloak.events.EventListenerSpi in keycloak-server-spi-private. You can
implement an EventListenerProvider (plus the corresponding factory) and listen for events
of type EventType.UPDATE_PASSWORD.
Then retrieve an EmailSenderProvider from your KeycloakSession, and voilà!
Cheers,
Dmitry Telegin
CTO, Acutus s.r.o.
Keycloak Consulting and Training
Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
+42 (022) 888-30-71
E-mail: info(a)acutus.pro
On Mon, 2018-07-16 at 09:53 +0000, Ori Doolman wrote:
Hello,
In the Account management page, I have an option to change user's password.
Is there any way (SPI) to customize the change password function, and add the ability for
sending an email after password is changed ?
I think the current implementation code is under
/keycloak-services/src/main/java/org/keycloak/forms/account/freemarker/FreeMarkerAccountProvider.java
Thanks,
Ori Doolman
Lead Software Architect
Amdocs Optima
+972 9 778 6914 (office)
+972 50 9111442 (mobile)
[cid:image001.png@01D2C8DE.BFF33E10]
This message and the information contained herein is proprietary and confidential and
subject to the Amdocs policy statement,
you may review at
https://www.amdocs.com/about/email-disclaimer
<
https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user