Portals (MOSC)

MOSC Banner

portletRequest.isUserInRole(...) - doesn't work into WLS Managed Server

edited Jul 7, 2014 5:00AM in Portals (MOSC) 2 commentsAnswered

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)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center