[jboss-user] [JBoss Portal] - Re: isUserInRole(String role) doesn't work

2007-08-28 Thread chennaikar
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

[jboss-user] [JBoss Portal] - Re: isUserInRole(String role) doesn't work

2007-04-18 Thread [EMAIL PROTECTED]
Here is the implementation of isUserInRole(String roleName) : |public boolean isUserInRole(String roleName) |{ | // Get the map role name to role link | Map securityRoleRefsMap =

[jboss-user] [JBoss Portal] - Re: isUserInRole(String role) doesn't work

2007-04-18 Thread [EMAIL PROTECTED]
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

[jboss-user] [JBoss Portal] - Re: isUserInRole(String role) doesn't work

2007-04-17 Thread Antoine_h
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