[jboss-user] [JBoss Portal] - Re: How to hide securised pages ?

jboss-hb do-not-reply at jboss.com
Mon Sep 17 19:37:31 EDT 2007


"jboss-hb" wrote : Hi every body,
  | I'm developing a portal using the jboss portal.
  | I'm securing some pages using  roles, however i want to hide  pages that are denied for certain users.
  | 
  | 
  | here's the code for securing the page :
  | 
  | <security-constraint>
  | 				<policy-permission>
  | 					<role-name>Admin</role-name>
  | 					<action-name>view</action-name>
  | 				</policy-permission>
  | </security-constraint>
  | 
  | 
  | is there anyway to hide this page if a user that doesn't have the admin role is connected.
  | 
  | 
  | I'll appreciate any suggestion.
  | 
  | youssef hbali.
  | here's y mail: youssefhbali at yahoo.fr
  | 
  | 
  |  
  | 
  | 
  | 

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

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



More information about the jboss-user mailing list