Forum Discussion
Jun 15, 2010
Have you tried the iControl library for Java? I've got a version that will work with JRE 1.5 and 1.6 and uses the lower level binding classes to set the username/password for the connections. There are binary and source can be found in the iControl Assembly for .Net and Java labs project.
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/2/afv/topic/aft/1172123/aff/2106/showtab/groupforums/Default.aspx
Look in the source\iControl\Interfaces.java class for details on how to use the lower level classes for the authentication headers.
In the "test" directory in the source distribution there are some sample applications that use the Interfaces iControl wrapper class.
Let me know if this works for you.
-Joe