I have a query about Vordel SDK agent and how do we configure custom headers.
Example: I have to send few user attributes(LDAP Attributes like firstname,lastname) to API gateway. As of now there are few default attributes passed in the format of ATTR_***. I am trying configure to send the custom header in the same format.
I think I missed something or I am in a different direction. I have tried to set as a normal WebAgent http header but it send as "unknown" format like below
"unknown FirstName: testuser"
What we need to configure is
is there a way?
Can you share the screenshot of the Response configuration?
This is the screenshot of test configs
Below are the Default headers which are in the format ATTR_xxxx... Need to configure few additional data in the same format...
ATTR_DEVICENAME (200) th_apl08929imbwb6_new1c080
ATTR_USERDN (218) superuser
ATTR_SESSIONSPEC (209) RzdLbsDxNiNUJU5r2kn0fR0H7/cNjBsVQ5ZSaJ044aSIR03K72cK35vRj5noF0/J4l38ld4KbRlwXAft1eC9jU818ZMjYqzJ/S1vEt8g6UsIXYP0qfawEhQ/8tJawtzDP5nFWfBdxS9sxn9piUUc4b9ZG8W4ZtDLK1kd+hL6u9xQCldAymt15e2nMISpeygkO92mhKj+M7SDyGmntNbvRb32R2r25/Y+M5do6XhW79HdYO96qSzg9RGE4WePGe6Hhk/owtr+AuIImOI/97sGnZLPyVjVOClVxnql/fsm8a3bjbZtAWzqw6C/47BhDC+HuyqIjrdsF0F5b3s0IyV0voAe2TDJU2m/wbex78qEmyRnEehrUVxAL41LVlB3Wv26kn7x94Uuj8OnljnIpIxSF8w95OJTp5ZmmwUAKa5DwDOcjlad1Us8MP6SXzQfk8ZLc080
ATTR_SESSIONID (205) WEmNacY7fMJ3R50eDNbzqnKDuAw=c080
ATTR_USERNAME (210) superuser
ATTR_IDLESESSIONTIMEOUT (225) 3540c080
ATTR_MAXSESSIONTIMEOUT (226) 663261441c080
ATTR_STARTSESSIONTIME (154) 1484222270c080
ATTR_LASTSESSIONTIME (155) 1484222270c080
Ujwol... I have attached the below screens. It look the above responses are part of SMSESSION where the API team captures..
Could you share your thoughts? Is there any specific way to configure the headers for SDK agents?
This is working for me.
Here is what I have.
1. Create Response as below.
2. Tied the response to OnAccessAccept rule.
3. Tested the response with custom Agent API, I can see that I am receiving an attribute with ID 224 (which is attribute reserved for custom agents) with the name "ATTR_FirstName" as configured in my response.
Is this how you have configured as well ?
Did that work for you Sarvanan?
Ujwol.. Thanks for your help... I have the similar configuration which sends the header name and the associated value. But the problem is, it is in "Unknown" category like "unknown FirstName: testuser"... I have asked for the screenshot from the API team who are consuming the Agent services. Will update you with the details.