> “bad smell”.
I assure you it isn’t half as bad as you think
> 1) You need 2 variables with the same name at the same time
I don’t need duplicate variables with the same name - WM allows for this situation. All I’m doing is stopping any malicious user-injected duplicate variables affecting my service by stripping them out beforehand with the “filterPipeline” service.
> 2) You are using a pipeline variable to determine security
> permissions.
Again, no - the “AllowAccess” example above was cooked-up. However, pipeline variables are used to control a flow (eg: an SWITCH statement) and I was just illustrating how dastardly things can get.
> A few questions for you: Can you have the CGI script call different
> IS services? Then you know which variables to expect for each
> service within your flow.
Yes, each customized user could hit his own script - then I’d know which variables to expect and could put in the appropriate clearPipeline calls. However, this would give me a multiplicity of entry points with the usual problems with permissions, manageability, code maintenance, etc.
> If not, could you turn on ‘Enforce Execute ACL’ Always so that you
> subsequent flow services will check the username/password instead of
> you using a variable in your flow to determine this.
I’m not sure what you mean by “Enforce Execute ACL”. However, the authentication is being done later on in my service – once the flow has become “generic enough” to do a clearPipeline call on it.
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services