|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
StarterUserID and WebClient |
« View previous topic :: View next topic » |
Author |
Message
|
mike7 |
Posted: Wed Apr 09, 2003 5:02 am Post subject: StarterUserID and WebClient |
|
|
 Novice
Joined: 15 Feb 2003 Posts: 14
|
Hello,
I am using the web client with Websphere4 and I use the security basicauthentification handler.
In the web client properties file, there is the possibility to indicate the StarterUserID/password.
But I would like to instanciate my process via the users P1 or P2 I used to logon to websphere and not the one indicated in the "StarterUserid" tag in the webclient.properties file.
... So that P1 or P2 could be the process starter (and not the one indicated in the StartUserid of the webclient.properties file) !!!
How can I do that ?
To instanciate the process, I use the following code in an HTML file :
<form method="POST" action="/MQWFClient-WEB/servlet/Main" name="ProcessData" onSubmit="return ValidateAndCreateInstanceName( );">
<input type="hidden" name="command" value="createAndStartInstance">
<input type="hidden" name="templateName" value="WebCreditRequest">
<input type="hidden" name="instanceName">
<input type="hidden" name="SuccessLocation" value="{_HTMLDir_}/starter/WebCreditRequestStarted.html">
....
....
THANKS FOR YOUR HELP !!!! |
|
Back to top |
|
 |
jmac |
Posted: Wed Apr 09, 2003 5:54 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Only one starteruserid can be specified. Simply change the value in the properties file and then import the named user into MQWF runtime. Be sure that this user has authorization to start your process. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
mike7 |
Posted: Wed Apr 09, 2003 7:27 am Post subject: |
|
|
 Novice
Joined: 15 Feb 2003 Posts: 14
|
Thanks for your answer jmac.
But I could have several different users to start different instances of different processes ....
How can I handle that if I want them to be the process starter ?
Thanks for your help. |
|
Back to top |
|
 |
jmac |
Posted: Wed Apr 09, 2003 7:54 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Mike:
Perhaps you don't understand the role of the "ProcessStarter" in the web client properties file. This is so that you can have users unknown to workflow start instances. I.E. You could publish a URL to your clients and they could start an instance without ever logging in to your MQWF system.
To have a known user start an instance, you can simply logon, and use the CreateAndStart function from Process Templates. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|