SecurityContext EL expression not working

When trying to apply this:
#{securityContext.userInRole['roleList']}
... (#{securityContext.userInRole['Administrator']})
... (#{securityContext.userInRole['Administrator,Spaces-User']})
to portlet visibility flag in Spaces it always returns false.
Bug or Feature ?
petri.
Edited by: psavolai on 14.4.2010 6:54

Did oracle respond with a solution to passing roles from WebCenter portal to a ADF portlet?
We have the following code inside of both the portal and the portlet:
Username: #{facesContext.externalContext.remoteUser}
is vendor: #{securityContext.userInRole['vendor']}
is buyer #{securityContext.userInRole['buyer']}
In the portal we get back the correct username along with "true" for both userInRole calls. This is correct. However in the portlet it does return the correct username, however both roles return "false". The roles defined in web.xml & portlet.xml on the ADF porlet side both have the vendor/buyer definitions:
portlet.xml:
<security-role-ref>
<role-name>vendor</role-name>
</security-role-ref>
<security-role-ref>
<role-name>buyer</role-name>
</security-role-ref>
web.xml:
<login-config>
<auth-method>CLIENT-CERT</auth-method>
</login-config>
<security-role>
<description>vendor role</description>
<role-name>vendor</role-name>
</security-role>
<security-role>
<description>buyer role</description>
<role-name>buyer</role-name>
</security-role>
Within the portal, we define the portlet producer which prompts for the user categories. I've mapped them to the J2EE roles via the dropdown lists. They have the same name on both sides buyer=buyer, vendor=vendor.
I've sniffed the raw HTTP traffic from the portal to the portlet and I can see this (snippit of the larger XML):
<ns0:userContext>
<ns0:userContextKey>weblogic</ns0:userContextKey>
<ns0:userCategories>buyer</ns0:userCategories>
<ns0:userCategories>vendor</ns0:userCategories>
<ns0:profile/>
</ns0:userContext>
As you can see it sends he user name (weblogic is the username) and the two roles I'm in. However this does not seem to get mapped in the ADF portlet side. So it would seem that the configuration on the portal is correct, but something is wrong / misconfigured on the portlet side as these categories are not getting mapped into into the ADF security context.
By the way I'm using 11gPS2

Similar Messages

  • Airport express not working since today's itunes update

    Since updating iTunes today, Airport Express not working. More specifically, the Airport software will recognise the device exists, but iTunes cannot connect to it, just getting error message.

    Ray Dio wrote:
    Since updating iTunes today, Airport Express not working.
    try this:
    go system preferences > network > airport > advanced > TCP/IP and set *configure IPv6* to off. click on apply.
    now have iTunes connect to the remote speaker again.
    JGG

  • Airport Express not working with Comcast

    I used to have AT&T and had my airport working well. Yesterday i changed to Comcast and my airport is not working the light stays yellow.. I tried resetting it but it didn't work.. I use it with my old Cisco router and its working. Whats wrong with my Airport Express? My computers are Windows 7

    A solid amber light indicates that the AirPort Express has locked up....or it is defective.
    Suggest you that try a Factory Default Reset as follows:
    Pull the Express from power
    Let it rest for a few minutes
    Hold in the reset button and keep holding it for another 8-10 seconds while you plug the Express back in to power
    Release the reset button after the hold period and allow 40-45 seconds to restart
    The Express should display a slow, blinking amber light at this time
    If you continue to see a solid amber light after a few tries with a Factory Default Reset, the Express has failed and it will need to be replaced.

  • SSRS dynamic image expression not working

    Hi All;
    All my below dynamic expression not wrking
    =iif(First(Fields!new_mainValue.Value,
    "DataSet1")="ABC",True,False)
    Any help much appreciated
    Thanks
    Pradnya07

    Below worked for me 
    =iif(First(Fields!new_mainValue.Value,
    "DataSet1")="ABC",False,True)

  • DTS (5.1) Audio Through Airport Express: Not Working

    I imported some DTS-encoded WAV files into iTunes, to stream to my audio system via an Airport Express. The AE is connected to the preamp via optical, the WAV files were not converted or modified in any way, and the volume is @ 100% in iTunes.
    The preamp receives the files and the DTS icon lights up, so all seems to be good... except the audio output is 2.0 only. As a test I converted the files to Apple Lossless (since I know the AE has to make that conversion), same result.
    As another test I turned down the volume in iTunes and the audio became white noise, another indication that the files are DTS.
    If I burn an audio CD using iTunes and the same WAV files, and play them on my OPPO player I get 5.1, the final and conclusive proof that the files are properly encoded.
    I know I've read that streaming DTS-encoded audio via the Airport Express is possible, so I'm not sure what I might be doing wrong.
    Any ideas?

    Hi,
    I experienced some DTS files in iTunes, with my AirPort Express some months ago, it was working fine on my Marantz receiver. A few days ago I wanted to listen to them again, only white noise... I wanted to rip by myself a DTS-CD, therefore I found this out. Apparently since AirTunes has been turned to AirPlay, it's not working anymore (?) / the same way.

  • Airport express not working with apple products

    We have been trying to get airport express to work with a macbook pro, ipad2, iphone, laptop, htc wildfire - havent even tried the air music or printer yet! 
    We have a green light on the airport express which is connected to an ntl cable modem(virgin media network).
    Currently the only thing that will connecy is the laptop and my htc phone.  All the apple products will not connect? 
    We went to the apple store today and it worked grand when it was plugged in - the apple products all worked.
    The network comes up on ipad2 but when you press connect it says 'unable to connect'
    can anyone help us please?
    thank you

    I have the same issue.  Mine fixed itself for a bit and now it's broken again.  I'm thinking it's going to be intermittently broken.  I've tried turning both devices off and on again but that did not help.

  • Expresses not working with Extreme:  another case

    It seems like lots of folks are having similar problems. Here are the specifics of my problem:
    Using Airport Utility 5.3.1
    1. New Airport Extreme N, 7.3.1 firmware, configured as WDS main, radio mode n (g/b compatible), works fine, internet connects, security WEP (Transitional).
    "Allow to be extended" is unchecked
    "Allow wireless clients" is checked
    2. New Airport Express N, 7.3 firmware, configured as WDS relay. After update, Utility no longer sees the Express, light flashes yellow, can't connect to it.
    3. Previously used Airport Express G, 6.3 firmware, configured as WDS relay after a hard reset. After update, Utility no longer sees the express. Light is green, can get wireless signal from this unit but no internet connection.
    Ultimately I'm trying to connect to another Express G with 6.3 as a WDS remote. But that's a moot point till I can get the relay working.
    Sometimes I am prompted for a WPA password for my security, even though it is set as WEP on the Extreme ... Just checked the Express G and it was showing WPA; changed it to WEP and now this unit has become invisible to Utility again. A hard reset will make it visible, but then after configuring it, it will disappear again without becoming fully functional.
    In another location, I have set up a similar network (Extreme N as WDS main to Express G relay to Express G remote). This was a while ago, so it was probably a different Airport Utility.
    Would appreciate answers on:
    - Whether to check "allow to be extended" on the Extreme. Maybe this is preventing internet access from reaching the Express relays.
    - Why WPA keeps showing up when I've only selected WEP
    - What to do about Expresses not visible by Utility
    - Why internet connection isn't being shared
    - How should IPv4 be set on the relay: manual? DHCP? It's DHCP on the Main (Extreme).
    - Is there a previous version of Utility which doesn't have these problems and is compatible with Extreme N? The Express N is optional for me, though the extra range would be helpful.
    - Now I get an error message when trying to join my wireless network on the formerly working Express ...
    - To switch the MacBook from one Airport to another, I turn the MacBook's internal Airport off, then on. It will then connect to the one with the strongest signal. For some reason it isn't connecting to my network automatically; I have to select it each time. It used to find the network automatically. Not sure what changed here.
    Thanks in advance to all you gurus. 7 hours on this is enough for one day.
    Dave

    and a P.S.: I've been leery of upgrading the Express N to 7.3.1 since so many people are saying they have problems with it. Does that make sense to the gurus?

  • EM Database Express not working in RAC installation

    I installed the Oracle 12cRAC  , Standard editon ,version : Oracle Database 12c Release 12.1.0.1.0 - 64bit Production edition in Windows 2008 64 Bit .
    Instance and RAC database is working fine is both host.  After installation of the database (DBCA), it EM database express URL shows as
    https://apph1.xxxx.com:5500/em
    If i run the URL, it is not working.
    Following are the output of the command:
    SQL> SELECT 'https://'||SYS_CONTEXT('USERENV','SERVER_HOST')||'.'||SYS_CONTEXT('USERENV','DB_DOMAIN')||':'||dbms_xdb_config.gethttpsport()||'/em/' from dual;
    5500
    SQL> SELECT 'https://'||SYS_CONTEXT('USERENV','SERVER_HOST')||':'||dbms_xdb_config.gethttpsport()||'/em/' from dual;
    0
    SQL> select dbms_xdb_config.gethttpsport() from dual;
    https://apph1:5500/em/
    SQL> select dbms_xdb_config.gethttpport() from dual;
    https://apph1:5500/em/
    But still EM express not open in the broser.
    I am not sure, how to check the listenr in RAC.
    C:\>srvctl status listener
    Listener LISTENER is enabled
    Listener LISTENER is running on node(s): apph1,apph2
    How enable the EM Express in RAC?
    Regards
    Mathew

    Dear All,
    I set HTTP port manually
    SQL> exec dbms_xdb_config.sethttpport(8080);
    Now EM express working on http.
    Regards
    Mathew

  • HT2508 airport Express not working in Mountain Lion

    My old airport express stopped working properly since I loaded Mountain Lion.  I purchased a new Airport Express and it will work, but the audio fades in and out.  I am connected from the airport express unit to my audio receiver via a 3.5 out into RCA (red/white) connector into the receiver.  Can someone suggest a cure?

    I have three printers up and running connected to an Air Port Express,
    and since I upgraded to Lion I can't connect to any of them, so I continued using SL on this MBP17.
    System Preferences does not show any of my printers.
    I opened Air Port and it says I need to update.
    When I click on the update button, it takes me to the App Store, but no Air Port Software — What gives?
    Now having the same problems with Mountain Lion.
    Hoped ML would fix the problem, but NO.
    I find I have to save documents to a flash drive and go to my old PowerMac G4 to print.
    Steve we miss you. Apple is going to crap without you.
    Message was edited by: random47 to fix typos and add information.

  • Airport Express Not Working

    Maybe someone can give me a hand. The airport express is working great for AirTunes but will not hookup to the internet. We've plugged in via ethernet wire and it works fine. We've also tried resetting the airport and unplugging it, resetting our computer. No dice. On the top of the computer screen the aiport indicator reads full internet perfectly but cannot connect. We're stumped.
    Thanks for anyone who can give us a hand.

    Assuming you have a green light and you wireless mac can see the network but you have no internet; unplug the cablemodem for a minute.

  • Airport Express Not Working With Netgear Router

    I have two Airport Expresses connected to my Netgear WNDR3300.  I run Windows 7 on all my computers.  One express works fine, wirelessly streaming music in several rooms.  However, the other does not work unless it is plugged into my router.  When it is unplugged and I try to connect to it via iTunes I have a "connection timed out" message.  Genius wasn't able to help me, and the Apple support won't help me over the phone because the express is out of warranty.  It is a 1st generation Express, but was working fine until I installed the newer express.  Can anyone help?

    I am sorry that I don't have a definitive answer but I also have Windows computers and I have "inherited" some older Apple devices from my son and am trying to learn about them so in addition to searching this group,  I "Googled" "1st generation airport express" and it listed many specific posts in this group - I read them all and they might answer your question - good luck

  • Airport Express Not Working with iMac G4 and HP laptop

    Ok I am really frustrated with this. I had my Airport Express configured to my mac and my old roommate's mac fine. I moved and just tried setting it up with my mac and my new roommate's PC laptop. It did not work. I tried connecting a router to see if that would help. It still didn't work. I reset the airport's default settings and it still didn't work. Is there a connectivity issue between macs and pcs using the airport express that I don't know about? Am I missing something? Can anyone give me some suggestions of what to try next because I am seriously fed up and running out of ideas of how to alleviate this.
    Could it have anything to do with a firewall on the pc or the fact that I'm going from a place that supplied me cable internet to a place that now has dsl?
    Thanks for any help.
    Aaron

    Macs and PCs work together just fine with an Airport Express.
    Unfortunately, you have given us little information to help you with beyond simply indicating that "it doesn't work". Please elaborate:
    1. do the Mac and PC "see" the Airport Express wireless network?
    2. if so, does the Airport Utility (or Airport Admin Utility) on either computer "see" the Airport Express and allow you to view/change its configuration?
    3. what does the status light on the Airport Express show?
    4. if you can connect to the Airport Express wireless network from the PC and/or Mac, is the only problem that you cannot access the internet?
    5. what kind of reset did you do? To really start from scratch, do a factory default reset as described here.

  • Airport Express not working with wireless router

    I just bought Airport Express to play music on my stereo. My PC running XP is connected to my wireless router (TeleWell TW-EA510v3) with ethernet cable and airport express wirelessly. Problem is that Airport Utility (and iTunes) can't find AE if it's not connected to router with ethernet cable.
    I can connect to AE from Aiport Utility by "configure other" option so it's connected to my wireless network correctly.
    Is this kind of set up even possible (pc wired to router and AE wireless)? I have tried tried WEP, WPA/WPA2 and no encryption on my wireless network and AE connects ok every time but Airport Utility still can't find it. I even tried to make a WDS network but AE was not compatible with my router. Now I can't come up with anything else to try.
    Is there anything else to do? Should I buy WLAN adabter to my PC and would AE work then?
    Why can't Apple make Airport Utility to recognise AE with given IP like with "configure other" option? Should not be too hard to program?!
    Message was edited by: -MTL-

    Follow the isntruction lisetd below...they work.
    Actually, the ae is a slick device, once you get it to work.
    Make sure that one (or both) checkboxes in Airport Utility > Airport Express tab
    (middle of page) are not checked...if one or both are checked, they limit (hide) wireless connectivity options (e.g., WEP-64) to choose from.
    P.S. You must have patience: it may take a couple of minutes to establish the connection and turn the led to solid green. So, give it a chance.
    ===============================================================================
    OMG!!! You are da man!!!
    I have this streaming perfectly now!! Here is what I did for others to see and use (it does work perfectly)
    Step 1) Clear/Reset the Airport Express
    Step 2) Connect the Airport Express directly to the Router/Modem via Ethernet to set up Wireless
    Step 3) Do it via the Manual Set-up Effort Listed Below following:
    AirPort > Base Station
    o Base Station Name: <rename or leave default>
    o Base Station Password: <enter desired password>
    o Verify Password: <re-enter desired password>
    o Remember this password in my keychain: (optional)
    o Set time automatically: (unchecked)
    AirPort > Wireless
    o Wireless Mode: Join a wireless network
    o Network Name: <existing Linksys wireless network>
    o Wireless Security: <select the encryption type of the existing wireless network> I have 64bit WEP
    (Same as 40bit on the drop down menu)
    o Wireless Password: <enter the existing wireless network password>
    o Verify Password: <re-enter the existing wireless network password>
    Music
    o Enable AirTunes (checked)
    o iTunes Speaker Name: <enter desired speaker name>
    o iTunes Speaker Password: (optional)
    o Verify Password: (optional)
    o Click Update to write the new settings to the AX
    In iTunes:
    iTunes > Preferences... > Advanced > General
    o Look for remote speakers connected with AirTunes (checked)
    Once it congratulates you, unplug the ethernet cable
    Verify in Aitport Utility that it still recognizes (if not, repeat the above). Note this may take a few minutes, so be patient.
    Now place the airport express with your stereo (or whatever) and again be patient as it tries to find the network
    (mine took 4 minutes) then it turns green and you are off listening to music on your stereo downstairs in another room.
    Frustrating when it does not work at first, but keep trying and it will work!!
    Thanks everyone for your help!!
    ===============================================================================

  • Airport Express not working with iTunes

    After experiencing cutting out and poor sound quality, I reset my Airport Express to factory settings. It is part of of my network with an Airport Extreme. Everything appears to be correctly configured and I get a message indicating it was successful, but then I get an error message after the restarting of the Airport Express and I can no longer see airport Express listed in the Airport Utility window. Playing iTunes through my stereo speakers does not work. In order to attempt the configuration again, I have to reset the Airport Express to see it in the window again. I get the same result each time. Can you suggest anything in the configuration of my Airport Express which would be causing the problem I have an iMac running OS 10.4 Thanks for your help.

    I had a similar problem. My solution was NOT to use the Airport Utility application. Make sure you reset your airport express then do the following:
    1/ Open Preferences
    2/ Choose Network
    3/ Highlight Airport and insure it is clicked "ON".
    4/ See if it shows up under "Network Name"....if it does click "Apply".
    Let me know if u get it working...

  • Airport Express not working with University Network

    So I recently purchased an Airport Express to use as a router/to stream music because my University's (University of Arizona) network is a WPA-2 Enterprise network doesn't allow that. I have an ethernet port in my dorm room and its all hooked up but when I connect to my created network there is no internet connection. I already registered the MAC address with the network so now I'm not sure why its not working.

    I have just bought the new Airport Express as well and when I plug it into my router at home it does not pick up the Internet. My old AE has no problems at all and all other connections work.
    I can see the new AE in my Airport Utility but cannot connect to it. Really frustrating and far from plug and play.

Maybe you are looking for

  • Can not Insert data to Microsoft Access successfully

    I am using Microsoft Access database, and trying to insert some data into a table with a "while" loop, but every time, the last row can not be inserted although the return value of the "executeUpdate()" is 1, can anyone tell what's wrong with that? t

  • Trouble inserting photos

    Try as I may, I can't get photos that have been taken with an iphone held vertically to insert with the proper orientation - they go in rotated.  Photos taken with the phone held horizontally go in fine.  Any suggestions?

  • Connecting to AT&T DSL gateway wirelessly

    I'm anxiously awaiting the arrival of my new MacBook Pro. Can't wait to trash my Dell! I have ordered AT&T DSL with a gateway. Is there any adapter or other equipment that I will need to purchase to connect My laptop to the internet wirelessly in my

  • Missing information after upgrade to APEX 3.0.1

    Hi, I recently upgraded to APEX 3.0 from APEX2.2. I had some problem with the images not displaying properly,which was fixed later. But now my problem is when i try to navigate at the page Level of any application e.g (HOME>APPLICATION BUILDER>APPLIC

  • Transporting of scenario with BPM

    Scenario: Syncronous webservice call -> XI -> BPM (SYNC/ASYNC BRIDGE) -> Async IDOC posting Guys I have transported the above scenario into my QA system, but I am unable to execute the scenario now successfully. The adapter engine is showing - Receiv