PDA

View Full Version : Running Deployed services as specific domain user


hpcd
04-20-2007, 10:52 PM
Using Spring WindowsServices, if I have multiple deployments for my service, but I want each one to run as a separate domain user. The reason, is we have two applications for different geographics areas and in order to automate certain processing we have to call their library as a particular user--configured for that location.

Using the normal windows service model, we would create two serviees and change the Logon As property for each one to match the respective user for the geographic region. But, it is not clear if I can do the same with the Spring Servide model. Any suggestions? Thanks.

hpcd
04-22-2007, 06:43 AM
I think I found a solution that will work. I can just do impersonation within my service before it calls the third part .dll. Just did some testing and it works fine.