[midPoint] User password expiration notifications
Vladislavs Filipciks
vladislavs.filipciks at csolutions.lv
Thu May 28 16:06:19 CEST 2020
I've tried Your example with activation/validTo propery, and it works fine.
When I use credentials/password/metadata/modifyTimestamp in Query playground, I got an error:
Couldn't find a proper data item to query, given base entity Ent:RUser (jaxb=UserType) and this filter: LESS:
PATH: credentials/password/metadata/modifyTimestamp
DEF: PPD:{.../common/common-3}modifyTimestamp {xsd:}dateTime[0,1],RAM,oper,I
VALUE:
2020-06-12T16:55:32.120+03:00
query is:
<query>
<filter>
<less>
<path>credentials/password/metadata/modifyTimestamp</path>
<expression>
<script>
<code>
import javax.xml.datatype.DatatypeFactory;
calendar = basic.currentDateTime().toGregorianCalendar();
calendar.add(Calendar.DAY_OF_MONTH, +15);
xmldate = DatatypeFactory.newInstance().newXMLGregorianCalendar(calendar);
return xmldate;
</code>
</script>
</expression>
</less>
</filter>
</query>
From: "Pálos Gustáv" <gustav.palos at gmail.com>
To: "midpoint" <midpoint at lists.evolveum.com>
Sent: Monday, 25 May, 2020 12:48:19
Subject: Re: [midPoint] User password expiration notifications
Hi Vladislavs,
please see:
[ https://evolveum.com/how-to-notify-future-account-expiration/ | https://evolveum.com/how-to-notify-future-account-expiration/ ]
Best regards,
Gustav
po 25. 5. 2020 o 10:55 Vladislavs Filipciks < [ mailto:vladislavs.filipciks at csolutions.lv | vladislavs.filipciks at csolutions.lv ] > napísal(a):
Hello,
does MidPoint have any functionality to notify user about soon expiring password, that it should be changed?
I found possibility to notify user by e-mail about new password generated for him, but how to handle notification about expiring password? I didn't find any examples or topic in documentation for that.
Thank You in advance.
_______________________________________________
midPoint mailing list
[ mailto:midPoint at lists.evolveum.com | midPoint at lists.evolveum.com ]
[ https://lists.evolveum.com/mailman/listinfo/midpoint | https://lists.evolveum.com/mailman/listinfo/midpoint ]
--
s pozdravom
Gustáv Pálos
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200528/53dcd602/attachment.htm>
More information about the midPoint
mailing list