O'Reilly logo

Oracle WebCenter 11g PS3 Administration Cookbook by Yannick Ongena

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Securing pages at runtime

In the previous recipe, you have seen how you can secure pages by using the page hierarchy. In that case, you need to redeploy the application before changes take effect. In some cases, you don't want to do this, for example, when you create pages at runtime. These pages are not available in JDeveloper, so you also need to set the security at runtime.

In this recipe, we will do the same thing as in the previous recipe. We will secure the internal.jspx page, so only the internal role has access to the page.

Getting ready

For this recipe, you need a WebCenter Portal application.

I have prepared an application for this recipe which you can find in the code accompanying the book. It's called SecuringPages. In this application, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required