[midPoint] Custom Notification body

Jan Kaspar Caspi at seznam.cz
Mon Dec 4 17:36:23 CET 2017


Hi All,



i have update it works for accountPasswordNotifier but not for 
userPasswordNotifier




I tried to use this: 





        <handler>


            <userPasswordNotifier>

                <bodyExpression>

                    <script>

                        <language>http://midpoint.evolveum.com/xml/ns/
public/expression/language#velocity
(http://midpoint.evolveum.com/xml/ns/public/expression/language#velocity)</
language>

                        <code>Password for account $event.shadowName on $
event.resourceName is: $event.plaintextPassword</code>

                    </script>

                </bodyExpression>

                <transport>mail</transport>

            </userPasswordNotifier>

        </handler>








I found that i can use  $event.requesteeName  and $requestee.getGivenName() 
but what are all method? Where i can find them?

need to get plain text password.




Thanks




Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171204/5e32656a/attachment.htm>


More information about the midPoint mailing list