Hi Bill,
Thanks a lot for the quick response. Just one more query on the webservice side.
As per the instruction , I made the webservice access type as bearer.
This in turn has many webservice operation such as
after a successful token verification:
HttpGet get = new HttpGet(AdapterUtils.getOriginForRestCalls(req.getRequestURL().toString(), session) + "/candidate/{some id}");
get.addHeader("Authorization", "Bearer " + session.getTokenString());
try {
HttpResponse response = client.execute(get);
if (response.getStatusLine().getStatusCode() != 200) {
throw new Failure(response.getStatusLine().getStatusCode());
}
HttpEntity entity = response.getEntity();
InputStream is = entity.getContent();
try {
// return JsonSerialization.readValue(is, String.class);
return "hello";
} finally {
is.close();
}
do i need to further authenticate each call via the same method for other restful call.
Do we have any option where in we can say authenticate once and go ahead with multiple webservice call without further token verification.
Regards,
Satya.