How To tell ADF Framework to use my authenticated subject?

Hi,
let's say that I have a subject instance which is authenticated through Weblogic server. Now I want to use this authenticated subject to protect my resources using ADF Security. So how should I tell this to ADF framework programmaically. For example I can think of storing my principal and roles in some type of objects and store it in session in a format that's understandable by the framework. By understandable I mean ADFContext.getCurrent.getSecurityContext.isUserAuthenticated returns true, getPrincipal returns my authenticated principal. I appreciate your helps.
Best Regards,
Salim

Hi Chris,
I want to implement programmatic authentication. I was able to authenticate given the LoginModule (weblogic.security.auth.login.UsernamePasswordLoginModule), LoginContext (javax.security.auth.login.LoginContext) and a callback handler.
try {
loginContext.login();
Subject subject = loginContext.getSubject();
It authenticates successfully. But he problem is that it does not push authenticated subject into session. My guess is that there should be a way to configure application server to use this subject for the session. I understand that adf security just delegates calls to application server. I thought may be there is a way to do it with adf. Thanks for the reply.
Best Regards,
Salim

Similar Messages

  • How to tell AE CS6 to use bundled Mocha rather than Pro?

    I recently upgraded my bundled Mocha from AE CS6 to Mocha Pro 4, but for some unknown reason, it won't let me export shape data in Mocha.  There seems to be no data at all, as even trying to paste in Notepad results in nothing.  Tracking data, however, works fine (both in AE and Notepad).
    Since I cannot figure out any solution in Mocha, the only thing I can do is use bundled Mocha rather than Pro... but I do not know how to tell AE to use bundled Mocha rather than Pro when I click 'Track In Mocha' (...a setting which was changed when Pro was installed).
    Does anyone know where/how I can switch it to Mocha bundled when you click on Track In Mocha?  (or, does anyone have any idea why Pro would not export shape data, whereas the same project in bundled Mocha did?)
    If anyone has any answers or theories, please let me know ASAP, as I have a project I'm trying to complete, and (as luck always has it) the weekend is now upon us, and support is closed over the weekend.

    I tried connecting MBP and TC via Ethernet - after verifying the settings that you suggested - and it does not work: if I turn Airport off, Time Machine says it can't find the TC
    Any other sugestions?
    Ok, then ethernet is not getting an ip address from the TC and is plugged in wrongly..
    You still didn't give me any idea of what actual model the linksys is.. and why is it in the network.. Is it a modem router?? If you have cable internet just throw it away and use the TC.
    If you have the linksys as modem, then bridge it.. turn off wireless and run pppoe client on the TC.
    If the ISP does not allow pppoe client mode then simply use the TC in bridge. Turn off all wireless in the linksys and just use the TC.
    Still need info on how everything is setup to analyse the problem.

  • How to tell PDDoc.Save() to use CombatibillityLevel 1.4?

    My application is using OLE to open PDF Files in Acrobat 9 and store them optimized for fast web access, again. Unfortunately, Acrobat stores the files as PDF 1.7 even if they were PDF 1.4 before.
    Is there any possibility to tell Arcrobat 9 to use PDF 1.4 (no matter if generall configuration or OLE command)?
    I´ve already tried to set the compabillty level in the distiller configuration but it seems, that PDDoc.Save always ignores these configurations.

    ok, thank you very much. It seems I have to look for a third party tool to convert my PDFs to PDFs with fast web access enabled. Just one last question: Is there a way to configure my Acrobat Installation to always save any pdf in PDF Version 1.4 (like the CombatibillityLevel Setting in Distiller)?

  • I just bought Photoshop on Ebay and I am wondering how to tell if the installation CD is authentic/legitimate.

    How do I tell if my software is an authentic Adobe product?

    Peru Bob wrote:
    It's not the software that you need to be concerned with, but the serial number.
    Unless, of course, it is a pirated/cracked copy, and they've loaded some malware in there with everything else.
    Other questions and points for the OP:
    - What version of Photoshop is it supposed to be? Newer versions (CS6/CC/CC2014) do not have a legitimate a disk version (at least, I don't think CS6 has one). They are download only.
    - Even if it is a legit version, if it has ever been used and registered, the original owner will need to transfer the license to you through Adobe for you to legally own it.
    --OB

  • How to configure ADF application to use OAM Identity Assertion ? web.xml

    We have a web application developed using ADF (application development framework) and deployed on WebCenter 11.1.1.2 (weblogic 10.3.2)
    OID Authentication and OAM identity assertion is configured in WebLogic 10.3.2 .
    How to configure security in ADF application (web.xml or weblogic.xml) so that it uses OAM identity assertion (already configured as authentication providers in weblogic server)
    Any pointers or documentation so that application (developed using ADF) check for identity tocken and verifies it with one of identity assertion providers.

    John,
    I have to concur. With OAM you don't need this. OAM intercepts the calls and inserts a cookie for WLS to get user information from.
    I strongly advise to go through the above mention OFM Security Guide. Esp. Chapter 10 tells you in every detail how to implement OAM SSO with WLS (with or without OHS as a proxy).
    Reading this chapter saves you time and turnarounds on this topic...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to tell if WiFi is used by apps and features t...

    Hi there,
    I just started to use the Nokia Lumia 800 Windows Phone.
    To discover the phone and all it's abilities I consume a lot of data from the internet (chat messages, photo's, websites etc.)
    My subscription with my phone provider is limiting the amount of data to 250MB. More data will result in extra costs.
    At home and WiFi hotspots, I connect using WiFi.
    I see on top the screen the 3G symbol as well as the WiFi symbol when connected.
    But my question is: How do I know for use that when I am connected to a WiFi server, it will download data from the internet using WiFi , rather then the 3G which will have impact on my MB usage of my subscription.
    Additionally: how can I see how many MB (data) I have consumed sofar..?
    Thanks for the help.

    "Additionally: how can I see how many MB (data) I have consumed sofar..?"
    This is not a function from what others have told me on here.
    To be honest its not a function on Android either.  However on Android there are a number of apps available that record useage.  Some of the better ones even turn off 3G when you get to your limit.
    I emailed the developer of the one I used on Android and he said he had no intention of developing any thing for Windows :-(

  • How to create ADF selectManyChoice dynamically using arrayList?

    Hi,
    I am using JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. I want to dynamically create selectManyChoice through my backing using and populating the same using ArrayList. Can anyone provide me sample code for the same?
    Thanks,
    Vikas

    Duplicate

  • HTTP adapter question - how to tell what URL was used in the runtime

    I need to know the URL information used when sending via HTTP adapter. I cannot find this information in the SXMB_MONI trace under SOAP header or in any other place.
    THanks,
    Pam

    Never mind....I found the log in ICM monitor

  • Templates - how to tell what target is using what template

    Trying to figure out who or what target is using what monitoring template? Anyone can suggest a way? Are only groups use monitoring templates?
    Thanks
    Roman

    Hi,
    As far as i know, you can find out this. Monitoring template is a template which you create and then apply to targets (so that you avoid setting metrics for individual targets one by one). You can apply a template on a single database or on a group by adding all databases in a group. Once you apply template, template metric thresholds will be set for that target based on the template and still you can modify certain metrics for this target. So it means that on a single target you can have metric set through template and also set manually thus it is not possible to find out what was implemented through template and what was done manually.
    Salman

  • How to tell firefox to always use xdg-open?

    Firefox has always been a pain when it comes to file associations. It's very annoying to specify which program I want to open a specific file type everytime - especially when I have to find the program in /usr/bin every time. Is there any way to make firefox use xdg-open or exo-open for ANY file type?

    By modifying the source code? Should be easy to do. Or maybe there is a patch for this somewhere (but I haven't found one when I was looking for it).

  • How to tell whether a license used to install SQL Server is MSDN license or Volume license?

    I want to check license used to install SQL Server is MSDN license or Volume license for SQL Servers which are at least SQL Server 2008 on Windows 2008 R2.  Is there any script/command/tool that I can run on Windows or SQL Server to find such
    information? 

    Hello,
    This is a community forum for technical questions & issues.
    For question regarding pricing / licensing please contact a Microsoft sales partner or licensing expert.
    Call (1-800-426-9400), Monday through Friday, 6:00 AM to 6:00 PM PST to speak directly to Microsoft licensing specialist.
    http://www.microsoft.com/en-us/server-cloud/products/sql-server/buy.aspx
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • How to tell if my laptop integrated graphics uses UMA or discrete memory?

    Hello,
    I'm looking to buy a replacement heatsink/fan assembly for my DV6-6117DX laptop as the ball bearing on my fan is dieing. Using the service manual I've narrowed it down to two parts:
    650848-001 (For use only with computer models equipped with an AMD A8, A6, or A4 processor and a graphics subsystem with discrete memory)
    650847-001 (For use only with computer models equipped with an AMD A8, A6, or A4 processor and a graphics subsystem with UMA memory)
    I'm just not sure whether my laptop's integrated graphics uses discrete memory or UMA memory. The processor is an AMD Quad-Core A8-3500M with integrated AMD Radeon HD 6620G Discrete-Class Graphics. This is copied from the HP specs page. Does the "discrete-class graphics" imply that it uses discrete memory?
    Thanks for any help!
    -J

    JunoMalone wrote:
    In my original post, I've already narrowed it down to one of two parts. My CPU is the AMD A8, my GPU is the AMD 6620G. I just don't know how to tell if my graphics use discrete memory or UMA memory, which will decide between the two heatsink/fan parts.
    Put this way if you have AMD video that is the discrete video and you most likely can't upgrade that video if that what your thinking of doing. It should have 1-2gigs of Video RAM that what it usualy comes with but that doesn't qualify it for a Gaming laptop if that is what your looking do to. Gaming laptops cost upwards to 2000US for decent game play and those Video are the higher end video chipset. And if you want to know if you have shared memory with the video look at your UEFI or Bios and look for shared video memory and you will have more insight into the video itself.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • How to tell if Im on AT&T?

    Hey guys. I guess I live right on the edge of an area covered/not covered by at&t. I have noticed that my reception bars have changed from black and white to colored and I have even seen a E next to it. So my question is how do I make sense of the different colors or letters so I know if Im on AT&T or some other network?

    how to tell if Im actually using at&T's own cell towers or a competitors.
    You will never be using a competitor's towers. A competitor would be T-Mobile, Sprint, Verizon, etc. and you'll never connect to their networks. You may in some cases be using an AT&T partner. In this thread, one poster advised:
    "To get an indicator when you are roaming on an AT&T partner network, call 611 and ask them to activate the (free) "Off Network Alpha Tag" on your account. If they ask why, tell them you want to be a good guy and observe the (usually unenforced) data limits while roaming."
    Hope that helps.

  • Video clip how do no when they are used

    Can any oneadvise me how you tell when you have used a clip in your time line. i am finding it hard to work out which clips I have used.

    this feature offers FCPX' tiny sister iMovie now for more than 4y, used clips/parts are indicated with an orange bar.
    not avail in FCPX. make an enhancement request at
    http://www.apple.com/feedback/finalcutpro.html
    in FCPX, this should be a 'switchable', optional indicator
    a well-known, common workaround is:
    select a clip in the Project timeline
    hit shift-F = find that section in the Event
    hit F = mark this as a 'Favorite'
    => now used parts are 'marked' with a bar.
    gets complicated, when you use Favorites to indicate … favorites

  • How to log out using BASIC authentication

    Hi,
    we are using JSC and Sun Appserver8.
    To authenticate we are using BASIC authentication and it works well.
    Now we need to do a log out function because of new demands.
    Is it possible to log out when using BASIC authentication ?
    If so, how?
    /Regards Krister

    If you are using Basic Authentication, you may not be able to force log out. In that case you may have to use form based authentication.
    Please read more details here
    http://httpd.apache.org/docs/1.3/howto/auth.html
    (Look at the topic How do I log out?)
    - Winston
    http://blogs.sun.com/winston

Maybe you are looking for