Single log in for multiple apex application in same workspace

hi forum.
We created 5 applications based on same schema and all in one workspace now. Actually, initially they were created on different machines. now, we have to authenticate users from AD and depending on user type, have to allow or deny some modules. i have created one pager application which have 5 buttons and can control rendering of buttons according to user logged in but...the problem is, inside the applications, i have restrictions on some reports for some users...now one way was to do that is to create a log in for every application separately and thus every application would exactly know who is logged in. but that would be impractical as we need single-sign-on kind of functionality.
please let me know how to have a single log in page work for all application inside the apex workspace so that every application would know name of the user currently logged in.
for the 5 applications, i actually use No_Authentication authentication scheme. and i use following function initially for my one pager application to render the buttons to user or deny
create or replace function getUserName return varchar2
is
   userName varchar2(20);
   c owa_cookie.cookie;
begin
    c := owa_cookie.get('LOGIN_USERNAME_COOKIE');
    userName := c.vals(1);
    return trim(userName);
end;but i cannot user this function obviously in my 5 actual applications.
help is requested please.
bundle of thanks in advance.

You can create one application that does the login authentication according to your authentication scheme. When authenticated, this login app sets a cookie. That's all the login app does (and maybe show a list of available apps to choose from).
The other apps have an even simpler authentication scheme. The only thing they have to do is check the cookie and redirect to the login page (Session Not Valid URL) if there is no valid cookie.

Similar Messages

  • SSO for multiple APEX applications on the same instance

    Hi All,
    We have an APEX instance with 2 applications configured in 2 workspaces.
    The instance is already configured to use SSO. I have followed thee Metalink note #562807.1 to do the SSO wiring.
    We are planning to incorporate SSO authentication for both the applications.
    Also planning to use different URLs (2 aliases for the server) for the applications.
    eg:-
    App1 will be using http://app1.us.oracle.com/pls/apex/f?p=100:10
    App2 will be using http://app2.us.oracle.com/pls/apex/f?p=200:10
    Is it possible to register SSO on 2 URLs for the same instance?
    Can I execute regapp.sql multiple times on the same instance?
    Please advice me.
    Thanks,
    Sajeesh

    Is it possible to register SSO on 2 URLs for the same instance?You should be able to register as many partner applications as you like. I suggest that you try it.
    Can I execute regapp.sql multiple times on the same instance?Yes, but the lsnr_token value must be unique. That's HTML_DB:hostname:port.
    Your applications in different workspaces will not be able to share sessions but you will probably get the single-sign-on behavior you need.
    Scott

  • Using a Single HTTP Server for Multiple APEX Instances

    Our company's DBA Manager has asked if it would be possible to externalize the HTTP server portion of APEX from the DB Servers. In other words, he would strongly prefer that the DB Servers *only* run Oracle Database software.
    We know that we can install the HTTP server on another box but, in thinking about how to do this, we were wondering if it is really necessary to create a separate HTTP server installation for each APEX instance. What we'd really like to do is have one HTTP server for all our our Dev boxes and several (but, not one to one) for each of our upper environments; staging, qa, prod, etc.
    Right now, each instance have a single dads.conf file on each DB box. So, if we we're to attempt to consolidate them, we'd need some way to embed multiple dads files and to associate each instance with the correct one.
    Has anyone ever done this or (preferably) have some examples?
    Thanks,
    -Joe

    Joe,
    I don´t know a specific reference for it, I remembered it because when I was looking the documentation on the site, I saw the reference "Support for multiple database connections" in the URL: APEX Listener New Features 2.0</title><meta name="Title" content="APEX Listener New Features 2.0…
    I´ve tried to use APEX listener some time ago, but in a earlier version together with glassfish. So, since for me was only one database, I created the necessary amount of DAD´s on my database, each one for a specific port.
    Check the link and you´ll see the same information I saw.
    Thanks.
    José Valdézio
    "Neo, everything that Oracle told me, became true, except extinguish bugs in a first release."

  • Websheets: create link to APEX application in same workspace

    Hi all,
    I'm trying some things with websheets in APEX 4.0.2 and I'm getting quite satisfied about it.
    Let's assume I have this situation:
    app_id 110 : database application with alias MAIN
    app_id 120 : database application with alias SEC
    app_id 130 : websheet application
    They all use the same authentication function, which works fine.
    App 110 and 120 use the same authentication cookie and there are links between these two applications. No problem at all.
    Now, I want to include links to and from the websheet application.
    The link to the websheet is easy: ws?p=130:HOME:&SESSION. So far so good and no log-in required.
    A link from inside the websheet application to a database application is something else.
    I've already found how to use markup syntax to link to another page in the same websheet
    [[HOME | Home link]]and to an external website
    [[http://www.oracle.com | Oracle]]But I can't find the syntax to link to a database application in the same workspace as the websheet.
    I could use
    [[http://<myserver>.<mydomain>/apex/f?p=MAIN:HOME | Home application]]But this is not working flexible. I want to leave out everything before f?p
    If I would install these three applications on antother server, my link won't work anymore.
    Also, I can't find a way to include the session id. &SESSION. isn't working. So with the above syntax, I would have to re-login in my database application.
    Then I tried this
    [[f?p=MAIN:HOME | Home application]]But this isn't working at all. The websheet shows me the create page wizard and fills in the name of the page: f?p=MAIN.
    Can anyone help me out on this?
    Am I expecting to much from websheets at the moment, is this a missing feature or am I doing something wrong?
    Thanks in advance!
    Regards,
    Bart

    Hi,
    Sorry originally I thought you were linking to websheets not from, I don't think websheets have the same capability as a database application, so i don't think apex picks up on substitution strings. Im not sure how processing with websheets work, but I think its very minimal.
    Ive tried it myself, is there a reason you need the session? If I leave the session blank I can get back to the database application, I cant vouch if you're starting from your websheet but I imagine that apex will fill it in for you as its an apex url.
    Cheers
    Huia
    Edited by: Hoppy on 05-Jan-2012 14:48

  • Single Outlook mailbox for multiple users on the same PC

    please now see below.
    Thanks

    Guys, I think I may have figured a very simple work around, which at first glance appears to be working.
    And I can't believe that i'm the only person in the world done this ???
    1. Configure email account/s as normal.
    2. Create a folder in the root of C and name it some thing obvious like "Outlook-Share", and give all PC users full access.
    3. Rename outlooks "Personal Folder", something obvious like "Shared Email", then move the PST file to the "Outlook-Share" folder.
    4. Open outlook and when it moans about not being able to find the .pst, navigate to "Outlook-Share"
    Close Outlook.
    5. Using Office Tools "Save my settings wizzard", save the office settings to the "Outlook-Share" folder.
    6. Log in as the new user, and use the "Save my settings wizzard" to restore office settings to this user profile.
    This PC is not yet on the internet, as I'm on a development domain, but i created a mail in User1 profile which is sitting in the outbox waiting to go.
    I then logged in as User2, and could see the mail waiting in the outbox. I created another email and sent this to the outbox.
    Logged in as User2 and can now see 2 emails in the outbox.

  • SSO for Oracle Apex application

    Hi All,
    I am working on the requirement where the client want to implement the SSO for the apex application which are in different workspaces.
    But not using oracle SSO server :(
    The Microsoft active directory is used for authentication.
    Please give me some idea how to implement SSO for these apex applications.
    Thanks & Regards,
    Prutha

    Hi,
    I am trying to implement Single-Sign On for my Apex applications. Below are the requirement steps:
    This is working fine within same WORKSPACE and on single DB, but I need to implement SSO across DB with different workspaces.
    1. I have *2 Databases* DB-1 and DB-2. Both are different and running on different machines.
    2. On Both DB's Apex is configured.
    3. I have to deploy an app which uses internal Application Express account credentials for Login on DB-1
    4. From DB-1, after login, I have to provide a link to open another Apex App deployed on DB-2
    5. All Apex Apps on both DB's are using same Authentication Schemes.
    6. In both DB's I have PAGE SENTRY function for session validation.
    Can we configure Apex only once on both DB servers like RAC. Do we have any admin setting in Apex by which we can achieve th motive.
    Please help me to implement such functionality using only Apex across different DB's and different Workspaces.
    Thanks,
    Ismail
    Edited by: user9536278 on Mar 27, 2012 4:18 AM

  • Creating a Portal for Multiple APEX Apps

    We have created multiple APEX applications and would like to find a tool and/or way to create a portal for those applications. Single sign-on would be a requirement as we are currently using LDAP authentication in some of the applications and default APEX in others. We can go with LDAP across the board if necessary. Has anyone already resolved this challenge, if so how?
    Thanks.

    Hello:
    This article from Oracle Magazine is a great point to start from
    http://www.oracle.com/technology/oramag/oracle/06-may/o36apex.html
    varad

  • Executing multiple apex applications from EBS

    Hi,
    We have developed an apex application which can be triggered through an application link from Oracle EBS. Now, we have a requirement to run multiple apex applications from a single EBS session simultaneously.
    Can someone provide information on how this can be acheived?
    Raajkumar G

    Hi,
    We have developed an apex application which can be triggered through an application link from Oracle EBS. Now, we have a requirement to run multiple apex applications from a single EBS session simultaneously.
    Can someone provide information on how this can be acheived?
    Raajkumar G

  • Single idoc generation for multiple sales orders

    Hi,
    Pls let me know how do we generate single idoc for multiple sales orders.
    Its not collecting idoc. As we know we can generate an idoc for one sales order correspondingly
    my requirement is to generate single idoc number for multiple sales orders.
    Do we need to write a program.

    Amar,
    To understand take HRMD_A04 as example. Root segment has Maximum 9999999999 defined.
    Segm.type       E1PLOGI
    Minimum number  1
    Maximum number  9999999999
    Parent segment
    Hier.level      2
    This means that this IDOC types has capability to hold multiple HR Master data objects. PFAL program creates this IDOC and it has facility to mention the Objects per process, check selection screen.
    I checked for INVOICE01/02 its not possible there. Hope this clarifies.

  • Single Transfer Order for Multiple Handling Units

    I have been researchig the ability to create a single transfer order for multiple handling units.  My assumptions are if it can be done that:
    1) A transfer order can have a single source, so if the source document for the handling unit (delivery) is different, that means different transfer order
    2) A TO can have multiple materials (line items) with different destination bins and quantities per bin
    I looked at the configuration for TO Split, but it's not clear that this will handle my requirement.
    I also saw this http://aq33.com/material-management/Articles-005798.html and it also says that my requirement can't be meant.  I'm just checking before I tell my customer this cannot be done.

    Yes you are right, if Source document is different, you need to go with different TO.
    But you can choose the Handling unit split, while creating a TO itself. i.e., You can quantify the goods for each handling unit.
    Edited by: Ganesh M on Feb 29, 2012 6:20 AM

  • Single billing document for multiple delivery documents

    Hi,
    Can someone tell me how to configure or proceed to make single billing document for multiple delivery documents.
    Document flow: Contract--> Order---> Delivery----> Billing
    -Thanks

    Being an old member of the forum, there is no need to stress the importance of adhering to forum rules where it has been clearly spelled out to avoid posting repeated queries.
    If you search the forum or Google it, you will find lot of documentations available on the same topic.  Take the inputs and try on your own.  Still if you face any issue, update here.
    G. Lakshmipathi

  • Single ERS Invoice for multiple POs with different GS and same IP

    Dear All,
    I have a Requirement as per the below scenario:
    We need to have single invoice created using ERS (MRRL) functionality in the below scenario:
    Two POs created with different Partner function GS (goods supplier) and same IP (Invoice party partner function).
    Ex:
    GS IP PO GR ERS
    vendor1 10001 4500001 500001 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    vendor2 10001 4500002 500002 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    When I run ERS for last 1 week (GR) and select the option (Doc selection – per IP or other criteria like GRs posted in last one week) , system should create 1 invoice document. Standard SAP posts 2 documents for each GS.
    I have tried using 2 user exits for MRRL, but none of them work for this functionality.
    Thanks,

    Hi,
    Go for  MIRO without MRRL.
    Instead ERS, you can post single  Invoice(MIRO) for multiple POs  for one vendor.
    OR
    Check with Technical consultant and go for development to have single ERS output for multiple ERS invoice documents for single vendor.
    Regards,
    Biju K

  • Single Supplimentary Invoice for Multiple Invoices

    Hi
    We are having Standardmanufacturing sales Process
    Ex: We did the sales of 1000 quantity of  goods over the period of time for Price  100 Rs/ and we had created invoices also in the system .After 3 months with the customer on mutual undersating we have decided to hike the price  110 Rs on excisting sales, Now i want to create Single Supplimentary invoice for multiple Invoices for the hiked amount 10,000 Rs( 1000 *10=10,000) along with Excise duties.
    Please help me out to map this senario in sap
    Thanks
    Mujubur
    09967919351
    Edited by: mujubur shaik on Nov 9, 2009 8:06 AM

    Dear Mujubur,
    It is generic feature of a business that price is changed for various reasons. So excise accounting is adjusted corresponding it.
    What you do, please create a debit memo request which is a sale order type document by VA01 with reference of all commercial inovices against which you want to create the single supplementory invoice. Then create a debit memo which is a bimming document by VF01 with reference of that debit memo reuest and do the release to accounting.
        Then part A/C will be debited and all other corresponding accounts with Excise provision A/C will be creadited. Now create a billing type as proforma invoice (Bill category U) in configuration and mainatin the copy control from debit memo document type.
    It is better to do the configuration first. Then create the proforma invoice with reference of that debit memo. It will be like a image document of the debit memo. Then create excise invoice by J1IIN with refernce of that proforma invoice with different number series if you want tom maintain. Then excise account will take place -  Ex provision Dr ,  ED payable Cr. That Excise document is  your desired supplementory excise invoice. It will also come in the scope of excise utilisation in J2IUN. The proforma invoice is to be created other wise excise document with transaction type DLFC will not vecreated as it creates only from proforma inovice , not from any other type of billing document.
        Don't go for Excise JV. Apparemntly it is seemed that will be easier but your accounting will be wrong and there will be no track of data which will lead a problem for long run.
    Please do it.  If more help required then inform. I have implemedted the same process.
    Hope this will serve your purpose.
    Regards
    Indranil

  • Can we have a single inbound delivery for multiple  po???

    Hi
    can we have a single inbound delivery for multiple  po??? what are the steps to do it?
    how to do spro settings??
    please help me out.
    regards
    Arya

    Yes you can have and for that you don't need any config.
    just go to VL31N and from header hit the purchase order button and either enter the PO numbers or let system pulls the PO based on the selection adn than select all the POs adn hit adopt selected button and save.
    this will create one inbound delivery

  • Can we use single DB Adapter for multiple tables

    Hi,
    I have 3 tables. ONE is the Master table and other 2 tables having Primary and foreign key relationships with the Master Table.
    Data is enter in the Tables 2 & 3 (based on Master Table Primary key)
    I have to use a DB Adapter in BPEL Process which will be in Transaction (what type of Transaction is Best in such a Scenario).
    - How do i implement it in BPEL.
    - Can i use a Single DB Adapter for Multiple Tables ? (*Views* should not be created for tables 1, 2 & 3),
    as we want to avoid using multiple DB Adapters, as in future Tables may increase or decrease...
    - while in Transaction if Table 2 fails in Inserting / Updating, it should roll back on error and also if Table 3 fails in Inserting / Updating, it should roll back table 2 and Table 3.
    - how access to concurrent users is maintained / managed in such a scenarios.
    But everything should be done using Single DB Adapter without creating a separate view.
    Is this Possible in BPEL..
    If not, How do we design, Implementation such a BPEL Process in Transaction with a best in Performance (both BPEL Process & DB Resources)
    thanks in advance
    thanks & regards,
    anvv sharma

    Hi,
    Thanks for your quick response.
    I have few quires.
    If we use PL/SQL, how do we implement transaction and Exception Handling appropriately based on the Error / Exception in BPEL.
    If the Table 2 or Table 3 gives out Error / Exception, i have to handle it separately and intimate accordingly.
    Suppose, if Table 2 got Error / Exception - Error Handling would be 'Roll back due to error in Table2'
    Thanks & regads,

Maybe you are looking for

  • IPhone Programming: Action triggered by clicking on alert.

    Hey Guys, I have what I suspect should be a pretty easy question. I'm still working on a Blackjack program. Basically the player goes to hit or stand, and then the game automatically has the dealer deal itself (hit on 16, stand on 17). Once the deale

  • Re: x1 carbon wireless problem

    NB : This mesaage has been moved to the top of thread in order to assist Lenovo with case escalation and case analysis. For all future post please continue posting in this thread. Machine Type : 3444-BBU Serial Number :    xxxxx OS : Windows 7 Pro 64

  • MacBook Pro with NVIDIA: can i switch it off?

    Hi, I recently bought a new Mac, and although I don't do "heavy" stuffy like movie editing, I decided to buy the expensive model, and so I bought a Macbook Pro 15" with the NVIDIA graphics card. The reason for that is that I like to keep my Macs for

  • Mountain Lion hostile to Front Row?

    Mounting Lion seems hostile to Front Row, which would still work under Lion, with some persuasion. It's all well and good to say it's been discontinued- Why sell Mac Mini with HDMI and discontinue Front Row ? What are Apple customers expected to use?

  • My disc drive suddenly made weird noises while reseting

    Hi, thanks in advance for reading this and I apologize for my bad grammer and spelling I got an iMac 27" 2011  lately its been acting a little strange, i've noticed that at first it was my firefox crashing from time to time asking me some question ab