[midPoint] User password expiration notifications
Vladislavs Filipciks
vladislavs.filipciks at csolutions.lv
Thu May 28 20:27:34 CEST 2020
Hello.
Thanks for reply.
Maybe it's possible to extend user schema and map modifyTimestamp to the new property? What type activation/validFrom has, is it xsd:date?
btw, how can i find entire xml schema for user object?
Thanks
Vladislavs Fiļipčiks
+371 6784 7766
SIA “Corporate Solutions”
Pērnavas 43A-9, Rīga, LV-1009
[ http://www.csolutions.lv/ | www.csolutions.lv ]
Šis e-pasts un tā pielikumā esošie dokumenti var saturēt ierobežotas pieejamības informāciju, cita starpā fizisko personu datus, kas adresēta tikai tā saņēmējam un izmantojama tikai leģitīmiem mērķiem. Ja esat saņēmis šo e-pastu kļūdas dēļ, vai nav pamatota mērķa ierobežotas pieejamības informācijas, cita starpā fizisko personu datu, apstrādei, Jums nav tiesību izmantot vai pārsūtīt šajā e-pastā un tam pievienotajos dokumentos ietverto informāciju. Šādā gadījumā nekavējoties neatgriezeniski izdzēsiet šo e-pastu.
From: "Pavol Mederly" <mederly at evolveum.com>
To: "midpoint" <midpoint at lists.evolveum.com>
Sent: Thursday, 28 May, 2020 17:38:40
Subject: Re: [midPoint] User password expiration notifications
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 | 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" [ mailto:gustav.palos at gmail.com | <gustav.palos at gmail.com> ]
To: "midpoint" [ mailto:midpoint at lists.evolveum.com | <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):
BQ_BEGIN
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 ]
BQ_END
--
s pozdravom
Gustáv Pálos
_______________________________________________
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 ]
_______________________________________________
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 ]
_______________________________________________
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/ecfe5693/attachment.htm>
More information about the midPoint
mailing list