manipulation of variables

lalith jayaweera j_lalith at hotmail.com
Fri Jul 17 00:38:34 EDT 2015


Thanks Scott
 
I have introduced couple of new attributes in the resolver, so I would go in that path for now.
 
Initially I felt it is bit heavy as this is only kind of a local variable/attribute within resolver stage.
 
> From: cantor.2 at osu.edu
> To: users at shibboleth.net
> Subject: RE: manipulation of variables
> Date: Fri, 17 Jul 2015 01:31:51 +0000
> 
> > Inside this LDAP connector, can I introduce a local scoped variable based on
> > some condition  and then have uid=${myvarialbe} instead
> 
> 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.
> 
> A less brittle approach would just be to define an attribute with a Script and then plug that in as a dependency.
> 
> > 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}
> 
> Velocity's documentation is at http://velocity.apache.org
> 
> -- Scott
> 
> -- 
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150717/8b86c0cc/attachment.html>


More information about the users mailing list