[midPoint] User password expiration notifications

Pavol Mederly mederly at evolveum.com
Thu May 28 16:38:40 CEST 2020


Hello Vladislavs,

this is not yet supported. A related case is to be implemented in 4.2 
(for createTimestamp).

https://jira.evolveum.com/browse/MID-4575

I am not sure if the implementation will deal with modifyTimestamp as well.

Best regards,

Pavol Mederly
Software developer
evolveum.com

On 28/05/2020 16:06, Vladislavs Filipciks wrote:
> 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/
>
> Best regards,
>
> Gustav
>
> po 25. 5. 2020 o 10:55 Vladislavs Filipciks 
> <vladislavs.filipciks at csolutions.lv 
> <mailto: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
>     midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>     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
>
> _______________________________________________
> 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/0811cbf9/attachment.htm>


More information about the midPoint mailing list