[midPoint] User password expiration notifications

Arnošt Starosta - AMI Praha a.s. arnost.starosta at ami.cz
Mon Jun 1 11:21:21 CEST 2020


Hi Vladislavs,

all schema files seem to be part of the source code, the UserType is right
here

https://github.com/Evolveum/midpoint/blob/master/infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd

and the rest is somewhere nearby in
http://midpoint/infra/schema/src/main/resources/xml/ns/

I check these all the time for reference.

arnost

čt 28. 5. 2020 v 20:27 odesílatel Vladislavs Filipciks <
vladislavs.filipciks at csolutions.lv> napsal:

> 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
>
> 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
>
> I am not sure if the implementation will deal with modifyTimestamp as well.
>
> Best regards,
>
> Pavol Mederly
> Software developerevolveum.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> <gustav.palos at gmail.com>
> *To: *"midpoint" <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/
>
> Best regards,
>
> Gustav
>
> po 25. 5. 2020 o 10:55 Vladislavs Filipciks <
> 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
>> 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 listmidPoint at lists.evolveum.comhttps://lists.evolveum.com/mailman/listinfo/midpoint
>
>
> _______________________________________________
> 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
>


-- 

*Arnošt Starosta*
solution architect

gsm: [+420] 603 794 932
e‑mail: arnost.starosta at ami.cz

*AMI Praha a.s.*
Pláničkova 11, 162 00 Praha 6

tel.: [+420] 274 783 239 | web: www.ami.cz

[image: AMI Praha a.s.]

Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá
za společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
písemnou formu.

Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může obsahovat
důvěrné nebo osobní
informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv
zveřejňování, zprostředkování
nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail neoprávněně,
informujte o tom prosím
odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně
všech jeho příloh. Nakládáním
s neoprávněně získanými informacemi se vystavujete riziku právního postihu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200601/c59f9561/attachment.htm>


More information about the midPoint mailing list