Skip to Content
author's profile photo Former Member
Former Member

Disabling Authentication for UI5 app while running on ABAP server

Hello SAP Experts,

I have setup UI5 add-on on our SAP NW ABAP server and able to run the UI5 app on it.

When I try to run the app, first thing I get is a pop-up asking for user id and password to access the SAP server. I think this is same with any ICF service.

But I have designed a log-in page in the app. So want to disable this extra pop-up.

I think we need to make it a public ICF service to achieve this. Any idea how to do it?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 26, 2013 at 08:35 AM

    If you really want to make a service public, one way is to modify the authentication settings in the relevant ICF node to specify that a fixed user should be used for authentication. But are you sure you want to do this? Even though your app might be serving logon pages, this won't stop someone looking at the source code, finding the ICF service URL and accessing it directly.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2013 at 08:50 AM

    DJ Adams is correct, for an online SAPUI5 web application running in NW you should probably not set a fixed user (At least in production - both security and compliance/license issues with SAP)

    What you can do is customize the logon screen of your node in transaction SICF if you do not want the Basic Authentication popup.

    For desktop solutions you can also expose your app through NWBC or the NW EP.

    For mobile apps you might consider going Hybrid with Phonegap. I created an Auth script for SAPUI5 apps you will find a link to the js here just remove the Neptune stuff. This will pop a SAPUI5 logon dialog when you get an unauthorized http response.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.