Using Basic Auth with Parasoft Virtualize
Hi,
I wat to use basic auth with Parasoft virtual service. I am able to add the authentication to the virtual asset, but not able to correlate the incoming request's basic auth to that I have provided in the asset. Any suggestions or a reference document please?
Answers
-
Hi,
Normally authentication would be setup on the container/server (tomcat) level but it sounds like your use case is to have the virtual asset "perform" the authentication of the user and correlate the incoming user to some data?
0 -
Yes I need virtual asset to perform the authentication
0 -
Hi,
There isn't an out-of-the-box option on a responder to perform "basic" auth. It could be done using a custom responder correlation that decodes the auth header and then checks if the credentials are valid.
0 -
Thank you William, at service level and tried it and it worked.
0 -
Glad to hear it worked!
0