Forum Discussion
Sharon_Lucas_55
Nimbostratus
Apr 28, 2010Problem authenticating if password contains a @
I'm using the iControl SDK to create a Java application that automates configuring BIG-IP.
If my admin password for BIG-IP does not contain a @, authentication to the BIG-IP host via my Jav...
Luke_Lehman
Employee
Jun 15, 2010Aaron,
Thanks for the quick response. I'm using C creating a Windows Form app. I have a button that I'm trying to have open a "Network Map" view of a Pool.
Here is what I had originally:
web_ltmview.Url = new Uri("https://" + txt_username.Text + ":" + txt_password.Text + "@" + ltmDerived + ".prci.com/");
Working from a non-F5 related internet article, I tried this (but I'm sure I've got something incorrect in here, because it still doesn't work):
string hdr = "Authorization: Basic" + Convert.ToBase64String(Encoding.ASCII.GetBytes(txt_username.Text + ":" + txt_password.Text)) + System.Environment.NewLine;
web_ltmview.Navigate("https://" + ltmDerived + ".prci.com/", null, null, hdr);
Thanks in advance...
-Luke
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects