cancel
Showing results for 
Search instead for 
Did you mean: 

Howto authenticate without user and password?

Former Member
0 Kudos

Hi all,

I need to create a WD4A application that will be included into another web app. Therefore the user should not have to authenticate via normal user/password combination (popup), but instead the username should be passed to the WD4A application at startup automatically (the user needs to authenticate already for the sourrounding web app).

Is there any way to achieve this, maybe via certificates or alike?

Thanks in advance for your help!

Kind regards, Matthias

Accepted Solutions (1)

Accepted Solutions (1)

Madhu2004
Active Contributor
0 Kudos

Hi,

For the second web dynpro application have a URL parameter as USRNM.

In the window of second application,hadlefault method have importing parameter as USRNM.

Now validate the user name in the handle default method.

Regards,

Madhu

Former Member
0 Kudos

great, thanks!

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>Now validate the user name in the handle default method.

But for this to work, the second appliation would have to be setup for anoymous access in SICF (a service user and password in the login tab of the service node). You would only be able to read the user name, but not switch to this user for authentication. The SY-UNAME wouldn't be this user but instead the service user from SICF.

Are both applications Web Dynpro ABAP? From the same ABAP system? Even if not from the same system you should be able to setup SSO (transaction STRUSTSSO2) to allow entry by the ticket of another trusted system.

If that other system isn't Web Dynpro based, then yes I would suggest that you consider certificates. That is what we use within SAP for example for transparent SSO to all our production applications. The Certificate infrastructure setup can be considerable, but the user will be authenticated from the ticket and then logged in as themselves (as opposed to just passing a user name as a URL parameter to an anymous service).

Former Member
0 Kudos

thanks Thomas for sharing this.

Answers (0)