<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'>Thanks Scott<BR> <BR>I have introduced couple of new attributes in the resolver, so I would go in that path for now.<BR> <BR>Initially I felt it is bit heavy as this is only kind of a local variable/attribute within resolver stage.<br> <BR><div>> From: cantor.2@osu.edu<br>> To: users@shibboleth.net<br>> Subject: RE: manipulation of variables<br>> Date: Fri, 17 Jul 2015 01:31:51 +0000<br>> <br>> > Inside this LDAP connector, can I introduce a local scoped variable based on<br>> > some condition  and then have uid=${myvarialbe} instead<br>> <br>> If you're creative enough you might be able to put some Velocity expressions inside the string to assign something and then use it somehow.<br>> <br>> A less brittle approach would just be to define an attribute with a Script and then plug that in as a dependency.<br>> <br>> > Can you refer me to some example code where it shows how to define<br>> > these variables and do bit of if then else logic and manipulation?  basically I<br>> > want to change this to uid=${MY_LOCAL_VARIABLE}<br>> <br>> Velocity's documentation is at http://velocity.apache.org<br>> <br>> -- Scott<br>> <br>> -- <br>> To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net<br></div>                                      </div></body>
</html>