<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Vladislavs,</p>
<p>this is not yet supported. A related case is to be implemented in
4.2 (for createTimestamp).</p>
<p><a moz-do-not-send="true"
href="https://jira.evolveum.com/browse/MID-4575">https://jira.evolveum.com/browse/MID-4575</a></p>
<p>I am not sure if the implementation will deal with
modifyTimestamp as well.</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="moz-cite-prefix">On 28/05/2020 16:06, Vladislavs
Filipciks wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1426186010.5610618.1590674779755.JavaMail.zimbra@csolutions.lv">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div style="font-family: arial, helvetica, sans-serif; font-size:
10pt; color: #000000">
<div>I've tried Your example with activation/validTo propery,
and it works fine.<br>
</div>
<div>When I use credentials/password/metadata/modifyTimestamp in
Query playground, I got an error:</div>
<div><br data-mce-bogus="1">
</div>
<div>
<div><span style="font-size: 13.3333px;">Couldn't find a
proper data item to query, given base entity Ent:RUser
(jaxb=UserType) and this filter: LESS:</span></div>
<div><span style="font-size: 13.3333px;"> PATH:
credentials/password/metadata/modifyTimestamp</span></div>
<div><span style="font-size: 13.3333px;"> DEF:
PPD:{.../common/common-3}modifyTimestamp
{xsd:}dateTime[0,1],RAM,oper,I</span></div>
<div><span style="font-size: 13.3333px;"> VALUE:</span></div>
<div><span style="font-size: 13.3333px;">
2020-06-12T16:55:32.120+03:00</span></div>
<div><span style="font-size: 13.3333px;"><br
data-mce-bogus="1">
</span></div>
<div><span style="font-size: 13.3333px;">query is:</span></div>
<div><span style="font-size: 13.3333px;"><br
data-mce-bogus="1">
</span></div>
<div>
<div style=""><span style="font-size: 13.3333px;"><query></span></div>
<div style=""><span style="font-size: 13.3333px;">
<filter></span></div>
<div style=""><span style="font-size: 13.3333px;">
<less></span></div>
<div style=""><span style="font-size: 13.3333px;">
<path>credentials/password/metadata/modifyTimestamp</path></span></div>
<div style=""><span style="font-size: 13.3333px;">
<expression></span></div>
<div style=""><span style="font-size: 13.3333px;">
<script></span></div>
<div style=""><span style="font-size: 13.3333px;">
<code></span></div>
<div style=""><span style="font-size: 13.3333px;">
import javax.xml.datatype.DatatypeFactory;</span></div>
<div style=""><span style="font-size: 13.3333px;">calendar =
basic.currentDateTime().toGregorianCalendar();</span></div>
<div style=""><span style="font-size: 13.3333px;">calendar.add(Calendar.DAY_OF_MONTH,
+15);</span></div>
<div style=""><span style="font-size: 13.3333px;">xmldate =
DatatypeFactory.newInstance().newXMLGregorianCalendar(calendar);</span></div>
<div style=""><span style="font-size: 13.3333px;">return
xmldate;</span></div>
<div style=""><span style="font-size: 13.3333px;">
</code></span></div>
<div style=""><span style="font-size: 13.3333px;">
</script></span></div>
<div style=""><span style="font-size: 13.3333px;">
</expression></span></div>
<div style=""><span style="font-size: 13.3333px;">
</less></span></div>
<div style=""><span style="font-size: 13.3333px;">
</filter></span></div>
<div style=""><span style="font-size: 13.3333px;"></query></span></div>
</div>
</div>
<div style=""><span style="font-size: 13.3333px;"><br>
</span></div>
<hr id="zwchr" data-marker="__DIVIDER__">
<div data-marker="__HEADERS__"><b>From: </b>"Pálos Gustáv"
<a class="moz-txt-link-rfc2396E" href="mailto:gustav.palos@gmail.com"><gustav.palos@gmail.com></a><br>
<b>To: </b>"midpoint" <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
<b>Sent: </b>Monday, 25 May, 2020 12:48:19<br>
<b>Subject: </b>Re: [midPoint] User password expiration
notifications<br>
</div>
<div><br>
</div>
<div data-marker="__QUOTED_TEXT__">
<div dir="ltr">Hi Vladislavs, <br>
<div>please see:</div>
<div><a
href="https://evolveum.com/how-to-notify-future-account-expiration/"
target="_blank" rel="nofollow noopener noreferrer"
moz-do-not-send="true">https://evolveum.com/how-to-notify-future-account-expiration/</a> </div>
<br>
<div>Best regards,</div>
<br>
<div>Gustav <br>
</div>
</div>
<br>
<div class="elided-text">
<div dir="ltr">po 25. 5. 2020 o 10:55 Vladislavs Filipciks
<<a href="mailto:vladislavs.filipciks@csolutions.lv"
target="_blank" rel="nofollow noopener noreferrer"
moz-do-not-send="true">vladislavs.filipciks@csolutions.lv</a>>
napísal(a):<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb( 204 , 204 , 204
);padding-left:1ex">
<div>
<div style="font-family:'arial' , 'helvetica' ,
sans-serif;font-size:10pt;color:rgb( 0 , 0 , 0 )">
<div>Hello,</div>
<br>
<div>does MidPoint have any functionality to notify
user about soon expiring password, that it should be
changed?</div>
<div>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.</div>
<br>
<div>Thank You in advance.</div>
<br>
</div>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com"
target="_blank" rel="nofollow noopener noreferrer"
moz-do-not-send="true">midPoint@lists.evolveum.com</a><br>
<a
href="https://lists.evolveum.com/mailman/listinfo/midpoint"
rel="noreferrer nofollow noopener noreferrer"
target="_blank" moz-do-not-send="true">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">s pozdravom<br>
<div>Gustáv Pálos</div>
</div>
<br>
_______________________________________________<br>
midPoint mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
</body>
</html>