<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=us-ascii">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pr\00E9format\00E9 HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Pr\00E9format\00E9 HTML Car";
        mso-style-priority:99;
        mso-style-link:"Pr\00E9format\00E9 HTML";
        font-family:"Courier New";
        mso-fareast-language:FR;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 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="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">It’s maybe a bug (or a normal case but strange) about inbound mapping in resource.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In my case, I have an inbound mapping in resource than target a user schema extension field. When I doing modification from MP IHM in my user, the field result with my modification and not the inbound connector value.
 If I reconcile, I got the right value from connector …<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My use case is little strange. This field represent an account token expiration date, so the connector give me then expiration date (this is ok). When a user want to renew this token, he set some old date on this field,
 the connector create a new token and reply the new expiration date. In MP, I got the expiration date set by user (see by MP as evaluationNew in expression), not the expiration set by connector. I got some other case with the same ‘bug’. If I reconcile, the
 field is change correctly by the connector return value. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">So, in resume, inbound mapping are not respected when user set value in MP GUI. I test with ~all options like ‘strong’ and other. Value from MP are always prior than inbound value.
<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My code for sample :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When I reconcile user, I got the correct value (from connector) in user GUI `artifactoryTokenExpiry` field. But If I change it from GUI, the value of `’artifactoryTokenExpiry’ keep the value input by user. I expected
 than this value will be replace by inbound value instead of user input. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">(And if I reconcile, the value of artifactoryTokenExpiry change for inbound value, so user is not in ‘correct’ state).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:#1D1D26"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"><attribute
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">id</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="195"</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">><br>
    <</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">:ref
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">xmlns:</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">ri</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">ri:tokenExpiry</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">:ref><br>
    <tolerant></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">true</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></tolerant><br>
    <exclusiveStrong></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">false</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></exclusiveStrong><br>
    <outbound><br>
        <authoritative></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">true</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></authoritative><br>
        <exclusive></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">false</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></exclusive><br>
        <strength></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">normal</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></strength><br>
        <source><br>
            <</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">:path></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">$user/extension/artifactoryTokenExpiry</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">:path><br>
        </source><br>
        <expression><br>
            <script </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">xmlns:</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">xsi</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="http://www.w3.org/2001/XMLSchema-instance"
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">xsi</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">:type</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="c:ScriptExpressionEvaluatorType"</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">><br>
                <code></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR"><br>
                    import javax.xml.datatype.XMLGregorianCalendar<br>
                    <br>
                    return new Long((artifactoryTokenExpiry as XMLGregorianCalendar).toGregorianCalendar().getTimeInMillis());<br>
                </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></code><br>
            </script><br>
        </expression><br>
        <condition><br>
            <script </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">xmlns:</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">xsi</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="http://www.w3.org/2001/XMLSchema-instance"
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">xsi</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">:type</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="c:ScriptExpressionEvaluatorType"</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">><br>
                <code></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">artifactoryTokenExpiry != null</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></code><br>
            </script><br>
        </condition><br>
    </outbound><br>
    <inbound </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">id</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="198"</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">><br>
        <authoritative></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">false</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></authoritative><br>
        <exclusive></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">false</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></exclusive><br>
        <strength></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">strong</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></strength><br>
        <expression><br>
            <script </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">xmlns:</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">xsi</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="http://www.w3.org/2001/XMLSchema-instance"
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">xsi</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">:type</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="c:ScriptExpressionEvaluatorType"</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">><br>
                <code><br>
                    </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">import java.util.Date;<br>
                    import javax.xml.datatype.XMLGregorianCalendar;<br>
                    import javax.xml.datatype.DatatypeFactory;<br>
                    import java.util.GregorianCalendar;<br>
                    log.debug("New ? : " + midpoint.isEvaluateNew() + " Input for inbound on artifactory artifactoryTokenExpiry " + input )<br>
                    <o:p></o:p></span></p>
<p class="MsoNormal" style="background:#1D1D26"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">                    long time = new Long(input);<br>
                    Date date = new Date((long)time);<br>
                    GregorianCalendar c = new GregorianCalendar();<br>
                    c.setTime(date);<br>
                    XMLGregorianCalendar date2 = DatatypeFactory.newInstance().newXMLGregorianCalendar(c);<br>
                    <br>
                    return date2<br>
                </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></code><br>
            </script><br>
        </expression><br>
        <target><br>
            <</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">:path></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">$user/extension/artifactoryTokenExpiry</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">:path><br>
        </target><br>
        <condition><br>
            <script </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">xmlns:</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">xsi</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="http://www.w3.org/2001/XMLSchema-instance"
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#93A6F5;mso-fareast-language:FR">xsi</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">:type</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#62A362;mso-fareast-language:FR">="c:ScriptExpressionEvaluatorType"</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR">><br>
                <code></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR">!basic.isEmpty(input)
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C7A65D;mso-fareast-language:FR"></code><br>
            </script><br>
        </condition><br>
    </inbound><br>
</attribute></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#C9C9D1;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:black;mso-fareast-language:FR">Cordialement,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border:none;border-top:solid #00BBDF 3.0pt">
<tbody>
<tr>
<td width="708" valign="top" style="width:225.75pt;border:none;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="line-height:105%"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="mso-fareast-language:FR"><img width="174" height="22" style="width:1.8125in;height:.2291in" id="Image_x0020_1" src="cid:image001.png@01D723C7.82DBDCB0" alt="cid:8e2f30c3-f5eb-4f4e-aefb-9d083f8a3b45"></span><span lang="EN-US" style="color:black;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span lang="EN-US" style="color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><b><span lang="EN-US" style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:FR">Sylvaire-Kevin TIPA</span></b><i><span lang="EN-US" style="font-size:10.0pt;line-height:105%;color:#757B80;mso-fareast-language:FR">
<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:105%"><i><span lang="EN-US" style="font-size:10.0pt;line-height:105%;color:#767171;mso-fareast-language:FR">Thales Services / DIO / DevOps Automatisation
<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:105%"><span lang="EN-US" style="color:#BFBFBF;mso-fareast-language:FR">…………………………………………………………………………………………<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span lang="EN-US" style="font-size:9.0pt;line-height:105%;color:gray;mso-fareast-language:FR">THALES SERVICES SAS<br>
44 Quai Charles de Gaulle<br>
CS 20100<br>
69463 Lyon Cedex 06<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span lang="EN-US" style="color:#BFBFBF;mso-fareast-language:FR">…………………………………………………………………………………………<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:#1F497D;mso-fareast-language:FR"><a href="http://www.thalesgroup.com/"><span lang="EN-US" style="font-size:8.5pt;line-height:105%;font-family:"Arial",sans-serif;color:gray">www.thalesgroup.com</span></a></span><span lang="EN-US" style="color:#BFBFBF;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span lang="EN-US" style="color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<p style="font-size:8pt; line-height:10pt; font-family: 'Cambria','times roman',serif;">
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are
 notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
</p>
</body>
</html>