Forum Discussion

Shannon_83890's avatar
Shannon_83890
Icon for Nimbostratus rankNimbostratus
Aug 05, 2010

Initialize using Network Credentials

All of my resources for iControl are gone and I this is my first attempt at using iControl (myself being a .NET C Web Developer not a Network Engineer). I am creating a monitoring tool using Visual Studios 2010 and iControl assembly. Everything works great except I do not want to have people login I want to just use their network credentials. I am currently using .initialize with the username and password given in the form but I want to use .initializeWithToken. I cannot find any documentation on this, or samples, and was hoping someone had did this before or could point me to where I can find out more about .initializeWithToken (or maybe this is not what I think is it for).

 

 

Thanks for any help in Advance...

 

1 Reply

  • iControl uses the same authentication scheme as the BIG-IP GUI and that this point the only option is Basic Authentication over HTTP. This is a encoded version of the username:password over our SSL connection. As far as I know, no one has been able to use other client-based authentication schemes (client certificates, etc) with BIG-IP. So, at this point, you will need to use credentials (username and password) to establish a connection.

     

     

    The initializeWithToken method is for Enterprise Manager. It is an unsupported feature where EM will do a one time username/password request and request a user token from iControl. It can then cache this token to use later. The idea was for folks using EM, not to have to have EM store their passwords. We haven't documented this interface and I personally haven't tested it out with all the toolkits out there so I can't guarantee it will work with the .Net libraries. We have also included some other failsafes in there to avoid users from passing the tokens around so I'm not sure it would work for your environment anyway.

     

     

    One other option you have is to build a middle tier (web app, etc) that the users can log into with whatever authentication scheme you would like and then you create a separated iControl call out the back with the admin credentials. Your users won't see them and you can control what they can and can't do. Again, not sure if this will work for you, but it's what I've seen others do.

     

     

    -Joe