Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect Application on NetWeaver 7.0 error 404 not found

Former Member
0 Kudos

Hi,

I have configured SAP Negos on Net weaver system which is working fine for JAVA stack. Then as per SAP note 1250795 I have deployed Redirect Application. Now as per note when I enter http://host:port/redirect/redirect, It is defaultly redirecting to portal http://host:port/irj/portal. But I did it on Net Weaver system so getting error 404 not found. To change the default redirect to net weaver home page i.e http://host:port/ and make this work on NW 7.0 what should I need to change? Please suggest.

When I access same URL http://host:port/redirect/redirect from client machine getting 401 unauthorized error when browser is configured with SAP Negos config. Please suggest.

Thanks,

Ajay.

Edited by: Ajay_Basis on Jul 16, 2010 2:58 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Ajay ,

From the security perspective this is what is the definition for " LOGIN STACKS"

"In the J2EE Engine you can use or define groups of login modules that contain different authentication logic. Such groups are referred to as login module stacks. Each login module stack enables you to choose different combinations of authentication for the applications you create, or for each of the components on the J2EE Engine"

As explained by others please go through the link below in detail you should be able to ace your problem :

http://help.sap.com/search/highlightContent.jsp

5 REPLIES 5

Former Member
0 Kudos

Hi,

You need to apply a Login Stack for the redirect application.

By the way "SAP Negos" does not exist. Spnego does exist and in the SAP world is often called Spnego/Kerberos because it is mostly used with Kerberos.

Check [http://en.wikipedia.org/wiki/SPNEGO]

Extract from Wiki :

>SPNEGO's most visible use is in Microsoft's "HTTP Negotiate" authentication extension. It was first implemented in Internet Explorer 5.01 and IIS 5.0 and provided single sign-on capability later marketed as Integrated Windows Authentication. The negotiable sub-mechanisms included NTLM and Kerberos, both used in Active Directory.

Regards,

Olivier

0 Kudos

Hi Olivier,

Sorry since working in SAP and using this word many times, I have written SAP Nego instead SPNego.

What is Login stack? how can apply it? Please explain. Since there is no portal on NW 7.0 getting the page not found (404) error. The redirect application automatically opening portal page but I need to change this to avoid 404 error. So how can I achieve this?

Thanks,

Ajay.

0 Kudos

Hi Ajay,

Sorry but a message forum is not the place to explain concepts. You have to attend an SAP J2EE administration course and to read all the documentation. Search "Login stack" in the Netweaver search function of help.sap.com, it will give you much better information than a forum message could do.

Regards,

Olivier

Former Member
0 Kudos

Hi Ajay ,

From the security perspective this is what is the definition for " LOGIN STACKS"

"In the J2EE Engine you can use or define groups of login modules that contain different authentication logic. Such groups are referred to as login module stacks. Each login module stack enables you to choose different combinations of authentication for the applications you create, or for each of the components on the J2EE Engine"

As explained by others please go through the link below in detail you should be able to ace your problem :

http://help.sap.com/search/highlightContent.jsp

0 Kudos

Hi Olivier and Franklin,

Thanks for explaining I have searched with the word "Login stack" as suggested in the url provided. It is useful to get the info/ knowledge on Login stacks.

But here my problem is SPNego configuration working fine and I have modified the login stacks as suggested in SAP note and same during redirection login stack. Both are working fine but I am doing these configuration on Net weaver system with out EP components (NW with ABAP+JAVA stacks only not EP core etc). So when I use redirection URL as per SAP note after authentication it is redirecting to Portal URL where portal is not available on the system. So what I want is instead of redirecting to Portal URL, it should redirect to http://host:port only. For this to achieve or change the redirection URL what should I need to be changed in the redirection content? Please suggest.

Login stacks are fine and Authenticating the user with OS Authentication.

Thanks,

Ajay.