This content has been marked as final.
Show 1 reply
-
1. Re: How to hide securised pages ?
jboss-hb Sep 17, 2007 7:37 PM (in response to jboss-hb)"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@yahoo.fr