cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a Gateway Service as Public - No username/password required ?

Former Member
0 Kudos

Hi All,

I want to make Gateway OData service public so that anyone can access the service without username password .By default the service is created under /sap/opu/odata node. Is it possible to move it to a public node or something else needs to be done.

Can someone help me out with the same.

Regards

Mayank

Accepted Solutions (0)

Answers (1)

Answers (1)

sreehari_vpillai
Active Contributor
0 Kudos

you can hard code the credentials in SICF corresponding to the node . But doesn't look like a good solution .

Sree

kammaje_cis
Active Contributor
0 Kudos

Yeah, that can be a solution. Other solution would be to create a node under /sap/public/ and maintain suitable handler classes as maintained by sap/opu/odata.

You have to keep in mind that SAP Gateway licensing will change if you are going with anonymous users. You will be charged on volume of calls. Talk with your licensing contact for more details.

former_member184867
Active Contributor
0 Kudos

Gateway Offers USERREQUESTMANAGEMENT OData service which can be used without username and password. However it needs some configuration to be done as per the link Configurations on SAP NetWeaver Gateway Hub - SAP NetWeaver Gateway - SAP Library

  1. Maintain the logon data for /IWBEP/USERREQUESTMANAGEMENT:
    1. Go to transaction SICF.
    2. Choose Service in the Hierarchy Type field and click Execute.
    3. Enter /IWBEP/USERREQUESTMANAGEMENT or the extended OData service in the Service Namefield.
    4. Double click on /IWBEP/USERREQUESTMANAGEMENT or the extended OData service which is displayed under Virtual Hosts / Services section.
    5. Click Change and choose Logon Data tab.
    6. Enter the service user name in the User field and a password in the Password field.This ensures that the service /IWBEP/USERREQUESTMANAGEMENT is always executed in the service user context.
    7. Save the settings.
    8. Go to Service Data tab and click GUI Configuration.
    9. Enter ~CHECK_CSRF_TOKEN in the Parameter Name field and 0 in the Value field. This means you are not required to pass X-CSRF token for HTTP POST and HTTP PUT. However, the HTTP header X-REQUESTED-WITH=XMLHTTPRequest needs to be provided for HTTP POST and HTTP PUT request.

In step 7, one needs to configure the username/password.

Former Member
0 Kudos

Can you please provide some more information on how to move the service sap/opu/odata node to public node.