[jboss-user] [JBoss Portal] - Page level permissions/security

alanoregan do-not-reply at jboss.com
Fri Aug 24 16:36:16 EDT 2007


Using JBoss Portal 2.6, bundled version at the moment (just using Hypersonic at the moment but will be introducing MS SQL Server shortly)

I am trying to create a portal page that will serve as the landing page for my application.

Say, the URL is http://localhost:8080/portal/portal/myportal/startpage.

I want to deploy some portlets on this page but only display these portlets to logged in users/members.  However, if a user who is not logged in enters the URL in a browser I want to display instead only the login window.

I'm wondering what is the best practice here.

Anyone know how I can add permissions to the page so that it can only be viewed by logged in users (is this achieved using roles?).  Is there a way to conditionally render the logged in window on any page if the user is not logged in?
 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077930#4077930

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077930



More information about the jboss-user mailing list