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-name>myrole</role-name>
  |     <role-link>myrole</role-link>
  | </security-role-ref>
  | 

I have updated web.xml and added my role

  | <security-role>
  |     <role-name>myrole</role-name>
  | </security-role>
  | 

I have entered the value in the jbp_roles table

Since I am logging in against LDAP I am sure I am getting the role in the 
profile.

Yet I do not get isUserInRole("myrole") == true

Is there something I am missing?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078954#4078954

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078954
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to