sessionCookie authentication method in HTTP Authorization Header | Community
Skip to main content
Level 2
Mar 16, 2021 4:38 PM UTC
Solved

sessionCookie authentication method in HTTP Authorization Header

Developing custom JSSP-based services on ACC works lovely leveraging the __sessioncookie=username/password queryString method.  However security standards have evolved and queryString based authentication is frowned upon due to potential retention in logs, etc.

 

However for single request authentication eg and avoiding soaprouter and logon() token requests for high volume transactions, we would like to understand if it is supported to resolve the sessioncookie authentication by placing it in the HTTP header instead of the queryString.

 

Thanks for any tips.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
Mar 17, 2021 11:14 AM UTC

Hi @scottsimmer1,

after you generate it you can put it in the header:

Adjust other options per your need and take care about validity time of your token (set in serverConf.xml)

Regards,

Milan

2 replies

Sukrity_Wadhwa
Employee
Mar 24, 2021 10:19 AM UTC

Hi @scottsimmer1,

Was the given solution helpful to resolve your query or do you still need more help here? Do let us know.

Thanks!

Translate
Sukrity Wadhwa
Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
Mar 17, 2021 11:14 AM UTC

Hi @scottsimmer1,

after you generate it you can put it in the header:

Adjust other options per your need and take care about validity time of your token (set in serverConf.xml)

Regards,

Milan

Translate