on 11-29-2004 8:58 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.