Forum Discussion
MarkM_63051
Mar 12, 2012Nimbostratus
Password Encoding
Hello,
I am writing to ask what the appropriate way is to encode a password when locating stubs. The following code snippet was pulled out of an F5 sample file:
m_endpoint = "https...
MarkM_63051
Mar 13, 2012Nimbostratus
Thanks Joe,
It worked wonderfully. I removed about 20 lines of code per class and JUnit test. Here is a sample of what I ended up with:
// Get the master F5 Interface connection object/stub
iControl.Interfaces f5Iinterfaces = getF5Interfaces();
f5Iinterfaces.initialize(hostname, 443, username, password);
public void createOrDeletePool(Properties argProps, Interfaces f5Iinterfaces) {
// Create the F5 stubs necessary to communicate with it
LocalLBPoolBindingStub lblPoolStub = f5Iinterfaces.getLocalLBPool();
}
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