Forum Discussion
Problem authenticating if password contains a @
Joe,
All of the calls that get status or make updates to the configuration are iControl method requests. In the Windows Form App, I have 4 buttons that trigger certain LTM GUI Network Map pages to be presented within the application. Since I've already prompted the user for their ID and password, I was just hoping to have the webbrowser control page refresh not require an additional credential challenge. Also, the users will be working with several LTM pairs, and I didn't want them to have to authenticate to each one that they go to.
I do have to apologize in advance - this is my first coding endeavor, so many of my questions are very rudimentary.
When debugging, it looks like the values are indeed correct:
string hdr = "Authorization: Basic " + Convert.ToBase64String(Encoding.ASCII.GetBytes(txt_username.Text + ":" + txt_password.Text)) + "\r\n";
Value of hdr is: "Authorization: Basic bGxlaG1hbjE6 edit lYWtANzE=\r\n"
Thanks again for the help.
- Luke
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com