cancel
Showing results for 
Search instead for 
Did you mean: 

Skip authentication for Webdynpro Java application

former_member189320
Participant
0 Kudos

Hello Experts,

We want to access Webdynpro applicaiton directly using URL. The user should not be prompted for any User-Id/Password. We have not choosen the Authentication check box while creating application in our project. So it was not prompting for user-id/password so far.

Now we have comfigured SPNego authentication for our portal. Now if we try accessing the application directly it started prompting a pop-up for user-id/password. Is it possible to avoid this. Kindly help.

Thanks,

Nirmal Sivakumar G

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

If you donot want the application to prompt for user name / password,

set the username and password in the web dynpro application before executing the Model.

wdContext.current<yourElement>Element().modelObject()._setUser("User Name");

wdContext.current<yourElement>Element().modelObject()._setPassword("Password");

in try {}catch{} block of the execute method before execute();

Regards,

satya.

Edited by: Satya on Jul 27, 2009 9:53 AM

Former Member
0 Kudos

Thanks for all the replies. Closing the thread.

Former Member
0 Kudos

Hi Satya and Nirmal,

I am having the same issue.

Is there a way to set the user and password via api in order to avoid the SPNEGO validation?

Regards,

Orlando Covault

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nirmal,

You got any solution for this?

Former Member
0 Kudos

Hi,

why do u always to require to access the webdynpro application using the url..

Instead you can integrate the webdynpro application in the portal using webdynpro iview,it skips the authentication screen with in the portal right??

former_member189320
Participant
0 Kudos

Hi,

Thanks for you reply santhosh.

There are some applications running in portal. But we have a requirement to access few WebDynpro application from a different web source.

Experts any comments on how to skip SPNego authentication for a specific WebDynpro Java application?

Regards,

Nirmal Sivakumar G

Former Member
0 Kudos

Hi,

Try this: I am not sure whether it works or not:

In WebDynpor perspective:

1. Double click on Application

2. Go to the "Application properties tab"

3. Click on new button

4. Select pre defined radio button

5. Click on browse button

6. Select "Authentication" property

7. Change the value dropdown to false

8. Click on OK button.

http://help.sap.com/saphelp_nwce711/helpdata/en/44/B20E5B47CD2D04E10000000A11466F/content.htm

Regards,

Charan