cancel
Showing results for 
Search instead for 
Did you mean: 

Authenticate application link in anonymous portal

Former Member
0 Kudos

Hi experts,

I am develop a anonymous portal. To access the portal i use the url alias: irj/portal/anonymous?guest_user=<MY ANONYMOUS USER>

All the portal objects are customized, Desktop, framework page...

There is a role that has all the application allowed to this anonymous user.

The problem is when i have a link to an application that should be authenticated to access it. When i click on it, the content page of portal just open a blank page. The beheavior that i would like is call the logon page. In link to authenticate application i use the EPCM.doNavigate method of javascript portal API. The parameter that a pass to it is the iview path of another Role which that anonynous user doesn't have.

Please, could someone help to this issue? how can i click in the link an open a logon page?

Regards

Marcos Brandao

Accepted Solutions (1)

Accepted Solutions (1)

saar_dagan
Employee
Employee
0 Kudos

Hi Marcos,

what is the authentication scheme on that iview?

if it's on default try puting authentication scheme anonymous and see what happens (if the user can see the application or does he get a logon screen).

BR,

Saar

Former Member
0 Kudos

Hi Saar,

The authentication scheme was default, i changed to anonymous and others type too, but all of then shows a blank page. Doesn't see the application neither the logon page.

Regards

Marcos Brandão

saar_dagan
Employee
Employee
0 Kudos

Hi Marcos,

Try to do it on a different iview, for example create a portal activity report iview or something else from the iview template.

does it work?

BR,

Saar

Former Member
0 Kudos

Hi Saar,

Thanks for response.

I found the problem. If the iView is in another role, that the user doesn't assigned it, the behaviour is open a blank page, even if the iView on this role is anonymous Authentication schema.

I put the iView in the role where the anonymous user is assigned, and mark the authentication schema as default. So, when i click to the link the logon page opens.

Now my problem is another: the link open another portal configuration. This is a portal for authenticated users. When the link is clicked the portal open inside of content area of anonymous portal.

I don't now if there is some way to the link open a new portal.

Regards

Marcos Brandao.

saar_dagan
Employee
Employee
0 Kudos

Hi Marcos,

In the iview properties you can choose launch in a new portal window.

look for the property under the navigation properties.

BR,

Saar

Former Member
0 Kudos

Hi Saar,

I have already try to change this propertty (Launch in new window). All the option open inside content area.

Regards

Marcos Brandao

saar_dagan
Employee
Employee
0 Kudos

Hi Marcos,

are those 2 completely different portals?

if so you can use Federated Portal:

http://help.sap.com/saphelp_nw73/helpdata/de/49/56dc38fbd56a50e10000000a42189c/frameset.htm

if they are not 2 completely different portals please explain the scenario in more details.

BR,

Saar

Former Member
0 Kudos

Hi Shimon,

The portal is the same. For a while i have 2 desktops, one for authenticated user and another to anonymous user.

The single scenario is, when i access the portal as anonymous, the content area of portal has some link to application. The most part of this link could be accessed as anonymous, but one of the links access an application that require to be logged on. After be logged, the logged portal should be opened.

In my configuration, the anonymous user have a role with some iViews, where the iView to authenticated application has it property authentication scheme as default.

Summarinzing, when i click on that link, the behaviour i would link is to open the logon screen in a new window, or in the same window(outside of iframe of content area), but the logon screen opens in content area, consequentily the portal logged open inside a content area too.

Regards

Marcos Brandao

saar_dagan
Employee
Employee
0 Kudos

Hi Marcos,

In order to achieve this i would use a regular link, create a link and add the target="_blank".

that would make sure that the portal will start in a new window.

BR,

Saar

Answers (0)