<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 5/3/17 11:59 AM, Massimiliano Masi
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:75EB0A81-A34B-42AE-8E6F-88CE26BA4C93@mascanc.net">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <span style="font-family: ArialMT;" class=""></span><br>
      <div class="" style="font-family: ArialMT;"><br>
        <div class="">I am using this code (buildSAMLObject is from the
          Book). I see (in the last for loop) the values in there, : </div>
        <br>
      </div>
    </blockquote>
    <br>
    I don't know Java 8 lambdas very well yet, but the OpenSAML code
    looks fine.  So I checked...<br>
    <br>
    <blockquote type="cite"
      cite="mid:75EB0A81-A34B-42AE-8E6F-88CE26BA4C93@mascanc.net">
      <div class="" style="font-family: ArialMT;">
        <div class="">The output is without any attribute value over the
          Requested Attribute. Am I doing some stupid thing here? </div>
        <br>
      </div>
    </blockquote>
    <br>
    No, you aren't.  Turns out you have hit a bug which which has been
    in the codebase since the earliest time (literally earliest months)
    of v2 (March 2006).  I think that's the new project record for
    longest undiscovered bug in our code. :-)   I've opened an issue,
    will commit the fix and unit tests today.<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://issues.shibboleth.net/jira/browse/OSJ-204">https://issues.shibboleth.net/jira/browse/OSJ-204</a><br>
    <br>
    The fix is very simple, but I don't know when we'll be doing a patch
    release of OpenSAML.  A 3.4.0 is probably not going to be til later
    this year.  Since this is just a change to an XMLObject impl class,
    I suppose you could make a local copy of the fixed impl class and
    associated builder, register that builder for the RequestedAttribute
    instead of the built-in one.  That could allow you to avoid having
    to use a full custom source build of OpenSAML before we do a
    release.  But of course you could do a source build too, if you
    wanted.    <br>
  </body>
</html>