cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle two URL to control different Logon pages ...?

vdurgarao09
Contributor
0 Kudos

Dear experts,

We having one requirement.That is https://<host>:<port>/xxxx and  https://<host><port>/irj/portal like two urls using to display the logon page in Portal 7.0. We are tried https://<host><port>/irj/portal after any parameter maintaining means(https://<host><port>/irj/portal/page1 / https://<host><port>/irj/portal/page2) we can able to handling the two pages.But my problem is https://<host>:<port>/page1 we need to maintain like this.That time we are getting the 404 page not found error.

    

https://<host>:<port>/nwa time this is redirect to SAP Stranded  logon page.Same process we need to implement in custom logon page.Any one can explain the /nwa that time How the stranded  logon page is triggering.Final without irj/portal we need different logon page and with irj/portal different logon page in sap PAR files we need to maintain.(My Logon page is JSPDynPage concept)

Please tell me any information for this.

Thanks,

Durga Rao.

Accepted Solutions (1)

Accepted Solutions (1)

vdurgarao09
Contributor
0 Kudos

Dear All,

Final we are following one approach.We giving the external url is Public URL ,So this URL coming time redirect to logon page.This is my main logon page(irj/portal).Another logon page using in Internal System.This page is portal quick link we are using,We are given Different Logic and Different look.

https://<host>:<porta>/irj/servlet/prt/portal/prtroot/logonpage this is other logon url for using internal system.But my issue is same.Both are under /irj/* system level.

Any one can tell me Internal url we can customize or not...?Please help me.

Thanks and Best regards,

Durga Rao.

Answers (4)

Answers (4)

vdurgarao09
Contributor
0 Kudos

Thanks for the Uday and Lawrence,

I am try but unable to get the solution.Please explain the this below process how it is working.

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/42c08f81ce2152e10000000a114a6b/content.htm

Here navigation option 3 to 4 working process level i need to control the logon page based on URL's.

Please tell the how this is triggering the logon page.

Thanks,

Durga Rao.

UdayMS
Participant
0 Kudos

Hello Durga,

Based on your requirement, I think you can create 2 portal desktops with different logon pages as per your required standard and then map a URL alias to each of them.

Say, if the URL is http://hostname<port>/irj/xyz then render desktop A

If URL is http://hostname<port>/irj/abc then render desktop B.

Hope this helps.

regards

Uday

vdurgarao09
Contributor
0 Kudos

Dear Uday,

Thanks for the replay,

But my client is don't want to use the irj/portal other URL.Both url's using in Internal System.

1. https://<host>:<port>/irj/portal this is one type of URL based  login page.

2. https://<host>:<port>/logonpage  this is another type of URL based logon page.

But i am unable to control this issue.Because of the /nwa using time we are not using any irj/potal but it's working, this process i don't know how it's working.I did two logon page par file but how to control the URL base navigation into the Logon page.

Please final tell me my requirement is possible or not.? Please help me.

Thanks and Best regards,

Durga Rao.

UdayMS
Participant
0 Kudos

Hi Durga,

I am not entirely sure how to handle this. But if you need to use the 2nd URL compulsorily, I guess URL alias may be helpful. This means from the browser you can give that link but internally it will redirect to a Portal Logon page . Use index.html to define it.

Please see the below link

regards

Uday

UdayMS
Participant
0 Kudos

Hi Durga,

I am not sure if you can use the 2nd URL i.e https://<host>:<port>/page1 to render a portal page.

When you give a Portal URL in the browser, the Portal runtime handles the request by identifying the irj in the URL. Then only it will be considered as a request for Portal application.

The page rendering is then handled by the configurations in web.xml files.

I am not sure 100% but I think you cannot request a portal page without irj. Check more SDN links for how portal URLs are handles by Java AS and Portal runtime.

Anyone pls correct me if I am wrong.

regards

Uday

Former Member
0 Kudos

Thats correct imho, because of that I pointed him to the global deployment descriptor, following friendly assistance of a colleague of my. This could be of course also a question of reverse proxy configuration etc...

cheers

former_member193379
Active Contributor
0 Kudos

Hi Durga,

Please try the below help please.

Managing Login Modules - User Authentication and Single Sign-On - SAP Library

Thanks,

Hamendra

vdurgarao09
Contributor
0 Kudos

Hi Hamendra,

Thanks for the response,

I was checked this 7.0 the below link.

Managing Login Modules - User Authentication and Single Sign-On - SAP Library   

Please explain the any example.

Thanks,

Durga Rao.

Former Member
0 Kudos

Durga, this is nearly impossible to understand, my last holidays in India are a while ago and "autocomplete" is not biting But if I got the main idea properly: you would like to render different logon pages depending on the refferer URL. Maybe there is a better approach, but would it be a good idea to take a look to the refferer in the HTTP header with an appropriate conditional in your logon page?

cheers

vdurgarao09
Contributor
0 Kudos

Hi Lawrence,

sorry ,thanks for your understanding.

We are not using HTTP header.Please explain the https://<host>:<port>/nwa  standard logon page how it is triggering.

Thanks,

Durga Rao.

Former Member
0 Kudos

Hi Durga,

you have always a HTTP header in fact as far I understood, its not a question of "use", its a part of protocol, not sure about the layer. Take a look to:

HTTP referer - Wikipedia, the free encyclopedia

So at the and the idea would be a conditional like:

if (referrer == url1) { .... render logon page1 }

if (referrer == url2) { .... render logon page2 }

As I mentioned didnt tryed on my own and maybe there are bette approaches, but give it a try

cheers

vdurgarao09
Contributor
0 Kudos

Hi Lawrence,

Same approach i tried no user for me,When i am giving the url 

1. https://<host>:<port>/irj/portal that time my logon page is loading.

2. https://<host>:<port>/page1  giving time my logon page is not loading.

1st point level i am getting the url so that time i can render logon page.

2nd point level i am not getting the logon page.That time i am getting 404 not found error.

I am unable to find the problem.So that i want to know how the /nwa action working in portal. After i checked in main page in the portal there  href="https://answers.sap.com/nwa" like condition is getting that page to navigating.So that i want this type of action.That time i can get my logon page and after i can navigate the logon page different url based.Please tell me how the process working in /nwa time.

One more doubt for me,

What is difference between the logon page and logon module.?

Thanks,

Durga Rao.

Former Member
0 Kudos

1. https://<host>:<port>/irj/portal that time my logon page is loading.

2. https://<host>:<port>/page1  giving time my logon page is not loading.

1st point level i am getting the url so that time i can render logon page.

2nd point level i am not getting the logon page.That time i am getting 404 not found error

You could do something like: Editing the Global Deployment Descriptors - Using Java - SAP Library

to catch special URL's


What is difference between the logon page and logon module.?

logon module describes the logic how a user can be authenticated and what order the authentication methods have

cheers

vdurgarao09
Contributor
0 Kudos

Hi Lawrence,


Thanks for the replay,

Let me know two custom  authschemes.xml files we can use or not. Because i need two different logon page both are different logic.Internal using one type of logon page and external another type both are different logic giving the client.


So i need to know it is possible or not tell me.Before what i said same only but they want different par files. I was not getting any idea about this type of process please help me.


Portal version is 7.0 ,java_1.4 and back end oracle system

Thanks,

Durga Rao.

Former Member
0 Kudos

Durga, you still didnt understood how it works in generally, read the basics on SAP Help, e.g. the stuff Hamendra has provided. Logon modules, logon pages and auth schemes are different concepts as you mentioned already on your own. For your requirement you dont need to change the logon module at all, if I got you right. In generally you cant have two different logon pages activated at same time at all, since you can enter only one valid logon alias on appropriate NWA configuration imho. But as I told, you can implement the logic you are talking about within the same logon page.

cheers