Basic Authentication

K

KWenstrup

Is there a way that I can prompt on the form side for user/password and then
pass that in the head of all my packages to a web service which requires
basic authentication? I've searched throught the WebServiceAdapter object to
see if there was anyway to add this in.

Previously, I relied on the built-in Infopath window to prompt for
login/password to 401 challenges from the server, but this has three
disadvantages for me:
- I need to do some conditional form formatting before then, so I'd
rather not have to do multiple logins
- Seems that this auto-login is timing out after a while and causing the
user to be prompted for login again and again
- When they enter an incorrect password, seems Infopath tries it again
and again, causing them to be locked out of network

I have to use basic, not NT authentication, because they might be running
these forms when off the company network. Its a web service with basic
authent and SSL.

Thanks:
- Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top