<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div>
<div class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
$uid.get(0)</blockquote>
</div>
</div>
<br class="">
<div class="">One post-mortem note that will be useless for everyone else: when using the Java object directly with no method — brackets with CDATA even though this is a query that only uses local values, but largely derping it as a string — it led to a series
of multiple LDAP queries with this particular directory as logged by that directory. Values weren’t indexed, so the query timed out in the process, but that’s getting fixed.</div>
<div class=""><br class="">
</div>
<div class="">They all looked very similar, but the eventual fourth query was formulated correctly, which compounded the “wtf” factor. The differences were encoded parentheses appearing as the HEX \28 and \29 along with some erroneous “s, each of which got
dropped in series as the query was attempted again with one less character.</div>
<div class=""><br class="">
</div>
<div class="">I couldn't go back to exhume the IdP logs to figure out precisely what it was doing, but I’m guessing it was iterating over the Java object somehow for some reason.</div>
<div class=""><br class="">
</div>
<div class="">I just wanted to get a note here in case anyone else made my crude mistake.</div>
</body>
</html>