Hi,
I am currently
testing portlet integration on Jahia 6. Specifically I need to map Jahia groups to
portlet roles.
I
have:
- defined the roles
in my portlet's web.xml file, e.g.:
<security-role>
<role-name>role1</role-name>
</security-role>
- mapped the roles (with identical
names) in the portlet.xml file,
e.g.:
<security-role-ref>
<role-name>role1</role-name>
<role-link>role1</role-link>
</security-role-ref>
- deployed the portlet webapp and
used the mashup manager to map a Jahia group to the portlet
role
- added the portlet to a container
on a page
The portlet displays and executes
correctly, however the following always returns null, although the logged in
user is in fact a member of the mapped
group:
request.isUserInRole("role1")
I was
wondering whether I am doing something wrong or whether this is still an
unresolved issue in Jahia 6?
Best
regards,
Rami
_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list