<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
h1
{mso-style-priority:9;
mso-style-link:"Überschrift 1 Zchn";
margin-top:24.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:14.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
h2
{mso-style-priority:9;
mso-style-link:"Überschrift 2 Zchn";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:13.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
h3
{mso-style-priority:9;
mso-style-link:"Überschrift 3 Zchn";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
h4
{mso-style-priority:9;
mso-style-link:"Überschrift 4 Zchn";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;
font-style:italic;}
h5
{mso-style-priority:9;
mso-style-link:"Überschrift 5 Zchn";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:normal;}
h6
{mso-style-priority:9;
mso-style-link:"Überschrift 6 Zchn";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:normal;
font-style:italic;}
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
{mso-style-priority:9;
mso-style-link:"Überschrift 7 Zchn";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-style:italic;}
p.MsoHeading8, li.MsoHeading8, div.MsoHeading8
{mso-style-priority:9;
mso-style-link:"Überschrift 8 Zchn";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:10.0pt;
font-family:"Times New Roman",serif;}
p.MsoHeading9, li.MsoHeading9, div.MsoHeading9
{mso-style-priority:9;
mso-style-link:"Überschrift 9 Zchn";
margin-top:10.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:10.0pt;
font-family:"Times New Roman",serif;
font-style:italic;}
p.MsoIndex1, li.MsoIndex1, div.MsoIndex1
{mso-style-priority:99;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:11.0pt;
margin-bottom:.0001pt;
text-indent:-11.0pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
{mso-style-priority:99;
mso-style-link:"Kopfzeile Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
{mso-style-priority:99;
mso-style-link:"Fußzeile Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.MsoIndexHeading, li.MsoIndexHeading, div.MsoIndexHeading
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
p.MsoCaption, li.MsoCaption, div.MsoCaption
{mso-style-priority:35;
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
p.MsoEnvelopeAddress, li.MsoEnvelopeAddress, div.MsoEnvelopeAddress
{mso-style-priority:99;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:.05pt;
margin-bottom:.0001pt;
mso-element:frame;
mso-element-frame-width:216.0pt;
mso-element-frame-height:108.0pt;
mso-element-frame-hspace:7.05pt;
mso-element-wrap:auto;
mso-element-anchor-horizontal:page;
mso-element-left:center;
mso-element-top:bottom;
mso-height-rule:exactly;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.MsoEnvelopeReturn, li.MsoEnvelopeReturn, div.MsoEnvelopeReturn
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Times New Roman",serif;}
p.MsoMacroText, li.MsoMacroText, div.MsoMacroText
{mso-style-priority:99;
mso-style-link:"Makrotext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Arial",sans-serif;
mso-fareast-language:EN-US;}
p.MsoToaHeading, li.MsoToaHeading, div.MsoToaHeading
{mso-style-priority:99;
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
{mso-style-priority:10;
mso-style-link:"Titel Zchn";
margin-top:0cm;
margin-right:0cm;
margin-bottom:15.0pt;
margin-left:0cm;
mso-add-space:auto;
border:none;
padding:0cm;
font-size:26.0pt;
font-family:"Times New Roman",serif;
letter-spacing:.25pt;}
p.MsoTitleCxSpFirst, li.MsoTitleCxSpFirst, div.MsoTitleCxSpFirst
{mso-style-priority:10;
mso-style-link:"Titel Zchn";
mso-style-type:export-only;
margin:0cm;
margin-bottom:.0001pt;
mso-add-space:auto;
border:none;
padding:0cm;
font-size:26.0pt;
font-family:"Times New Roman",serif;
letter-spacing:.25pt;}
p.MsoTitleCxSpMiddle, li.MsoTitleCxSpMiddle, div.MsoTitleCxSpMiddle
{mso-style-priority:10;
mso-style-link:"Titel Zchn";
mso-style-type:export-only;
margin:0cm;
margin-bottom:.0001pt;
mso-add-space:auto;
border:none;
padding:0cm;
font-size:26.0pt;
font-family:"Times New Roman",serif;
letter-spacing:.25pt;}
p.MsoTitleCxSpLast, li.MsoTitleCxSpLast, div.MsoTitleCxSpLast
{mso-style-priority:10;
mso-style-link:"Titel Zchn";
mso-style-type:export-only;
margin-top:0cm;
margin-right:0cm;
margin-bottom:15.0pt;
margin-left:0cm;
mso-add-space:auto;
border:none;
padding:0cm;
font-size:26.0pt;
font-family:"Times New Roman",serif;
letter-spacing:.25pt;}
p.MsoMessageHeader, li.MsoMessageHeader, div.MsoMessageHeader
{mso-style-priority:99;
mso-style-link:"Nachrichtenkopf Zchn";
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:2.0cm;
margin-bottom:.0001pt;
text-indent:-2.0cm;
background:#CCCCCC;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle
{mso-style-priority:11;
mso-style-link:"Untertitel Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
letter-spacing:.75pt;
font-style:italic;}
p.MsoBlockText, li.MsoBlockText, div.MsoBlockText
{mso-style-priority:99;
margin-top:0cm;
margin-right:57.6pt;
margin-bottom:0cm;
margin-left:57.6pt;
margin-bottom:.0001pt;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-style:italic;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoDocumentMap, li.MsoDocumentMap, div.MsoDocumentMap
{mso-style-priority:99;
mso-style-link:"Dokumentstruktur Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Times New Roman",serif;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Nur Text Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:"Times New Roman",serif;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
code
{mso-style-priority:99;
font-family:"Arial",sans-serif;
color:windowtext;}
kbd
{mso-style-priority:99;
font-family:"Arial",sans-serif;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
samp
{mso-style-priority:99;
font-family:"Arial",sans-serif;}
tt
{mso-style-priority:99;
font-family:"Arial",sans-serif;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Times New Roman",serif;}
p.MsoIntenseQuote, li.MsoIntenseQuote, div.MsoIntenseQuote
{mso-style-priority:30;
mso-style-link:"Intensives Zitat Zchn";
margin-top:10.0pt;
margin-right:46.8pt;
margin-bottom:14.0pt;
margin-left:46.8pt;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;
font-style:italic;}
span.MsoIntenseEmphasis
{mso-style-priority:21;
color:windowtext;
font-weight:bold;
font-style:italic;}
span.MsoSubtleReference
{mso-style-priority:31;
font-variant:small-caps;
color:windowtext;
text-decoration:underline;}
span.MsoIntenseReference
{mso-style-priority:32;
font-variant:small-caps;
color:windowtext;
letter-spacing:.25pt;
font-weight:bold;
text-decoration:underline;}
span.MsoBookTitle
{mso-style-priority:33;
font-variant:small-caps;
letter-spacing:.25pt;
font-weight:bold;}
p.MsoTocHeading, li.MsoTocHeading, div.MsoTocHeading
{mso-style-priority:39;
margin-top:24.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:14.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
span.berschrift1Zchn
{mso-style-name:"Überschrift 1 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 1";
font-family:"Arial",sans-serif;
font-weight:bold;}
span.berschrift2Zchn
{mso-style-name:"Überschrift 2 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 2";
font-family:"Arial",sans-serif;
font-weight:bold;}
span.berschrift3Zchn
{mso-style-name:"Überschrift 3 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 3";
font-family:"Arial",sans-serif;
font-weight:bold;}
span.berschrift4Zchn
{mso-style-name:"Überschrift 4 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 4";
font-family:"Arial",sans-serif;
font-weight:bold;
font-style:italic;}
span.berschrift5Zchn
{mso-style-name:"Überschrift 5 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 5";
font-family:"Arial",sans-serif;}
span.berschrift6Zchn
{mso-style-name:"Überschrift 6 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 6";
font-family:"Arial",sans-serif;
font-style:italic;}
span.berschrift7Zchn
{mso-style-name:"Überschrift 7 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 7";
font-family:"Arial",sans-serif;
font-style:italic;}
span.berschrift8Zchn
{mso-style-name:"Überschrift 8 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 8";
font-family:"Arial",sans-serif;}
span.berschrift9Zchn
{mso-style-name:"Überschrift 9 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 9";
font-family:"Arial",sans-serif;
font-style:italic;}
span.TitelZchn
{mso-style-name:"Titel Zchn";
mso-style-priority:10;
mso-style-link:Titel;
font-family:"Arial",sans-serif;
letter-spacing:.25pt;}
span.UntertitelZchn
{mso-style-name:"Untertitel Zchn";
mso-style-priority:11;
mso-style-link:Untertitel;
font-family:"Arial",sans-serif;
letter-spacing:.75pt;
font-style:italic;}
span.IntensivesZitatZchn
{mso-style-name:"Intensives Zitat Zchn";
mso-style-priority:30;
mso-style-link:"Intensives Zitat";
font-family:"Arial",sans-serif;
font-weight:bold;
font-style:italic;}
span.DokumentstrukturZchn
{mso-style-name:"Dokumentstruktur Zchn";
mso-style-priority:99;
mso-style-link:Dokumentstruktur;
font-family:"Arial",sans-serif;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:"Arial",sans-serif;}
span.MakrotextZchn
{mso-style-name:"Makrotext Zchn";
mso-style-priority:99;
mso-style-link:Makrotext;
font-family:"Arial",sans-serif;}
span.NachrichtenkopfZchn
{mso-style-name:"Nachrichtenkopf Zchn";
mso-style-priority:99;
mso-style-link:Nachrichtenkopf;
font-family:"Arial",sans-serif;
background:#CCCCCC;}
span.NurTextZchn
{mso-style-name:"Nur Text Zchn";
mso-style-priority:99;
mso-style-link:"Nur Text";
font-family:"Arial",sans-serif;}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Arial",sans-serif;}
span.KopfzeileZchn
{mso-style-name:"Kopfzeile Zchn";
mso-style-priority:99;
mso-style-link:Kopfzeile;
font-family:"Arial",sans-serif;}
span.FuzeileZchn
{mso-style-name:"Fußzeile Zchn";
mso-style-priority:99;
mso-style-link:Fußzeile;
font-family:"Arial",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage209
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:#4A4A4A;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.E-MailFormatvorlage210
{mso-style-type:personal-compose;
font-family:"Arial",sans-serif;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US">we use something like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US">//get resource, e.g.:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US">Def resLDAP = midpoint.searchObjectByName(ResourceType.class, "LDAP");<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A">def deltasShadow = []<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A">//”person” is the objectclass<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A">def attrdef = midpoint.getAttributeDefinition(resLDAP.asPrismObject(), "person", "pwdReset")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A">def deltaPwdReset = midpoint.deltaFor(ShadowType.class).item(ItemPath.create(ShadowType.F_ATTRIBUTES, attrdef.itemName), attrdef).replace("TRUE").asObjectDelta(shadowLDAP.oid);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A">deltasShadow.add(deltaPwdReset)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A">def deltasRes = midpoint.executeChanges(deltasShadow);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US">best regards, Michael<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#4A4A4A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> midPoint <midpoint-bounces@lists.evolveum.com>
<b>Im Auftrag von </b>Arnošt Starosta - AMI Praha a.s. via midPoint<br>
<b>Gesendet:</b> Donnerstag, 8. April 2021 18:47<br>
<b>An:</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Cc:</b> Arnošt Starosta - AMI Praha a.s. <arnost.starosta@ami.cz>; Pavol Mederly <mederly@evolveum.com><br>
<b>Betreff:</b> Re: [midPoint] DeltaBuilder for ShadowType - add an attribute value to the resource - Undefined or dynamic path error<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Frederic,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I used this hand made PrismPropertyDefinition definition for a ShadowType query, may help in delta builder as well.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">def sAMQName = new QName('<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>', 'sAMAccountName')<br>
def sAMDef = new PrismPropertyDefinitionImpl(sAMQName, DOMUtil.XSD_STRING, midpoint.prismContext)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> .item(ItemPath.create('attributes', 'sAMAccountName'), sAMDef)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">arnost<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">čt 8. 4. 2021 v 18:26 odesílatel Frédéric Lohier via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>> napsal:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div style="margin-top:12.0pt;margin-bottom:12.0pt">
<div>
<div>
<div>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Hello Pavol,<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Thank you for the suggested workaround and the jira issue, but I could not make it work. The closest I got was :<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">def delta = DeltaBuilder.deltaFor(ShadowType.class, prismContext)</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="text-indent:35.4pt;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">.item(ItemPath.create(ShadowType.F_ATTRIBUTES, "pwdReset"), pwdResetDefinition)</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="text-indent:35.4pt;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">.replace("TRUE")</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="text-indent:35.4pt;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">.asObjectDelta(projection.getOid())</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">But, I don’t know how to get the ResourceAttributeDefinition for my pwdResetDefinition variable.<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">As I workaround, I tried to modify the user’s credentials/password/forceChange attribute and add a mapping to the ri :pwdReset attribute but I also could not make it work. The deltabuilder in the
credential mapping works, I can see that the user’s forceChange attribute is set to TRUE when I edit the password throught the GUI, <b>but this change is not synced to the resource</b>.<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">How could this behaviour be explained? What am I missing?<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">I checked that my pwdReset outbound mapping works : if I manually set the forceChange attribute through the GUI, then the resource’s pwdReset attribute is set to TRUE.<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">For reference, the aforementioned mappings :<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">credentials</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">password</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">name</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">Password and pwdReset (to
force the password reset by user)</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">name</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">strong</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">channel</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user%3C/channel" target="_blank"><span style="color:#4285F4">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:gray"></</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#569CD6">c</span><span style="color:#569CD6">hanne</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#569CD6">l</span></a></span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">expression</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">script</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">code</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> // If password modification comes from an Midpoint admin (channel #user), then we set the credentials/password/forceChange user’s attribute to true, which will then be
synced to the Open LDAP pwdReset attribute (this will force the user to reset his password)</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> import com.evolveum.midpoint.prism.impl.delta.builder.*</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> import com.evolveum.midpoint.xml.ns._public.common.common_3.*</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> import com.evolveum.prism.xml.ns._public.types_3.*</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> def prismContext = midpoint.getPrismContext()</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> def delta = DeltaBuilder.deltaFor(UserType.class, prismContext)</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> .item(UserType.F_CREDENTIALS, CredentialsType.F_PASSWORD, PasswordType.F_FORCE_CHANGE)</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> .replace("TRUE")</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> .asObjectDelta(focus.getOid())</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> midpoint.modifyObject(delta, null)</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> // Then we return the password value anyway</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> return input</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">code</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">script</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">expression</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">name</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> Simple
password mapping</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">name</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">description</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">We
apply this mapping every time, except if the modification is done on the Midpoint GUI (by an IDM admin)</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">description</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">strong</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">exceptChannel</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user%3C/exceptChannel" target="_blank"><span style="color:#4285F4">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:gray"></</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#569CD6">exceptChannel</span></a></span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">inbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">password</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">credentials</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">attribute</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">ref</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">ri:pwdReset</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">ref</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">tolerant</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">true</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">tolerant</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">channel</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user" target="_blank"><span style="color:#4285F4">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span></a></span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">channel</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">strong</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">source</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">path</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">$focus/credentials/password/forceChange</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">path</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">source</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">inbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">exceptChannel</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user" target="_blank"><span style="color:#4285F4">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span></a></span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">exceptChannel</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">strong</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">target</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">path</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">$focus/credentials/password/forceChange</span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">path</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">target</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">inbound</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p style="line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569CD6">attribute</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Logs when I modify the password value of a user through the midpoint GUI (the delta I am building in the credentials mapping is mentioned as « debugdelta ») :<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:45,012 [MODEL] [pool-3-thread-142] INFO (com.evolveum.midpoint.expression): - <b>debugdelta:</b> <b>ObjectDelta<UserType>(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY):</b><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> <b>credentials/password/forceChange</b><o:p></o:p></span></p>
<p><b><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ADD: TRUE</span></b><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:45,298 [MODEL] [pool-3-thread-142] DEBUG (com.evolveum.midpoint.model.impl.lens.Clockwork): Context rot: projection LensProjectionContext(ShadowType:574a2c41-b0ea-45a1-b006-3e0f980165f7
on resource:xxxx (Arobas - IDP LDAP)) rotten because of executable delta ObjectDelta(ShadowType:574a2c41-b0ea-45a1-b006-3e0f980165f7,MODIFY: PropertyDeltaImpl(attributes / {.../resource/instance-3}pwdReset, REPLACE))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:45,298 [MODEL] [pool-3-thread-142] DEBUG (com.evolveum.midpoint.model.impl.lens.Clockwork): Context rot: context rotten because of focus execution delta ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY:
PropertyDeltaImpl(credentials/password / {.../common/common-3}forceChange, ADD), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTimestamp,
REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTaskRef, REPLACE))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:45,400 [MODEL] [pool-3-thread-142] DEBUG (com.evolveum.midpoint.model.impl.lens.Clockwork):<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">###[ CLOCKWORK SUMMARY ]######################################<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Channel: <a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user" target="_blank"><span style="color:#4285F4">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span></a><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Triggered by focus primary delta<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY: PropertyDeltaImpl(credentials/password / {.../common/common-3}<b>forceChange, ADD</b>))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Focus: focus(user:a0d85100-354e-450d-9ad1-8d2028d8336c(admlutunp))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Projections (1):<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> account(ID {.../resource/instance-3}entryUUID = [ a4407a92-56fa-103a-868e-afc68d38775e ], type 'default', resource:d0811790-1d80-11e4-86b2-3c970e467874(Arobas - IDP LDAP)): KEEP<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Executed:<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY: PropertyDeltaImpl(credentials/password / {.../common/common-3}forceChange, ADD), PropertyDeltaImpl(credentials/password/metadata
/ {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTimestamp, REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(credentials/password/metadata
/ {.../common/common-3}modifyTaskRef, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}lastProvisioningTimestamp, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyTimestamp,
REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyTaskRef, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyApproverRef, REPLACE), PropertyDeltaImpl(metadata
/ {.../common/common-3}modifyApprovalComment, REPLACE)): SUCCESS<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ObjectDelta(ShadowType:574a2c41-b0ea-45a1-b006-3e0f980165f7,MODIFY: PropertyDeltaImpl(attributes / {.../resource/instance-3}pwdReset, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyChannel,
REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyTimestamp, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyTaskRef, REPLACE), ReferenceDeltaImpl(metadata
/ {.../common/common-3}modifyApproverRef, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyApprovalComment, REPLACE)): SUCCESS<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">##############################################################<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:45,465 [MODEL] [pool-3-thread-142] INFO (com.evolveum.midpoint.expression): - <b>debugdelta:</b> <b>ObjectDelta<UserType>(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY):</b><o:p></o:p></span></p>
<p><b><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> credentials/password/forceChange</span></b><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><b><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ADD: TRUE</span></b><span style="font-size:9.5pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:45,623 [MODEL] [pool-3-thread-142] DEBUG (com.evolveum.midpoint.model.impl.lens.Clockwork): Context rot: context rotten because of focus execution delta ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY:
PropertyDeltaImpl(credentials/password / {.../common/common-3}forceChange, ADD), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTimestamp,
REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTaskRef, REPLACE))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:45,679 [MODEL] [pool-3-thread-142] DEBUG (com.evolveum.midpoint.model.impl.lens.Clockwork):<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">###[ CLOCKWORK SUMMARY ]######################################<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Channel: <a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user" target="_blank"><span style="color:#4285F4">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span></a><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Triggered by focus primary delta<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY: PropertyDeltaImpl(credentials/password / {.../common/common-3}<b>forceChange, ADD</b>))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Focus: focus(user:a0d85100-354e-450d-9ad1-8d2028d8336c(admlutunp))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Projections (1):<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> account(ID {.../resource/instance-3}entryUUID = [ a4407a92-56fa-103a-868e-afc68d38775e ], type 'default', resource:xxx(Arobas - IDP LDAP)): KEEP<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Executed:<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY: PropertyDeltaImpl(credentials/password / {.../common/common-3}forceChange, ADD), PropertyDeltaImpl(credentials/password/metadata
/ {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTimestamp, REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(credentials/password/metadata
/ {.../common/common-3}modifyTaskRef, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyTimestamp, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifierRef,
REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyTaskRef, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyApproverRef, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyApprovalComment, REPLACE)): SUCCESS<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">##############################################################<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:45,929 [MODEL] [pool-3-thread-142] DEBUG (com.evolveum.midpoint.model.impl.lens.Clockwork): Context rot: context rotten because of focus execution delta ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY:
PropertyDeltaImpl(credentials/password / {.../common/common-3}value, REPLACE), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTimestamp,
REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTaskRef, REPLACE))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">2021-04-08 18:08:46,009 [MODEL] [pool-3-thread-142] DEBUG (com.evolveum.midpoint.model.impl.lens.Clockwork):<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">###[ CLOCKWORK SUMMARY ]######################################<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Channel: <a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user" target="_blank"><span style="color:#4285F4">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span></a><o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Triggered by focus primary delta<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY: PropertyDeltaImpl(credentials/password / {.../common/common-3}<b>value, REPLACE</b>))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Focus: focus(user:a0d85100-354e-450d-9ad1-8d2028d8336c(admlutunp))<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Projections (1):<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> account(ID {.../resource/instance-3}entryUUID = [ a4407a92-56fa-103a-868e-afc68d38775e ], type 'default', resource:xxx(Arobas - IDP LDAP)): KEEP<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Executed:<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ObjectDelta(UserType:a0d85100-354e-450d-9ad1-8d2028d8336c,MODIFY: PropertyDeltaImpl(credentials/password / {.../common/common-3}value, REPLACE), PropertyDeltaImpl(credentials/password/metadata
/ {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTimestamp, REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(credentials/password/metadata
/ {.../common/common-3}modifyTaskRef, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}lastProvisioningTimestamp, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyTimestamp,
REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyTaskRef, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyApproverRef, REPLACE), PropertyDeltaImpl(metadata
/ {.../common/common-3}modifyApprovalComment, REPLACE)): SUCCESS<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif"> ObjectDelta(ShadowType:574a2c41-b0ea-45a1-b006-3e0f980165f7,MODIFY: PropertyDeltaImpl(credentials/password / {.../common/common-3}value, REPLACE), PropertyDeltaImpl(credentials/password/metadata
/ {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(credentials/password/metadata / {.../common/common-3}modifyTimestamp, REPLACE), ReferenceDeltaImpl(credentials/password/metadata / {.../common/common-3}modifierRef, REPLACE), ReferenceDeltaImpl(credentials/password/metadata
/ {.../common/common-3}modifyTaskRef, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyChannel, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyTimestamp, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifierRef,
REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyTaskRef, REPLACE), ReferenceDeltaImpl(metadata / {.../common/common-3}modifyApproverRef, REPLACE), PropertyDeltaImpl(metadata / {.../common/common-3}modifyApprovalComment, REPLACE)): SUCCESS<o:p></o:p></span></p>
<p><span style="font-size:9.5pt;font-family:"Arial",sans-serif">##############################################################<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Apr 8, 2021, 08:32 Pavol Mederly via midPoint <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p>Hello Frédéric,<o:p></o:p></p>
<p>unfortunately I have currently no time to analyze your specific problem, but the issue you see with the delta builder is an inherent limitation of that API. For more information and a suggested workaround please see
<a href="https://jira.evolveum.com/browse/MID-6981" target="_blank">https://jira.evolveum.com/browse/MID-6981</a>.<o:p></o:p></p>
<p>Best regards,<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Pavol Mederly<o:p></o:p></pre>
<pre>Software developer<o:p></o:p></pre>
<pre><a href="http://evolveum.com" target="_blank">evolveum.com</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 07/04/2021 17:27, Frédéric Lohier via midPoint wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal">Hello,<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR">Following up my last email « Set resource attribute pwdReset when password changed by Midpoint GUI by IDM admin », I think the password mapping using channels is
the way to go. <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR">What I want to do now is to set this attribute in the password mapping context using groovy. This attribute exists in the resource schema as an operational attribute
and I can manualy set this attribute for a user through midpoint GUI (edit projection tab).<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR">My guess is that I have to « build a delta » for the correspondant shadow object. Am I right?<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR">I know the shadow OID thanks to the projection variable (projection.getOid()), I tried to build the delta using some examples around, but I get the error « Undefined
or dynamic path: pwdReset in: CTD ({.../common/common-3}ShadowType) ». Any idea of what I am doing wrong?<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR">The full password mapping :
<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">credentials</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span>
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">password</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">name</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">Password and pwdReset (to
force the password reset by user)</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">name</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">strong</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">channel</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user%3C/channel" target="_blank">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:gray;text-decoration:none"></</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#569CD6;text-decoration:none">c</span><span style="color:#569CD6;text-decoration:none">hanne</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#569CD6;text-decoration:none">l</span></a></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">expression</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">script</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">code</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> // If password modification comes from an Midpoint admin (channel #user), then we set the Open LDAP pwdReset attribute to TRUE (this will force the user to reset
his password)</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> import com.evolveum.midpoint.prism.impl.delta.builder.*</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> import com.evolveum.midpoint.xml.ns._public.common.common_3.*</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> import com.evolveum.prism.xml.ns._public.types_3.*</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> def prismContext = midpoint.getPrismContext()</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> def shadowOid = projection.getOid()</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> def delta = DeltaBuilder.deltaFor(ShadowType.class, prismContext)</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:35.4pt;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> .item(ShadowType.F_ATTRIBUTES, "pwdReset")</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> .add("TRUE")</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> .asObjectDelta(shadowOid)</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> midpoint.modifyObject(delta, null)</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> // Then we return the password value anyway</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> return input</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">code</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">script</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">expression</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">name</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">
Simple password mapping</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">name</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">description</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">We
apply this mapping every time, except if the modification is done on the Midpoint GUI (by an IDM admin)</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">description</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4">strong</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">strength</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">exceptChannel</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"><a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user%3C/exceptChannel" target="_blank">http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:gray;text-decoration:none"></</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#569CD6;text-decoration:none">exceptChannel</span></a></span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">outbound</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">inbound</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">password</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#569CD6">credentials</span><span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:14.25pt;background:#1E1E1E;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span lang="FR" style="font-size:10.5pt;font-family:Consolas;color:#D4D4D4"> </span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR">Error :<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR">java.lang.IllegalArgumentException: Undefined or dynamic path: pwdReset in: CTD ({.../common/common-3}ShadowType)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at com.evolveum.midpoint.prism.impl.delta.builder.DeltaBuilder.item(DeltaBuilder.java:92)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at com.evolveum.midpoint.prism.impl.delta.builder.DeltaBuilder.item(DeltaBuilder.java:85)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSite.invoke(PojoMetaMethodSite.java:188)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at expression_in_mapping_'Password_and_pwdReset_(to_force_the_password_reset_by_user)'_in_password_mapping_in_projection_(account_(default)_on_resource_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx(LDAP)).run(expression
in mapping 'Password_and_pwdReset_(to_force_the_password_reset_by_user)' in password mapping in projection (account (default) on resource: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (LDAP)):13)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:203)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:50)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:76)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="FR"> ... 36 common frames omitted<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
</div>
<p class="MsoNormal">_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal">_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p><strong><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Arnošt Starosta</span></strong><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><br>
</span><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:gray">solution architect</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<p><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:black">gsm: [+420] 603 794 932<br>
e‑mail: <a href="mailto:arnost.starosta@ami.cz" target="_blank">arnost.starosta@ami.cz</a><o:p></o:p></span></p>
<p><strong><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:black">AMI Praha a.s.</span></strong><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:black"><br>
Pláničkova 11, 162 00 Praha 6<o:p></o:p></span></p>
<p><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:black">tel.: [+420] 274 783 239 | web: <a href="https://www.ami.cz" target="_blank">www.ami.cz</a><o:p></o:p></span></p>
<p style="margin-top:15.0pt"><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black"><img border="0" id="_x0000_i1025" src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="AMI Praha a.s."><o:p></o:p></span></p>
<p><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#AAAAAA">Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.<br>
</span><span style="font-size:4.5pt;font-family:"Arial",sans-serif;color:#AAAAAA"> </span><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#AAAAAA"><br>
Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může obsahovat důvěrné nebo osobní<br>
informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv zveřejňování, zprostředkování<br>
nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail neoprávněně, informujte o tom prosím<br>
odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně všech jeho příloh. Nakládáním<br>
s neoprávněně získanými informacemi se vystavujete riziku právního postihu.<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<div>
<p><span style="font-family: Arial; font-size: 11px;"><br></span></p><p><span style="font-family: Arial; font-size: 11px;">WWK Lebensversicherung a. G., Vorstand: Jürgen Schrameier (V.), Rainer Gebhart (stv. V.), Dirk Fassott; Vorsitzender des Aufsichtsrats: Dr. Frank Schindelhauer, Sitz München, Registergericht München HR B 211; WWK Allgemeine Versicherung AG, Vorstand: Jürgen Schrameier (V.), Rainer Gebhart (stv. V.), Dirk Fassott; Vorsitzender des Aufsichtsrats: Prof. Dr. Peter Reiff, Sitz München, Registergericht München HR B 5553; WWK Vermögensverwaltungs und Dienstleistungs GmbH, Geschäftsführer: Karl Ruffing, Stefan Sedlmeir, Sitz München, Registergericht München HR B 76323; WWK IT GmbH, Geschäftsführer: Erik Trump, Sitz München, Registergericht München HR B 257638; WWK Pensionsfonds AG, Vorstand: Karl Ruffing, Heinrich Schüppert, Georg Steinlein; Vorsitzender des Aufsichtsrats: Dirk Fassott, Sitz München, Registergericht München HR B 146295; Hausanschrift: Marsstraße 37, 80335 München; WWK Investment S.A., Verwaltungsrat: Karl Ruffing (V.), Stefan Bauer, Christoph Kraiker (Hauck & Aufhäuser), Handelsregister: R.C. Luxembourg Nr. B 81 270, Sitz der Gesellschaft: 1c, rue Gabriel Lippmann, L-5365 Munsbach</span></p>
</div></body>
</html>