<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      There is no easy way to do this. Not now. The underlying structure
      of midPoint error messages is not designed to support formatting.
      It might complicate the code. And operation results messages and
      exceptions are used at many places, we need to seriously consider
      all negative impacts that it might have.<br>
      <br>
      What I think we would like to have instead is a more user-friendly
      way how to set password and check password policies. I mean
      something like a special UI panel that will display password
      policy violations in a nice structured form, maybe display
      interactive password strength meter and so on. But of course, this
      needs endorsement from platform subscriber to be put on a roadmap.<br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Radovan Semancik
Software Architect
evolveum.com</pre>
      <br>
      <br>
      On 08/14/2018 07:48 AM, Petr Gašparík - AMI Praha a.s. wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABAspd35k59wySzpNGS0o5RY9P7PR4O39qYPd8cDYUwW=wbFpA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">Hi,
        <div>does anyone stumble up on possibility to format red/error
          messages?</div>
        <div><br>
        </div>
        <div>We extended password policy and we would like to show it to
          user in more friendly way, not as one long line.</div>
        <div>I tried \n, <br/> but to no avail.</div>
        <div><br>
        </div>
        <div>
          <div><img src="cid:part1.B5D59F5A.C5499788@evolveum.com"
              class="" width="502" height="159"><br>
          </div>
          <div><br>
          </div>
          Thank you in advance!</div>
        <div>
          <div>
            <div class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div class="gmail_signature"
                  data-smartmail="gmail_signature">
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div dir="ltr">
                                  <p><span
                                      style="font-family:Arial,sans-serif;font-size:10pt">--</span></p>
                                  <p><span
                                      style="font-family:Arial,sans-serif;font-size:10pt">s
                                      pozdravem</span></p>
                                  <b>Petr Gašparík</b><br>
                                  <font size="1" color="#999999">solution
                                    manager</font><br>
                                   <br>
                                  <font size="1">gsm: [+420] 603 523 860<br>
                                    e‑mail: <a
                                      href="mailto:petr.gasparik@ami.cz"
                                      target="_blank"
                                      moz-do-not-send="true">petr.gasparik@ami.cz</a></font><br>
                                   <br>
                                  <font size="1"><b>AMI Praha a.s.</b><br>
                                    Pláničkova 11, 162 00 Praha 6<br>
                                     <br>
                                    tel.: [+420] 274 783 239 | web: <a
                                      href="http://www.ami.cz"
                                      target="_blank"
                                      moz-do-not-send="true">www.ami.cz</a><br>
                                     <br>
                                  </font><img
                                    src="http://www.ami.cz/images/podpis/ami_logo.gif"
                                    alt="AMI Praha a.s."
style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;border:0px"
                                    moz-do-not-send="true" width="96"
                                    height="36"><font size="1"><br>
                                    <br>
                                    <font color="#999999">Textem tohoto
                                      e‑mailu podepisující neslibuje
                                      uzavřít ani neuzavírá za
                                      společnost AMI Praha a.s.
                                       jakoukoliv smlouvu. Každá
                                      smlouva, pokud bude uzavřena, musí
                                      mít výhradně písemnou formu.<br>
                                      Tento e‑mail je určen výhradně pro
                                      potřeby jeho adresáta/ů a může
                                      obsahovat důvěrné nebo osobní
                                      informace. Nejste‑li zamýšleným
                                      příjemcem, je zakázáno jakékoliv
                                      zveřejňování, zprostředkování nebo
                                      jiné použití těchto informací.
                                      Pokud jste obdrželi e‑mail
                                      neoprávněně, informujte o tom
                                      prosím odesílatele a vymažte
                                      neprodleně všechny kopie tohoto
                                      e‑mailu včetně všech jeho příloh.
                                      Nakládáním s neoprávněně získanými
                                      informacemi se vystavujete riziku
                                      právního postihu.</font></font></div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>