Singe Sign On bewteen Apex and JSP Application

Hi,
the following problem: We have a Apex and a jsp Webapplication. In Apex we use LDAP Authentication and Role Authorisation. The JSP page also uses LDAP to authenticate users.
Now there is a request from the Java guys to use one of our pages because they need the information. They will include a link to our page and the user can simple click on it. Parameters are passed as usual using the f?p Syntax.
But how can we pass the already authenticated user through to the Apex app? Are there any common ways to accomplish this? As both apps are used only inside the company I though of using NTLM but I have never done anything with it. On the basis of your experience how much efford will it be solve it with NTLM? And is it possible?
Are there other/better recommendations?
Dim

Dim - Search this forum for examples of using the NTLM "page sentry". The key is that you need something accessible to your applicaiton's authentication scheme code (the page sentry in particular) from which you can obtain the authentication username (securely). This is usually a cookie, header value, or CGI environment variable.
Scott

Similar Messages

  • OAS and JSP Application Events

    I installed the JSP patch to OAS 4.0.8.1. I am not able to run Java Server Pages. Whenever I try, I get an "Internal Server Error" message. I also get around 8 event log enteries per request. The following undocumented oracle errors occur.
    OWS-04764
    OWS-04517
    OWS-04512

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sanjay pandey ([email protected]):
    Hi Maire,
    According to U Jsp sample runs fine i IDE, but it creat problem in deployement time. U have to configure OAS at the installation time using system Manager Wizard for managing
    the dlls( selecting jsp scripting files from src folder)to make it visible at its port address.
    <HR></BLOCKQUOTE>
    null

  • Where do I get started with OAS and JSP ?

    Where do I get started with OAS and JSP ?
    Resources?
    Please point me in the right direction!
    Post and/or email me at [email protected]

    The simplest way is to read OAS4082 Documentation:
    Developer's Guide: JServlet and JSP Applications.

  • Ideas pls for a small application on java and jsp?

    hi ,
    I would like to create an application which for resume. I would like to codify the java code . The java code should be able to autogenerate jsp file's since the output of the resume would be on an jsp page. To add it simply a wizard for dynamic resume creation using java swings and jsp. Code for jsp should be autogenerated please note it.
    Ideas please!
    Thanks in advance

    I'd like to add more information to Patreck's suggestion.
    JSP pages are wonderful if you need the web server to perform some actions before sending you the final web page.
    Here, you don't need the web server to do anything because your Swing application can do it for you. As Patreck implies, Swing can make a connection to the database, retrieve any information you want, perform whatever logic you need, and write the output to an HTML file.
    To give you an example, you can use Internet Explorer to view a basic web page on your hard disk. You can also use Microsoft Word to view the same basic web page. They both do the same task and there is no need to force IE to use its Word plug-in in order to view the web page.
    JSPs are not necessary because Swing will do all of the work for you. You only need JSPs if you want people to use your program through a web browser because they can't do Swing inside a web browser. You should only use one or the other, not both. Understand now?
    If you really really must generate JSP code from a Swing application, then just write out the JSP stuff in the file. For example...
    public void createWebPage( Printwriter pw, String myName ) {
       pw.println( "<% String myJSPName = \"" + myName + "\" %>" );
       pw.println( "<HTML>");
       pw.println( "<HEAD>");
       pw.println( "<TITLE>My Resume</TITLE>" );
       pw.println( "</HEAD>");
       pw.println( "<BODY>" );
       pw.println( "<H1>My name is " + myName + " and my JSP name is <%= myJSPName %></H1>" );
       pw.println( "</BODY>" );
       pw.println( "</HTML>" );
    }As you can see, it's pointless to embed JSP when you can do all the programming within Swing first and just write out the correct response.

  • How to automatically login to apex and run a specific page / application

    Hi all.
    I'd like to know if there is a way of automatically login to apex and run a specific page / application. I mean, invoke browser and pass the necessary information to login (not public user) and run a specific application( ina secure way if possible).
    Thanks in advance ...!

    Hi,
    Well, as a very crude test you can set your authentication scheme to be Application Express Authenticationand define some users in Apex. Then create a before header login process on the login page (101) to automatically logon containing:
    apex_authentication.login(
        p_username => :P101_USERNAME,
        p_password => :P101_PASSWORD );
    :P101_PASSWORD := NULL;conditional on P101_PASSWORD is not null.
    Then you can login by specifying your username and password in the URL e.g.
    f?p=YOURAPP:LOGIN:::::P101_USERNAME,P101_PASSWORD:username,password
    Rod West

  • When to use servlets and jsp in an application like  shoping cart?

    Hi All
    I m going to design and implement a web application using servelts and jsp. I am still at its requirements analyze stage.
    The application is almost likely a shopping cart. So if any of you have the deep knowledge about this domain with servlets and jsp please help me for a good design. What I realy need to know is that
    1. what are the core requirements for a shoping cart ?
    2. use cases ?
    3. best way to follow mvc with servlets and jsp for it?
    you can answer to this at the abstract level. no need to go in detail.
    if you have any documents like design and use cases mail me to [email protected]
    your cooperation is highly appreciated in this regards.

    Look into this kid
    http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Session-Tracking.htm

  • HT1923 This article contains the only thing that worked for me.  I also had to sign out of iCloud and uninstall it.  Then I had to delete all files and folders from all of those applications that were under Program Files, Program Files x86, and Users.

    This article contains the only thing that worked for me.  I also had to sign out of iCloud and uninstall it.  Then I had to delete all files and folders from all of those applications that were under Program Files, Program Files x86, Program Data and Users.  My iPhone 4 will now sync with iTunes both in its USB-connected  mini dock and over Wi-Fi.  It's unfortunate (negligent programming on the part of Apple?) that the upgrade to iTunes 11 did not remove all of those files as part of the upgrade process. 

    I am having the same issue....Same address for years - same as USPS - I tried 5 times (3 macs and 2 iPhones) and now i have 5 CHARGES for 1.00 each on my credit card. I took the credit card info off so they don't charge me anymore. How can they charge me yet still not allow me to download free updates and say I have an invalid address? I'm sure I will spend weeks or months trying to get a credit out of these incompetent idiots.

  • On firefox clickable buttons are not clickable for me eg the + to open new tab ,the sign in . register and other applications buttons on this page wont click yet the 2 blue change buttons are fine

    Question
    on firefox clickable buttons are not clickable for me eg the + to open new tab ,the sign in . register and other applications buttons on this page wont click yet the 2 blue change buttons are fine

    Top of Firefox window non-responsive, toolbars non responsive -- also see [http://kb.mozillazine.org/Problematic_extensions Problematic extensions]
    *caused by Yahoo Toolbar -- https://support.mozilla.com/questions/890908
    *caused by Babylon Toolbar -- https://support.mozilla.com/questions/890670

  • Why can't sign in in the apple store using my apple id? but from the itunes application in my computer which i downloaded, i can use my apple id to sign in...and while opening my apple store it appears blank..i don't know what happened?

    why can't i sign in in the apple store using my apple id? but from the itunes application in my computer which i downloaded, i can use my apple id to sign in...and while opening my apple store in my phone it appears blank..i don't know what happened?

    It's a straightforward port-forwarding issue.
    You need to forward ports to the internal ip address of your apple tv as follows:
    TCP 123
    TCP 3689
    UDP 5353
    TCP 80
    TCP 4343
    TCP 53
    This may also solve other problems you may have with homesharing...

  • Create both onscreen and database storage JSP application

    Hi,
    My JSP application is a JSP form with name, address, phone number, etc. and a submit button. The output currently shows onscreen with no database connection. Can someone please tell me how I store this in the Oracle database and would it be possible to do both - show the output on screen and also store it in the database.
    TIA,
    Sassan
    Code:
    Create jsp form:
    <html>
    <head>
    <title>Create Form</title>
    </head>
    <body>
    <form action="/Create_Form_html/RetrieveFormData.jsp" method="post">
    <table align="center" cellspacing="2" cellpadding="2" border="1">
    <tr>
    <td colspan="3">
    <b>Company Name:</b>
    <%
    String company = request.getParameter("company");
    if ( company != null ) {
    %>
    <input type="text"
    name="company name"
    value="<%=company %>"
    size="40" maxlength="40">
    <%
    else {
    %>
    <input type="text"
    name="company name"
    size="40"
    maxlength="40">
    <%
    %>
    </td>
    <tr>
    <td colspan="3">
    <b>Street:</b>
    <input type="text"
    name="street"
    size="43"
    maxlength="43">
    </td>
    </tr>
    <tr>
    <td>
    <b>City:</b>
    <input type="text"
    name="city"
    size="20"
    maxlength="20">
    </td>
    <td>
    <b>State:</b>
    <input type="text"
    name="state"
    size="2"
    maxlength="2">
    </td>
    <td>
    <b>Zip:</b>
    <input type="text"
    name="zip"
    size="5"
    maxlength="5">
    </td>
    </tr>
    <tr>
    <td>
    <input type="Submit" value="Submit">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    You can use JDeveloper's Data Web Beans - these are data-aware controls for JSPs.
    Start by creating a JSP from scratch using the Business Components JSP application wizard. Instructions are in the online documentation, under:
    User Guides
    ->Developing Applications
    ->Developing Web Applications
    ->Creating a JSP application
    Or you can learn how to do this by stepping through the Business Components tutorial. The tutorial is also in the online documentation, under Tutorials and Sample Applications.
    Once you're more familiar with data-aware JSPs, you can customize a data-aware JSP or create your own from scratch. Instructions for customizing JSPs are also in the online documentation, following the instructions for creating a JSP.
    Regards
    Blaise

  • Apex :run and build application

    HI ,
    While exporting apex application from test to prod i gave build status override as run and build application instead of run application only.and then i imported
    i this case according to my knowledge user can run as well as can make changes ....
    is it possible to revert it to run only ....
    if yes how ...
    thanks in advance....

    Yes, from the main screen after logging into workspace, look for "*Manage Services*" link. Under Manage Services, find Manage Application Build Status. There, you can convert application between Run and Build Application to Run Application only and vice versa.
    Ittichai

  • What components do I need to develop and run JSP applications?

    I am currently developing a JSP-based application using Apache, Tomcat, MySQL, and JDBC. I'm considering switching to Oracle since I know it better and it has better support for certain capabilities.
    But, it's very confusing trying to determine from the Oracle sites just what I need and which platforms are supported. What do I need to buy and what can I download?
    So, which Oracle components do I need to develop and test JSP applications using Application Server? I'll probably get into XML as well.
    Does any of it run on Win98, WinNT, Win2000, or SolarisIntel? I likely will not deploy on any of these platforms, but it would be convenient to develop on my Intel laptop, if possible.
    --Terry Westley, [email protected]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Oracle's IAS includes an Apache and Jserv with JSP runtime by default.
    You could simply migrate your Apache/Tomcat JSP to Apache/Jserv/Oracle JSP without problems, including win32 plattform.
    To run Servlet compliant with JSDK 2.2+ you has to use Apache mod_ose module with your servlets and jsp running inside the Oracle JVM, this combination is more scallable and secure for big projects, but it requires more hardware for your laptop.
    Best regards, Marcelo.

  • Specify initial page following mod_osso login for JSP application?

    I'm developing a JSP application that is stand-alone from Portal, but that is protected via mod_osso. (What's the proper term for this - its sort of a Partner application, really an External application, but not registered w/ Portal at all...) Following mod_osso validation, if the login page was brought up (ie, the user was not signed when the application page was requested), I'd like the user to be taken to a 'default' application page (where I can retrieve other user info from the db for use in subsequent pages of the app.) Is there a way to specify this w/ mod_osso? (ie, after login, take user to a specific page.) I could put a flag in the session, check it on each page (ie, Boolean hasVisitedHomePage or such), then redirect to the home page if its false, but would rather not do this if there is a smarter method.
    Thanks,
    Jim

    Following are the steps to use SSO with an J2EE application:
    Steps to enable SSO/OID user authentication to your J2EE application
    1)     Deploy your apps to Oracle9iAS mid-tier instance e.g. mid-tier-host
    2)     Connect to your SSO server in your infrastructure host as follows:
    http://inf-host:<port>/pls/orasso/orasso.home and
    Login as orcladmin. The default password should be same as your IAS_ADMIN password
    3)     Click on SSO Server Administration and then Administer Partner Applications
    4)     Click on Add Partner application
    5)     Enter the following information for your environment and click on Apply:
    Home URL: http://inf-host:<port>/osso_login_success
    Success URL: Home Page for URL for your apps which you want to secure
    Logout URL: http:// inf-host :<port>/osso_logout_success
    6)     Logon to EMWebsite for the Mid-tier Oracle9iAS Instance
    Select the HTTP Server -> Advanced Properties -> mod_osso.conf and add the following. Please make appropriate change for your environment
    <Location /context-to-secure >
    AuthType Basic
    require valid-user
    </Location>
    And then restart HTTP Server
    7)     Now when you access your apps, the logon screen will appear
    hope this helps
    Debu

  • Need your suggestion / Input about choosing Apex for new application

    Guys,
    I came across oracle apex this week and started digging through the documentation and presentations. Read some forums as well. Now I believe, our application can be helpful by utilizing Apex but I would like to share high level application functionality which I am trying to implement through Apex
    Following are the functionality of the application:
    1) there will be 40 different entity in the application (create/edit/read/delete)
    2) Each entity and CRUD processing will be roles based
    3) On various events, send email and generate XML files for interfacing with external system
    4) Scheduling report generation and normal report generation
    5) Detail audit trail of the application (doesn't depend of Ajax, but still want to point out)
    6) Various search capabilities for each entity
    7) On various event and user selection: generate PDF file which user can download / print.
    8) Many client side and server side validations.
    Based on my reading, I believe this can be easily achieved with certainly some learning curve in AJAX. (which I have to do as I lost my entire project team due to budget issues.). I have a web devleopment background using Java, JSP and Servlet for 5 years. (Nothing in last 3 years though)
    Please let me know your thoughts based on my current situation and functionality.
    Also, Do i need to buy anything to get started with apex and implementing apex full blown application (they say it's free, but just want to understand your perspective as well).
    Thank you for reading the post and your support.
    -Raj

    Guys,
    I came across oracle apex this week and started digging through the documentation and presentations. Read some forums as well. Now I believe, our application can be helpful by utilizing Apex but I would like to share high level application functionality which I am trying to implement through Apex
    Following are the functionality of the application:
    1) there will be 40 different entity in the application (create/edit/read/delete)
    2) Each entity and CRUD processing will be roles based
    3) On various events, send email and generate XML files for interfacing with external system
    4) Scheduling report generation and normal report generation
    5) Detail audit trail of the application (doesn't depend of Ajax, but still want to point out)
    6) Various search capabilities for each entity
    7) On various event and user selection: generate PDF file which user can download / print.
    8) Many client side and server side validations.
    Based on my reading, I believe this can be easily achieved with certainly some learning curve in AJAX. (which I have to do as I lost my entire project team due to budget issues.). I have a web devleopment background using Java, JSP and Servlet for 5 years. (Nothing in last 3 years though)
    Please let me know your thoughts based on my current situation and functionality.
    Also, Do i need to buy anything to get started with apex and implementing apex full blown application (they say it's free, but just want to understand your perspective as well).
    Thank you for reading the post and your support.
    -Raj

  • Running a BC4J JSP application for Oracle Lite on OC4J

    Hi,
    My BC4J JSP application is working with Oracle and Oracle Lite on Apache (Oracle 8i Personal Edition) and on Tomcat 3.2. The same BC4J's could be used from the BC4J Tester as well.
    But if I run the application on OC4J (standalone and embedded in JDeveloper 9i RC1 and RC2) using Oracle Lite, a Fatal Internal Error (or with JDK1.2 a NullPointerException) occurs.
    I think I found the reason:
    1. the Java Trigger in Oracle Lite and
    2. the Timestamp used in Oracle Lite instead of Date.
    My problem is, that I can't find any information about configuration of OC4J so that it could work with Oracle Lite as well as Apache and Tomcat.
    Claudia

    The tell tale sign that the application is communicating with the running cache server is the membership information that is logged. In your previous running of the example you would have "members=1" embedded in the logging. From the sounds of what you are doing, you'd expect this to be different as the application would be joining a running instance. Check out section 1.3 of this doc on the system you are using.
    http://download.oracle.com/docs/cd/E15357_01/coh.360/e15831/installcoh.htm#BABIHHFJ
    Cheers,
    Jay

Maybe you are looking for

  • TS130 and Windows Home Server 2011

    Hello, Just got a New TS130 1105B2U and am curious if anyone has used Windows Home Server 2011.  I did not see it on the list. Also, I notice there is a 4TB cap on the drive support.  Is that only for the hardware RAID support?  Is it possible to ins

  • Pb avec facetime sur mon mac (suis pas visible mais audible)

    Bonjour, j'ai un problème. Lorsque j'utilise facetime avec mon mac, les gens m'entendent mais ne me voient pas. Moi je les entends et les vois parfaitement. J'ai pensé que c'était peut être lié à ma connexion wifi chez moi mais lorsque sur le même ré

  • Show Domestic Order-OTC: Availability Control screen in VA01

    Hi All, How do we trigger the back order hint (Domestic Order-OTC: Availability Control) screen in VA01? I am trying to compare two orders that I am creating and trying to find the reason why one of the order shows this screen and the other don't. An

  • [SOLVED] sbcl-git PKGBUILD

    I'm trying to write a sbcl-git PKGBUILD so people can circumvent some sbcl bugs and install stumpwm-git, here's my attempt thus far which fails miserably. Edit: solved, big thanks to acieroid who provided the pkgbuild: http://aur.archlinux.org/packag

  • Error at end of installation wls5.1sp11

    Hi, at the end of the installation of wls 5.1sp11, I receive an Dr.Watson error:WLSPASS~1.exe has generated errors.....". I use an P4 with win2000 sp2. Any help would be appreciated. Regards Jan Espen Hansen