Pass APP_USER of an application to another

Hi all

I have 2 different applications. I call you a link provided in the 1st application 2nd application. How can I switch the app_user from the 1st to the 2nd application guess in a field hidden in the 2nd application via querystring or in any other way? Please help me with this?

With respect,
Sunil Bhatia

Hello Sunil,

In two of your applications, go to => =>, authentication schemes, shared components and select the program that you are using.

At the bottom of the screen, go to the attributes of the Cookie. Choose a COOKIE name suitable for your applications and put it in the name of the Cookie. Make sure that the TWO applications have the same name. This will allow the user to switch from one application to another without having to log in again. The APP_USER will be the same in both applications.

Good luck
Don

Tags: Database

Similar Questions

  • Pass the string as params from a Java application to another

    I'm moving a String as a parameter to a Java Aplications of a second as a startup parameter

    for example I have applications that must call start another Java application (just contains only JOptionPane, simple JFrame or JDialog) before System.exit (0); I'm trying to send some descriptions to close the application to another.

    East of simulations of what these codes I tried this and in this form, the code works correctly and displays the string in the JTextArea...
    import java.io.IOException;
        import java.util.concurrent.*;
    
        public class TestScheduler {
    
            public static void main(String[] args) throws InterruptedException {
                ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(10);
                executor.setContinueExistingPeriodicTasksAfterShutdownPolicy(true);
                executor.setExecuteExistingDelayedTasksAfterShutdownPolicy(true);
                for (int i = 0; i < 10; i++) {
                    final int j = i;
                    System.out.println("assign : " + i);
                    ScheduledFuture<?> future = executor.schedule(new Runnable() {
    
                        @Override
                        public void run() {
                            System.out.println("run : " + j);
                        }
                    }, 2, TimeUnit.SECONDS);
                }
                System.out.println("executor.shutdown() ....");
                executor.shutdown();
                executor.awaitTermination(10, TimeUnit.SECONDS);
                try {
                    Process p = Runtime.getRuntime().exec("cmd /c start java -jar C:\\Dialog.jar 'Passed info'");
                } catch (IOException ex) {
                    ex.printStackTrace();
                }
                System.out.println("System.exit(0) .....");
                System.exit(0);
            }
    
            private TestScheduler() {
            }
        }
    
    //
    import java.awt.*;
    import java.util.ArrayList;
    import javax.swing.*;
    
    public class Main {
    
        private static ArrayList<String> list = new ArrayList<String>();
    
        public Main() {
            JFrame frm = new JFrame();
            JTextArea text = new JTextArea();
            if (list.size() > 0) {
                for (int i = 0; i < list.size(); ++i) {
                    text.append(list.get(i));
                }
            }
            JScrollPane scroll = new JScrollPane(text,
                    ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
                    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
            frm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frm.add(scroll, BorderLayout.CENTER);
            frm.setLocation(150, 100);
            frm.setSize(new Dimension(400, 300));
            frm.setVisible(true);
        }
    
        public static void main(String[] args) {
            if (args.length > 0) {
                for (String s : args) {
                    list.add(s);
                    System.out.print(s + " ");
                }
            }
            Main m = new Main();
        }
    } 
    My question:

    whether is there another way to pass a value to a Java application (it should be called System.exit (0);) to another Java application, another way I tried using process/ProcessBuilder

    My crospost http://stackoverflow.com/questions/6121990/pass-string-as-params-from-one-java-app-to-another

    Yes, there are other ways. Is this way do not meet your needs?

    1. There is another exec() signature that accepts an array where the first element is the command and the rest of the elements are its args. It may or may not be a varargs call. That looked something like this, but it might not work exactly as I.

    exec("cmd", "/c", "start", "java", "-jar", "C:\\Dialog.jar", "Passed info");
    // OR
    exec(new String[] {"cmd", "/c", "start", "java", "-jar", "C:\\Dialog.jar", "Passed info"});
    

    2. you can place the information in a file that the second process reads.

    3. you can store information in a database that the second dealing with applications.

    4. you can have a single process open a ServerSocket and either connect to it and send the data in this way.

    5. you can use a higher level like Active MQ, JMS messaging tool, etc.

    6. you can use the RMI.

    7. you can use CORBA.

    I don't know that there are other approaches as well.

    I have no idea to the approach that is best for your needs. It's something that you need to understand, if you do decide, if you view details about your needs here, someone can offer some advice.

  • Define an element of the application to another application?

    Salvation of the forums,

    Is it possible to define a part of the application to another application?

    The context:
    We have defined three elements of application in our main application. These items are available in our custom permission: used to determine the context from which the user accesses the page. If the user has access (in light of this context and security defined for the page), the elements are calculated with the values of the current context.

    Now we add another application that uses the same permission. We could create items of the application with the same name of this application and pass the context values to the other application every time that the user to navigate from one application to another. The problem is that permission is launched until the values are assigned to the elements (correct me if I'm wrong).

    I would like to reuse the same elements of the application (defined in a single application) where the user is. I can access an element of the application to another application (see [this thread | http://forums.oracle.com/forums/thread.jspa?messageID=2453615]), but I have not found a way to define its value. Is this possible?

    Thank you

    Jeff

    Jeff,

    I'm sure you can't do what you ask (page set the values for item directly in applications).

    You're right about the scripts of authentication and authorization running until the values are assigned to the elements on the page.

    But you might be able to accomplish what you want via a cookie? Write it in the calling application and read in the called application? Maybe it's not the most secure method, but it seems like it would do the job, huh? I think that you would create a process to send the calling application page that creates the cookie and a front of header in the receiving application page that reads and analyzes. Or you could have three different cookies if you don't want to parse the string in a. I think you might want to remove the cookie (s) after reading, so it is unlikely anyone can understand how to hack them.

    Good luck

    Stew

  • can I use my apple ID to the United Kingdom to download an application on another country

    I want to download an application on another country but my ID apple is only for the United Kingdom can I move to another country and sign in using my apple id?

    No, except if you travel in the country and provide the iTunes Store with a credit card valid in it.

    (143750)

  • How can I move an application to another screen

    How can I move an application to another screen

    Hold down the icon until they start to move. From there, you can tap the application that you want to move and drag it to the left or right to access the screen you want. Once you are finished, press the home button to complete the task and turn off the wiggle.

  • What are the parameters? How are Variables differenet? Why we can not use variables to pass data to one sequnece to another? What is the advantage to use parameters instead of Variables?

    Hi all

    I am new to TestStand. Still in the learning process.

    What are the parameters? How are Variables differenet? Why we can not use variables to pass data to one sequnece to another? What is the advantage to use parameters instead of Variables?

    Thanks in advance,

    LaVIEWan

    I'm sorry... I discovered that... its not at all possible to pass data to another sequence using variables... it must be through settings... once again I apologize for the display of such a stupid question

  • Problems with DAQmx - tasks missing when I run my application on another PC

    Hello

    I use a NI USB 6009 and my program use DAQmx and different tasks for the input and output signal.

    I created an application and I want to run this application on another PC, which doesn't have the development environment, but the runtime engine and installed MAX. This PC is connected to the NI USB 6009.

    Now, I have the problem that the tasks are missing on this PC and I get errors when I run the application.

    I wonder why these tasks are not put into the application automatically? What should I do now? Can I somehow export tasks in MAX and copy them to the other PC? Is not complicate it?

    Hi Johannes,

    Have you created your tasks of measurement and Automation Explorer?

    If this is the case, you must export the file of configuration of measurement and Automation Explorer and then import it on the other computer.

    With LabVIEW 2010, you can import a configuration via your Installer file, but I don't know if you can do it with LabVIEW 7.1

    Kind regards

  • How to call one an application to another application?

    Hello

    I have two .cod files,

    #after execution of the file a code how do I call it second .cod file.

    Thankx

    http://rim.lithium.com/T5/Java-development/launch-a-third-party-application-from-another-third-party...

  • How to copy from one Application to another custom Page template

    Hello

    12.1.3 Jdev

    How can I copy a created exculpatory to one application to another?

    I don't want to create the existing application as a jar and add a library to the following. I want to copy an existing template and begin to change in the next request.

    See you soon

    AJ

    Each application that uses the model page, have the file called pagetemplate - metadata.xml, which is basically a repository of page template.

    When you create a page template, some entries are added to this file automatically for you.

    That's why I said lets you create a new model.

    Well, next to the source code of the template page, if the original model have pageDef, you need this pageDef too, so do the same - create Def page for your new template and just copy - paste the contents of the original.

  • Page of the copy from one application to another application in the same workspace

    Is it possible to copy a page from one application to another application in the same workspace?

    If so could you tell me how its done?

    Thanking you in advance.

    go to any page in your target application and click on 'Create' > 'new page as a copy '. The rest of the process is driven by the magician.

    Denes Kubicek

    -------------------------------------------------------------------

    http://deneskubicek.blogspot.com/

    http://www.Apress.com/9781430235125

    https://Apex.Oracle.com/pls/Apex/f?p=31517:1

    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494

    -------------------------------------------------------------------

  • Can I purchase a single license for multiple software? Buy one for a single application, buy another one for another, etc.

    Can I purchase a single license for multiple software? Buy one for a single application, buy another one for another, etc.

    You can purchase the license but on different emails if you need to use them on multiple computers. From an e-mail, you can install software on both computers. These two computers can be Windows, Mac OS, or everyone. If you install on a third computer, you will be asked to turn off this feature on the other two computers. You can then re-enable one of the two previous computers and use Cloud Creative apps on it.

    Kind regards

    Hervé Khare

  • How to get one application to another changes

    Hello

    I'm starting to write my thesis on data migration at the APEX.
    I have a master application running in our society and a few copies to run on other servers partners. When I make a change in the main application or in its database, how to make all the changes to other applications of the partners?
    I will write on the possibilities of how to do this. To get an informed perspective, I looked in some books from the library, but there is no real explanation how to do this. Maybe I'm looking for the wrong words.

    Can someone tell me some possibilities how to get the changes to an application on one server to another copy of this application on another server?
    You don't have to explain how it works. I need just a little help I know what I have to look in the library (or Google Scholar)

    Concerning
    Felix

    It depends...

    If 'other' applications and data are supposed to be exact copies of the 'master' of all at once, then you might be looking at replication of database.

    If 'other' applications are simply the 'versions' of a 'master' i.e. request with the same treatment base but different data then you look at configuration management and release management.

    I think you are talking about the latter: you have developed an application and installed in different places; you have changed the application (and some data) and now update remote applications to match what you have just developed?

  • Is that what we can copy page zero an application in another application?

    Hello

    I was wondering - is there a way to copy Page zero from one application to another application. I use Apex 4.0.2.

    Thanks in advance.

    -Jas

    Yes and get this... http://screencast.com/t/6a5miQ4e this New Page that a copy is available on Page 0 if you access the Page 0 using the Previous/Next buttons. If you type 0 in the area of the Page and click OK, the option disappears. Go figure.

    Examining the Builder application shows that this is because this New Page as a copy menu/list entry is subordinate to the F4000_P4150_GOTO_PAGE! = 0

  • How can I import the filing of an application to another application...

    I see no option to import a repository from another application into the current application.

    If a repository exists on Sandbox, so I can import it... but I can't find any option to import a form from any other application...

    Is it possible to do...

    If you want to copy assets from one server to another, the best way is to create an ACL on the original server and import it on the second server.

    If you want to copy assets from one application to another on the same server, then right-click on the assets and select copy.  Right-click on the target application and select Paste

  • Pass parameters to flex applications

    Hello

    My question is: is it possible to pass parameters to an application flex like for example. in PHP, where it is made with the _GET and _POST arrays? For example, I want to open a simple Flex application in a new window and send this application a few key-value pairs, so that it would be possible to access it in the application.

    Thanks in advance, RP.

    Use the flashvars in the HTML wrapper file:

    http://flexdevtips.blogspot.com/2009/04/flashvars-passing-parameters-into.html

Maybe you are looking for

  • Why is an Addon without a button "delete" allowed?

    By mistake, I added an extension adware in my Firefox (ver. 32.0.3). It doesn't have a button 'delete '. I followed the instructions on how to remove it and it's over now. BUT, why in the world would any addon to Mozilla without a button being "delet

  • Satellite P200D - cannot install Vista SP1

    I tried times serval update to Service Pack 1 of Vista. After that time of serval downloads, laptop installs Service Pack 1. After that serval hours windows update gives an answer that update is not possible with a message that is not explained by Wi

  • How can I select only a part of a page to analyze instead of having to scan the entire page?

    On my old Epson scanner I could do a preview and select only a position from one page to analyze.  In the garden of Image with my MX 6320, the only option is to scan the entire page. How can I select what I want scan before scanning? Thank you Allen

  • Can not enter in programs

    using windows xp pro. on the web. System rebootrd now I can only enter the web. If I try to enter anything else, I get a window with a list of programs that ask me what I want to open the program with. I can't get into help and support to restore get

  • Compaq Presario CQ42-234TU: replace the HDD with SSD

    Hi, I want to know if I can replace the HARD drive with one Sumsung EVO 850 500 GB SSD, if not what other SSD can be used?