Question about SSO in a JSF app

Hello everyone. We're building an app using ADF Faces and EclipseLink. May be this question is in wrong thread but I could not find more suitable thread.
We've already configured basic security: an Active Directory provider in WLS 10.3 and FORM based authentication in the app. And this config works fine. But we need to add simple SSO (single sign-on) to our app besides the current config.
As I know we can obtain windows OS current user login using an ActiveX element on page. For example:
<body>
<script>
document.write(new ActiveXObject("WScript.Network").UserName)
</script>
</body>I know that this will work in IE browsers only and we should add the app's domain to trusted list, but this is what we need.
As I see we need something like this: if a user is trying to access a certain page (which is not secured by web app config) where will be an ActiveX element, he will be authenticated wia his current OS username and redirected to the index page. But if he first accessed another page, he will be redirected to FORM login page.
Could you tell how to get an output from ActiveX and then use it to authenticate?

It would be undesirable to change from app's current security config (container-based authentication), because we use Oracle proxy functionality and in our EJB session beans we need to get callers login (with container-based authentication it is rather simple).
I've managed to pass the current OS user login from an ActiveX object on page to backing bean. But now I need to authenticate in container using this login (I don't have password). Is this possible? I've searched a lot, but still I don't see the answer.

Similar Messages

  • Questions about using the Voice Memos app

    I'm currently an Android user, but will be getting an iPhone 6 soon. My most used app is the voice memos app on my Android phone. I have a couple questions about the iPhone's built-in voice memos app.
    -Am I able to transfer my voice memos from my Android phone to my iPhone, so my recordings from my Android app will show up in the iPhone's voice memos app?
    -When exporting voice memos from the iPhone to computer, are recordings in MP3 format? If not, what format are they in?
    -In your opinion, how is the recording quality of the voice memos app?

    You cannot import your Android voice memos to your iPhone's voice memo app.  You might be able to play the Android memos and have the iPhone pick up the audio and record it.
    Here is the writeup about sending voice memos from the iPhone to your computer (from the iPhone User Guide):
    App quality is excellent.

  • Questions about Adobe Muse CC single-app membership.

    When speaking to adobe customer service reps about Adobe Muse I feel like their taking me around in circles. My annual membership to the current Adobe Muse is going to expire in June. So before I sign on for another year I had some basic questions that seem to be baffling the adobe reps. one rep called Travis just hung up on me.
    My questions;
    With an Adobe Muse CC single-app membership.
    Can I host a site on Business Catalyst for free?
    The rep said I have to purchase Business Catalyst separately from Adobe Muse
    This adobe page says, “An Adobe Muse CC one-year single-app membership includes hosting for one webBasics site
    (http://www.adobe.com/au/products/muse/faq.edu.html)
    How much space do I get on www.creativecloud.comwith a single-app membership?
    The rep said I get 20GB when Adobe Muse becomes Adobe Muse CC in June
    I currently have Adobe Muse and I have 20GB of space on creative cloud.
    This adobe page says I get 10 GB (http://www.adobe.com/au/products/muse/faq.edu.html)
    This adobe page says I get 20 GB (http://www.adobe.com/au/products/muse/features.edu.html)
    Can someone pleas answer these questions!

    With an Adobe Muse subscription, you get BC website hosting for 1 webBasics site. With a subscription to the creative cloud, hosting for 5 webBasics sites are included.
    Single app subscriptions get 20GB of storage space on creative cloud.
    I'll try to get that first link updated with the correct info.

  • Question about SSO (for Java Dialog instance) for Portal EP 6.0 SP 20

    Hi All
    I have following question.
    We are running Portal 6.0 SP 20. We have JAVA (Portal) CI+DB running on single host SAPQP1 and Two JAVA Dialog Instances (J2EE Application servers) running on separate host namely SAPAP35 and SAPAP36.
    I was able to configure SSO between SAPQP1 (CI+DB) and ECC R/3 system (QC1). SSO is working fine. Users can access all ESS/MSS data in portal when they use Portal URL running on SAPQP1 (http://sapqp1.xxxxx.com:50000/irj).
    But when users try to access ESS/MSS data via portal (URL) running on SAPQP35 (http://sapap35.xxxxx.com:50000/irj) and SAPAP36 ((http://sapap36.xxxxx.com:50000/irj) SSO does not work, i.e it system asks user id and password.
    So , how I can configure SSO between SAPAP35 and SAPAP36 JAVA Dialog instances and ECC R/3?

    Hi Sandip,
    obviously you already configured QC1 to accept Tickets issued by the Java Engine on SAPQP1. Did you imported the public (java) certificates from SAPAP35 and SAPAP36 into your ECC System? The certicficates need to be added in client 000 to your System PSE and in your production client to your ACL.
    Regards,
    Enno

  • A question about backend of creating the app with Xcode

    Hi,
    I'm a new iphone developer who just started to learn how to create iphone apps.
    I just started to learn about view-based applications.
    When I select view-based applications, XCode will automatically generate some files for me.
    For example, if a create a new project called "A", XCode will generate files like "AViewController.m", "AAppDelegate.m", and "main.m".
    but I don't see anywhere in those files where it's actually creating the instance of "AViewController" or "AAppDelegate".
    So at where and at which file are the instances of "AViewController" and "AAppDelegate" created?
    Also where is the instance of the main application created?(not A.app if you know what I mean)

    I hope I can add to the correct answer posted by J D McIninch since the solution to this thread might provide a good example of how xib objects work--i.e. what I tried to explain in your [previous thread|http://discussions.apple.com/message.jspa?messageID=11479911#11479911].
    Daviiidddd wrote:
    So at where and at which file are the instances of "AViewController" and "AAppDelegate" created?
    Open MainWindow.xib and make sure the xib window is visible by selecting Document from the Windows menu. You should see a solid orange cube labeled "A App Delegate", and a circular icon labeled "A View Controller". These icons represent IB objects. The objects are described by xml elements in the xib file, and that xml will direct the system to create the real objects in memory when the xib is loaded. While it's not technically correct to say the real objects are "created by IB", we can say that the specification for the real objects is built in IB. In other words, the xib file which results from an IB editing session contains a tree of specifications which will be used to create real objects at runtime.
    Btw, to graphically see the tree of xib objects (the "view hierarchy", find the +View Mode+ switch in the upper-left corner of the xib window. Select the Center position of that switch so the window displays a two column table with a tree of small icons to the left. This is the xib view I recommend for all your work.
    Also where is the instance of the main application created?(not A.app if you know what I mean)
    The Application object is created by the [UIApplicationMain()|http://developer.apple.com/iPhone/library/documentation/UI Kit/Reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/doc/ui d/TP40006894-CH3-SW7] function called by main() in main.m. The MainWindow.xib is then loaded, and the Application object is given ownership of that xib. This means that the File's Owner proxy object represents the real Application object, so all connections to File's Owner become connections to the real Application object.
    Note that the File's Owner cube is transparent. This is IB's way of denoting a proxy object. The First Responder is actually a proxy of a different kind, but let's not go there now.
    \- Ray

  • A question about how to download my app to device...

    Hi all, I'm fair new to Mac and iPhone programming and now I want to sign my app and download to my iPhone device.
    I saw the document on apple website(http://developer.apple.com/iphone/gettingstarted/docs/signingcodeforiphonedev.ac tion)tell us that we can sign our app through using Keychain Access utility. But the question is what are the exact steps to do this?
    Could somebody give me a help,I'll very appreciate ~

    1. Apply to become an iphone developer with Apple.
    2. Get approval from Apple
    3. Pay $99 yearly fee
    4. Get confirmation from Apple.
    5. Log on to the Apple iphone Developer area.
    6. Go to the Portal Button (upper right)
    7. Download the Portal Guide (right)
    8. Print this out
    9. Follow the portal guide step by step.

  • Question about AppleScript, iTunes and the app Proximity...

    So I have this application Proximity, which uses bluetooth's proximity to the cpu to run both an out-of-range script and and in-range script. I'm currently using it to activate my screensaver with password lock and vice versa. I'm also using it to sync my Bluetooth phone via iSync. Finally, I'm using it to pause and pause/play iTunes when I come and go from the cpu. The problem I was having was that if I had iTunes closed the script would still open it and then play the first tune. If iTunes is closed I don't want it to start playing. I came up with a workaround, but it seems a little sloppy. Here is what I came up with, but I want to make it as seamless and clean as possible. This is a script for when I enter the proximity of the cpu. If it's in a paused state it will play. If it's in a stopped state (it will quit) or closed from the get go, iTunes will open then subsequently quit.
    -- PlayPause iTunes
    tell application "iTunes"
    if player state is paused then
    playpause
    end if
    end tell
    tell application "iTunes"
    if player state is stopped then quit
    end tell

    How to Get Apps From the App Store Without a Credit Card
    http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    http://support.apple.com/kb/ht2534
    If None is not available - On your computer launch iTunes and click "iTunes Store" in the left navigation pane. Click the "down arrow" next to your name at the top right side of the page and click "Account." Enter your username and password and click "View Account" to log into your account information. Next to your Payment Type, click "Edit." Select the "None" button and click "Done." Confirm that your card has been removed by returning to the Apple account information screen. Under Payment Type, it should say that there is no credit card on file.
     Cheers, Tom

  • Question about installing a Creative Cloud app on multiple computers.

    If I install a Creative Cloud app on Computer A and Computer B, and then I uninstall the app from Computer B, can I then install the app on Computer C?
    If yes, are there any special steps I need to take in this process?

    Ken G. Rice wrote:
    @gary0a1 - I assume you are referring to reply 20 by Jeff Wright from May 2012: "Yes you can have both computers turned on and connected at the same time.  As long as you are only using the applications on one computer at a time it is not a violation of the EULA."
    A single user can now use the software on two computers at the same time.
    See the Creative Cloud FAQ here https://www.adobe.com/products/creativecloud/faq.html under the Getting started section:
    Can I use the software I download from Creative Cloud on multiple computers?
    Yes, you can use Creative Cloud desktop applications on two computers at once, regardless of operating system, for the individual associated with the Creative Cloud membership. See the product license agreements page for more information.
    Hi Ken,
    Hoping you could offer some clarification on this.  The current version of the CC FAQ doesn't seem to have same language as before; here's what it says now:
    Can I use the software I download from Creative Cloud on more than one machine?
      Yes. Creative Cloud desktop applications can be downloaded and installed on multiple computers, regardless of operating system. However, activation is limited to two machines per individual associated with the membership. See the terms of use for more information. Learn how to deactivate a Creative Cloud license on a machine.
    ...what's more, the Creative Cloud EULA was updated on June 18, 2014, completely replacing the prior one from October 16, 2012.  The new Adobe General Terms of Use reads:
    "You may activate the Software on up to 2 devices (or virtual machines) at a time, if these activations are associated with the same Adobe ID for the same individual, unless stated at http://www.adobe.com/go/activation.  However, you may not use the Software on these devices simultaneously."  [emphasis added]
    So, is using the CC apps on two systems at the same time actually allowed?  Would it be possible to get a definitive answer or clarification on the previous reply here?
    Thanks so much!

  • Quick question about PHP sessions and Air app

    Could someone clear this up for me?
    My air app makes html requests to php scripts, php login, search etc. I've been advised to use sessions in the php scripts to ensure each request to a script is done by a logged in user.
    So is the session identifier stored automatically by air somewhere, similar to a cookie in a browser?

    4.4.1 is indeed the version of php in 10.4.6, but it's also the version of php that's running on my 10.3.9 server. You can execute php -v on your server to see which version you've got, but it seems unlikely that it's a version other than 4.4.1 if you haven't updated it yourself. Are there security updates you haven't applied?

  • Question about iTunes Gift cards and App store.

    Well, I need to get some apps for my dad's iPhone 3GS, and the problem is, that I don't have a credit card or paypal account. I can buy an iTunes gift card to get those apps but, my doubt is, with those gift cards, can I buy apps for the iPhone despite the fact that my Apple ID account is from Mexico, and not from the US?

    You cannot buy anything from the U.S. itunes store unless you are in the U.S. and have a valid address in the U.S. and credit card tied to that address.
    http://www.apple.com/legal/itunes/us/terms.html
    "Purchases or rentals (as applicable) from the iTunes Store are available to you only in the United States, its territories, and possessions, and are not available in any other location. You agree not to use or attempt to use the iTunes Store from outside of the available territory. Apple may use technologies to verify such compliance."

  • Question about running classes as standalone apps

    I have figured out that I can run a java application as a standalone application by including javaw.exe in my program and then creating a shortcut to that javaw.exe. For instance the target for the shortcut would be: "C:\Win\ChatProg\javaw.exe ChatFrame"
    Now my problem is that I can't figure out how to make the target point to the folder the program is in, not "C:\Win\ChatProg\" I want to do something like "CODEBASE%\javaw.exe ChatFrame" is there any way to do that?
    Thanks!

    Right-click the shortcut and select "Properties". Put whatever you want to be the current directory when the application runs into the "Start In" box.

  • I have a question about DWG files.  Can I open them on my MacBook Pro with OX 10.9.5 system?What app do I need to view and print them?

    I have a question about DWG files.  What app will allow me to open DWG files to view them on my Macbook Pro?

    Perform this Google search: ".dwg files on mac." The results should provide answers for you.

  • Question about Logon ticket with user mapping at BI-JAVA environment

    We're implementing BI 7.0 including BI Java and SAP EP for end user
    access.
    I have two question about SSO method when we're using BI Java.
    I know we can simply configure SSO logon ticket with BI-Java(EP
    included) and BI-ABAP through BI template installer and we already
    succeeded in that case.
    But the problem is we want to change it to user mapping SSO method for
    some our internal reason.
    After we configure user mapping SSO, we've got SSO failed error when we
    call BI-Java stuff like BEx Web Application iView.
    After many testing implemented, we found SSO Logon ticket with user
    mapping (using SAP reference system). It seems working now.
    But our question is "Is it no problem when we use SSO logon ticket with
    user mapping?" Is there any restriction or issue?
    One more question is we can ONLY use user base mapping when reference
    system used. How can we assign BI-ABAP users to EP Group?

    Using an SAP Reference system is allright. But if the reason u r going for this is because of different usernames in EP and BI, why dont you go for user mapping.
    Anyways, on restriction of reference syetms is that you can have ONLY ONE reference system defined in portal. In you case you can only have the BI system defined.
    Hope this helps!!

  • HT201303 hi just got my new apple ipod touch i need to update my security information other wise it wont let me download apps it says to enter three questions about myself and i get to the third question and it wont let me enter the third question

    hi just got my new apple ipod touch and to download apps it wants to add questions about myself for more sercurity information. i get up to question 3 and it wont let me select a question but it will let me write an answer so i just pressed done and then it says i cant carry on because ive mised out information when it wont let me do a question!

    Welcome to the Apple community.
    You might try to see if you can change your security questions. Start here, change your country if necessary and go to manage your account > Password and Security.
    I'm able to do this, others say they need to input answers to their current security questions in order to make changes, I'm inclined to think its worth a try, you don't have anything to lose.
    If that doesn't help you might try contacting Apple through Express Lane (select your country, navigate to iCloud help and enter the serial number of one of your devices)

  • Question about app itune, it automatically charge money from my card on Apr/24th, but i have not buy any music or any apps on that day!! what's wrong

    question about app itune, it automatically charge money from my card on Apr/24th, but i have not buy any music or any apps on that day!! what's wrong ??

    Please look at your E-Bill and click report a problem.

Maybe you are looking for

  • Cannot access my desktop cloud apps, laptop works fine.

    My dilemma is this. I originally installed CC on my desktop iMac 27 a couple months ago. I went ahead and installed the second applications on my i5 mac book pro several weeks ago too. Today I downloaded the latest versions of CC2014, and took the ha

  • Connecting laptop to WRT350N and wireless security

    Hi, I have the following problem. I need to connect a laptop to WRT350N router. Everything works OK if I do NOT use wireless security. If I use PSK (WAP) then at the Preferred Network screen I set the settings to WAP/PSK and enter the shared key. How

  • I have error with Nokia Music

    I'm using lumia 710...im having problem with Nokia music..when anytime I start download music..its giving error "not downloaded" so I can't download the music from it....help me to resolve this....

  • Wrong color of an image!

    I have scaned an image, modified it in Photoshop (made white bgcolor) and imported it in SAP. In SAP I see gray bgcolor of my picture (not white). What should I do?

  • Message Aggregator Question

    I have an instance where I need 2 sender file adapters to send XI 2 different files (layouts are different).  XI then needs to combine and map the messages from these two files into a single IDoc for each combined message.  I know in a multi-mapping