[jboss-user] [JBoss Portal] - How to hide securised pages ?
jboss-hb
do-not-reply at jboss.com
Mon Sep 17 19:30:23 EDT 2007
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 not 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=4085288#4085288
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085288
More information about the jboss-user
mailing list