manipulation of variables

lalith jayaweera j_lalith at hotmail.com
Thu Jul 16 20:09:28 EDT 2015


 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
 
find below my question
 
 
In the LDAP connector inside the resolver.xml, 

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), 

Inside this LDAP connector, can I introduce a local scoped variable based on some condition  and then have uid=${myvarialbe} instead 

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} 


 <resolver:DataConnector .................................>

  <dc:FilterTemplate>
     
<![CDATA[
        (uid=${requestContext.principalName})
            ]]>
        </dc:FilterTemplate>
 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150717/10645447/attachment.html>


More information about the users mailing list