cancel
Showing results for 
Search instead for 
Did you mean: 

iview for anonymous access

Former Member
0 Kudos

Hello,

I have an iview and I need to allow anonymous access to it. For this in portalapp.xml I have following:

In portal application config:

<application-config>

..

..

<property name="AuthScheme" value="anonymous">

</property>

..

..

</application-config>

In conponent-config:

<components>

<component name="MyDynPage">

<component-config>

<property name="ClassName" value="mypackage.MyDynPage"/>

<property name="SecurityZone" value="com.sap.portal.pdk/no_safety"/>

</component-config>

...

...

</component>

</components>

What must to do for the anoymous access to this iview

Best Regards.

Altafin

Accepted Solutions (1)

Accepted Solutions (1)

nol_hendrikx
Active Contributor
0 Kudos

Hi Altafin,

Check which roles are with anonymous access. You will need to add your iview to this role.

Content Administration, locate the role with anonymous access, open it, Select your iview and copy it to the role by rightclicking on your iview (add iview to role).

regards,

Noel

Former Member
0 Kudos

Hi Noel,

The iview is belong in a page. This page already has anonymous access.

Best Regards.

Altafin

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Altafin,

as an addition to Noel's answer:

Keep in mind that there's a difference between an portal component and an iView. A portal component is navigated to with an URL like this:

http://myserver/irj/servlet/prt/portal/prtroot/myapp.mycomponent

while an iView is navigated to with an URL like this

http://myserver/irj/portal?NavigationTarget=pcd://portal_content/myfolder/myIView

An iView is a configured(and possibly personalized) instance of a portal component. If you navigate to the portal component, you do not have personalization/configuration.

As Noel wrote, if you want to show the iView, add the iView to some anonymous role. But if you want to navigate to a portal component, you'd rather adjust the permissions for the security zone you mention in the portalapp.xml (and add an anonymous role to it).

You'll find that under System Administration->Permissions->Portal Permissions->Security Zones->com.sap.portal.pdk->no_safety

But you shouldn't take this zone name, as this is the pdk namespace. Take your own. you can write near to anything you like there, and the portal will automagically add the zone to the Security Zones folder upon deployment.

Regards,

Armin

Former Member
0 Kudos

Hi Armin,

Under System Administration->Permissions->Portal Permissions->Security Zones->com.sap.portal.pdk->no_safety I have Everyone read