Forum Discussion
Miguel_111028
Nimbostratus
Oct 23, 2008Inserting SSL client certificate into the header of the HTTP session
Hello group,
I do not have much experience in creating iRules and I need to set an iRule to an https virtual server type with client certificate authentication. The iRule should do the...
Aug 12, 2004
You need to use the getParams() method on the Response object. This is illustrated in the following sample apps in the SDK.
System\ConfigSync.java
System\SystemInet.java
System\SystemServices.java
Here's basically what it looks like
Response resp = call.invoke(...);
Vector params = resp.getParams();
Parameter member_state_list_param = params.elementAt(0);
MemberState[] member_state_list = (MemberState[])member_state_list_param.getValue();
-or-
MemberState[] member_state_list = (memberState[])((Parameter)resp.getParams().elementAt(0)).getValue();<
You use the elementAt() member to extract the correct out variable starting at 0.
Let me know if this works for you.
-Joe