How to configure a published TDV web service for anonymous login (i.e. no username and password are required)?

How to configure a published TDV web service for anonymous login (i.e. no username and password are required)?

book

Article ID: KB0074783

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All supported versions

Description

How to configure a published TDV web service for anonymous login (i.e. no username and password are required)

Resolution

1.   If a TDV published web service has not already been created, go ahead and create one.

User-added image

2.   Set the web service's authentication schemes (HTTP Basic, HTTP NTLM, etc.) to false.

User-added image

3.   Turn on the anonymous login feature by setting Studio >> Administration >> Configuration >> Server >> Configuration >> Security >> Enable Anonymous Login  to true

User-added image

NOTE: If you do not turn on this setting, when the client attempts to access the web service URL, the client will display the following error:
 Anonymous user login in the Composite domain is not enabled.

4.   Provide the  ' anonymous' user with privileges to access the resource and its dependencies.

NOTE: If privileges have not been provided to the ' anonymous'  user (or, privileges have been provided to the user for only some dependencies instead of  all), the client will display an "insufficient privileges" error. For  example:
User "anonymous/composite" has insufficient privileges to access  "/services/webservices/AnonWebService". User has no privileges for that resource.  The required access is READ EXECUTE. 

Once the above steps have been done, the client will be able to access the web service URL without first being prompted to enter a username and password.

User-added image
 

Issue/Introduction

How to configure a published TDV web service for anonymous login (i.e. no username and password are required)?