Forum Discussion
Jonathan_Scholi
Cirrostratus
Apr 10, 2012Like 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);