I know that this question has been answered many times, but I cant seem to make
it work so please help me.
I read PLT.20.3
I have update portlet.xml and added my role
| security-role-ref
| role-namemyrole/role-name
| role-linkmyrole/role-link
| /security-role-ref
|
I have
Here is the implementation of isUserInRole(String roleName) :
|public boolean isUserInRole(String roleName)
|{
| // Get the map role name to role link
| Map securityRoleRefsMap =
I think that the real issue needs to be adressed at the Servlet Spec level.
The portlet container itself is just delegating to the servlet request the
isUserInRole(String roleName) method.
The only issue today I see with portlet container is that if the role is never
specified in the
Hello,
an old topic, but I still have the same need.
the spec is nice.
--
it allows that the portlet knows what features it provide, and what it's
portlet-roles are needed for thoses.
then the portlet declaration allows to