Hi everybody,
We am working on a completly new portal.
We use JBOSS AS 4.0.4 and JBOSS Portal 2.4.
In the default-object.xml we define a couple of pages including one "Admin" page. This page is secured with a security-constraint (see code below).
Via an self written login portlet we populate our user with principals and roles (eighter from LDAP Servers or a relational database).
As we log in as admin and the user has the role "Admin" i hoped the page with the security-contraint would be display, but it is not!!
Am I missing something? I read throug this forum, the wiki and the adminguide and did not find a solution for this problem.
Some hint would be nice
thx rkiesi
Here the code form the default-object.xml
<deployment> <if-exists>keep</if-exists> <parent-ref>default</parent-ref> <page> <page-name>Admin</page-name> <security-constraint> <policy-permission> <role-name>Admin</role-name> <action-name>viewrecursive</action-name> </policy-permission> </security-constraint> </page> </deployment>