Forum Discussion
Fuchan_Tan_3092
Apr 09, 2012Nimbostratus
How to add a sslClientProfile to a virtual server via Java ICONTROL?
Given the following tcl script :
virtual ${virtualServerName} { profiles ${sslClientProfileName} { clientside } add }
How to add a sslClientProfile to a virtual server via Java ICONTROL?
- Jonathan_ScholiCirrostratusLike this:
LocalLBVirtualServerVirtualServerProfile[][] profileArray = new LocalLBVirtualServerVirtualServerProfile[1][1]; LocalLBVirtualServerVirtualServerProfile clientSSLProfile = new LocalLBVirtualServerVirtualServerProfile(); clientSSLProfile.setProfile_context(iControl.LocalLBProfileContextType.PROFILE_CONTEXT_TYPE_CLIENT); clientSSLProfile.setProfile_name(clientSSLProfileName); profileArray[0][0] = clientSSLProfile; iControlInterfaces.getLocalLBVirtualServer().add_profile(virtualServer, profileArray);
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