Symantec Access Management

  • 1.  FORM Post Variables

    Posted Feb 28, 2017 01:02 PM

    Hi,

     

    I have set up form post variable which should give me the value in a fcc form field called "testformfield".

     

    I've modified the fcc, added a text input field below the password field with ID and name as "testformfield"

     

    I also added a testformfield=%testformfield% at the top of the fcc. I then tied the rule to the response which is set to this variable

     

    This is all in 12.6

     

     

     

     

    But when the response gets set, it gets set to 
    <Var name=\"TEST_FORMPOST_VARIABLE\" vtype=\"Post\" rtype=\"3\"><![CDATA[testformfield]]></Var>

     

    Is there anything special that's needed for a FORM post variable?

     

    Regards,
    Anand.



  • 2.  Re: FORM Post Variables

    Broadcom Employee
    Posted Feb 28, 2017 03:39 PM

    Anand,

    This will have to be debugged and traced step by step from browser trace, to agent trace, to policy server trace,  until finding out where the stop gap is.

    Besides that, your screen shot shows "cookie name", which should be "Variable Name", make sure you are not encountering a product defect, because there is a new patch out for 12.6.

    Other relevant link on same topic is here

    https://communities.ca.com/message/241808215?commentID=241808215#comment-241808215 

     

    Thanks,

    Hongxu

     



  • 3.  Re: FORM Post Variables

    Posted Feb 28, 2017 04:05 PM

    Thanks. I'm not seeing any error anywhere. I'll raise a support ticket as well.

     

    This is what I see in the policy server trace.

     

    [02/28/2017][15:47:19.724][15:47:19][11691][139836484744960][SmActiveExpr.cpp:520][CSmActiveExprLibrary::GetActiveValue][][][][][][][][][][][][][<Var name="TEST_FORMPOST_VARIABLE" vtype="Post" rtype="3"><![CDATA[testformfield]]></Var>][][][][][][][][Leave function CSmActiveExprLibrary::GetActiveValue][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]

     

    Regards,

    Anand.



  • 4.  Re: FORM Post Variables

    Posted Feb 28, 2017 05:25 PM

    Hi Anand,

     

    Unfortunately, I haven't been able to get the FORM POST Variable working till date myself

     

    However, I have been able to achieve the similar functionality using combination of other approaches.

    Could you clarify what your requirement is exactly ?

     

    Regards,

    Ujwol



  • 5.  Re: FORM Post Variables

    Posted Feb 28, 2017 05:28 PM

    All I'm trying to do is to get an input from the login fcc and pass it on

    to the application as a header.

     

    Regards,

    Anand.

     

    On Feb 28, 2017 5:26 PM, "Ujwol" <communityadmin@communities-mail.ca.com>



  • 6.  Re: FORM Post Variables

    Posted Feb 28, 2017 05:55 PM

    Will your application be able to read it as Cookie header ?

    If yes, then the easiest solution would be to save the user input into the cookie using the 

    @SAVE directive.

     

    I have used this approach here :

    Tech Tip : CA Single Sign-On : Web Agent : Pre-fill username during step up authentication 



  • 7.  Re: FORM Post Variables

    Posted Feb 28, 2017 06:00 PM

    Thank you! That is good information. I didn't know about the save directive.

     

    Unfortunately this field apparently will hold some sensitive info. Do they

    don't want it set as a cookie.

     

    Regards,

    Anand.

     

    On Feb 28, 2017 5:56 PM, "Ujwol" <communityadmin@communities-mail.ca.com>



  • 8.  Re: FORM Post Variables
    Best Answer

    Broadcom Employee
    Posted Mar 07, 2017 01:14 PM

    HI

     

    I filed a bug after reproducing the same behavior 

     

    Steve



  • 9.  Re: FORM Post Variables

    Posted Jul 26, 2017 03:10 AM

    This is a known defect is currently being worked upon by SE.

    CA Ref : DE280382