portletRequest.isUserInRole(...) - doesn't work into WLS Managed Server
Hi experts!
I have truble with Portlet API function "portletRequest.isUserInRole()" in ADFBridgePortlet-s into WC Spaces.
I first, as in the conventional other portals, simply setting a "<security-role-ref>" in portlet.xml:
<security-role-ref> | |
<role-name>role1</role-name> | |
<role-link>role1</role-link> | |
</security-role-ref> |
and web.xml:
<security-role>
<role-name>role1</role-name>
</security-role>
deploy, reg as WSRP producer, place on Space page, login myrealm's user with "role1" - does not work.
Then I found here a Doc Document 1528228.1
After this, I have a working Portlet & Portal Application (as copy from step-by-step manual Document 1528228.1) in Integrated Weblogic
- But it's - not Spaces env, It's Portal framework env ... ( don't critical, if it's will be working under Portal framework - will be good)