<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'> I think recently I started getting some issues in my forum setting, because I am not getting any response at all, so I change the mailing list setting and reposting below assuming previous emails has not reached the forum<BR> <BR>find below my question<BR> <BR> <BR>In the LDAP connector inside the resolver.xml, <br><br>I need to change the LDAP filter condition  based on evaluating certain values in the principal, currently it got below (see bottom of the email), <br><br>Inside this LDAP connector, can I introduce a local scoped variable based on some condition  and then have uid=${myvarialbe} instead <br><br>Can you refer me to some example code where it shows how to define these variables and do bit of if then else logic and manipulation?  basically I want to change this to uid=${MY_LOCAL_VARIABLE} <br><br><br> <resolver:DataConnector .................................><br><br>  <dc:FilterTemplate><br>     <BR><pre><![CDATA[
        (uid=${requestContext.principalName})
            ]]></pre><br>        </dc:FilterTemplate><BR> <BR>                                          </div></body>
</html>