Swtiching between different application context

Hi All,
In my application we have use BSP framework as web application context say app1 . In this we have used flex code (swf file )as an application UI. Now we have another application context is app2 which provides the HTTP service on implementing the interface IF_HTTP_EXTENSION .  The requirement is the first incoming call from browse should always point to app1 using url http://host:port/appl1/index.html which would send the swf file as a response to the browser.
This would load the swf on client i.e on browser . User does some action which should now call the application context app2 . If we go with this approach there are 2 session which gets created . What we want is to have application context swtiching from app1 to app2 is it possible ? Is this the right approach ??
Best Regards,
Mitul

Xtanto,
actually you can't if these are separate J2EE application deployments. The session is not shared and thus the authentication is lost. I heard that OracleAs is planning to implement a feature that allows you to share the session and thus a context between two J2EE deployments. I am not 100 % sure this is the case and will check with OC4J Product Management
Frank

Similar Messages

  • Different applications context in iStore

    Vi have implemented severel minisites in iStore and have a question regarding using different context for different minisites.
    Is it possible to configure the iStore in a way that different minisites can have different applications context?
    For instance:
    Insted of using common URL like
    http://server.domain.com/OA_HTML/ibeCZzpHome.jsp?a=b
    We wnat to use
    http://server.domain.com/OA_DOGS/ibeCZzpHome.jsp?a=b
    http://server.domain.com/OA_CATS/ibeCZzpHome.jsp?a=b
    So OA_DOGS always refer to a perticular miniSite (minisite=10020)
    and OA_CATS always refer to another miniSite (minisite=10021)
    Thanks Mayu

    you were not asking for a seperate ministed for different users instead ur asking for a different applications under one single domain.
    but we can have any number of minisites to address your need, just need to create them using iStore Admin responsibility, if you want to restrict some of the users to access to some of the minisites only then go for responsibility key / operating unit differentiation or see CRM Administration - Roles and Responsibilites to implement the requirement.
    there you can define 2 different responsibilities like IBE_CUSTOMER_DOGS who can only access the sites you allow him in iStore Admin, IBE_CUSTOMER_CATS allowed to see only minisites meant for CATS .
    thanks
    Praveen Reddy

  • How to share security context between different application ?

    Hi all,
    I have two applications(ADF faces + BC, JDev 10.1.3.1) deployed into OAS 10.1.3.1.
    The two applications are :
    1) SalesApp -> main menu page = SalesMenu.jspx
    2) ReportApp -> main menu page = ReportMenu.jspx
    I want implement security using CustomLogin.
    The question is :
    How can I share security context between the applications ?
    What I mean is, from SalesMenu.jspx there is one menu item to jump into ReportMenu.jspx, and I want user no need to Login again, Login is once and the user is recognized in the two apps. How to achieve that ?
    Thank you for your help,
    xtanto

    Xtanto,
    actually you can't if these are separate J2EE application deployments. The session is not shared and thus the authentication is lost. I heard that OracleAs is planning to implement a feature that allows you to share the session and thus a context between two J2EE deployments. I am not 100 % sure this is the case and will check with OC4J Product Management
    Frank

  • Data exchange between different application domains

    is this possible?
    say i have example.com/swf_1.swf which dynamically loads a module example.com/swf_2.swf in a different application domain. is it possible to still exchange data between the two swf files? if so, how?
    thanks.

    Have a study of LocalConnection Class
    link is:
    http://livedocs.adobe.com/flex/3/html/help.html?content=security2_13.html

  • Sessions in jspx between different Application Server

    Hello All,
    I have two applications running in two different Application servers.
    I call the jspx in one applications server from jspx of another applications server using the href.
    My requirement is, when I logout the first application it shud automatically inviladate session in the second jspx also.
    Is there any way of acheive this..
    Also please pass on any links to work on sessions in jspx.
    Thanks
    Krrish

    Hi frank,
    Thank you for the reply..
    Can you please provide any links to SSO enabling the custom application.
    Thanks
    Krrish

  • Uthorization schemes between different applications

    Hi
    I have a main application from which the user can go to different applications (through tabs).
    I have authorization scheme set for the main application.
    When I try to use these (main app) authorization schemes in the other sub applications, they doesn't work.
    Is there any way we can globalize the authorization scheme in the main application so that they can be used by different apps ???
    Or share the main applications authorization schemes with the sub applications.
    Thanks.

    machan wrote:
    Hi,
    I don't want to maintain the same authorization scheme at two different places.
    So, I was thinking if I can use the main apps auth scheme in the sub apps without actually coping them into the sub apps !!!That's pretty simple, Create authorization scheme in your master app and then in all sub apps create the authorization > As a Copy of an Existing Authorization Scheme > select your master app.
    Once you have copied > Edit the same and > select the master authorization scheme name for Reference Master Authorization Scheme From > make sure you check the refresh check box.
    Repeat the above process for all sub apps you want. (You can subscribe as many sub apps as you like)
    So now on wards you don't have to maintain the authorization scheme in sub apps, just have to make changes to the one in master app and just publish the changes, that will apply those changes to the all sub apps subscribed for that scheme.

  • Manual JNDI lookup for EJB3 between different Application Server Instances

    Hi all,
    i have spent quite some time looking into this problem and searching the net but i just can't figure out for the life of me what i am doing wrong so i hope someone here can give me a clue or a good resource where i can look it up myself.
    I am currently doing some interoperability tests concerning EJB calls between Glassfish and Weblogic 10. In my test setup i have an EJB deployed in a jar file on one server and a servlet in a war file deployed on the other. The objective is to try to look up and call the EJB from the servlet. As there seem to be some issues with injection in Weblogic 10 i set that one aside for now (i have opened a case at BEA support for this) but i would like to do a plain old JNDI lookup to obtain the EJB.
    The online tutorials and FAQs i have read so far all state that this can be done the same way as it works for EJB2.x, at least if i understood them correctly. The interessting thing is, when i deploy an EJB2.x bean i can look it up without problems, but when i try to do the same with the EJB3 bean the name cannot be found. On the other hand when listing all contents of the JNDI tree in Glassfish from a stand alone application i can see entries for both EJBs of the type java.naming.Reference (in Weblogic i can also see entries for both, but the ones for EJB3 are of some weird internal weblogic types, which i put down as a weblogic problem for now).
    The lookup code for the servlet running in weblogic looks like this:
    Properties env = new Properties();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "corbaname:iiop:1.2@localhost:3700");
    Object myEjb = new InitialContext(env).lookup("JNDINameDisplayedByContextListing");
    I know that the preferred way would be to have the corbaname put into weblogic.xml/sun-web.xml and just use an InitialContext without an environment to perform the lookup but i wanted to get rid of any additional indirections to pinpoint the source my problem and it should work this way, too. As i said, it works when i target an EJB2.x bean but not with the EJB3 one, so i guess i am doing something wrong there. The jar file contains the interface of the bean annotated with @Remote and the implementation of the interface annotated with @Stateless, i also tried setting the mappedName attribute for the bean and use that name as JNDI name, but that also fails. In addition i added an ejb-jar.xml to the jars META-INF containing the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
         version="3.0">
         <enterprise-beans>
              <session>
                   <ejb-name>SecurityTest3EJB</ejb-name>
                   <ejb-class>
                        testcase.ejb.SecurityTestBean
                   </ejb-class>
                   <session-type>Stateless</session-type>
                   <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    But the ejb-name specified there does not show up in a context listing, so i would guess that means the file is ignored or only accessible from within the same application server (note, there is no indication of any problems in the Glassfish log when deploying the jar file).
    This might be just a stupid mistake by me, but i just can't figure it out at the moment, so any advice will be greatly appriciated.
    Thanks, Chris

    I think i stumbled across something now. From some posts it seems to me that the EJB3 spec does not require EJBs to be accessible from a remote location, since this can be achieved by using the @RemoteHome annotation and performing a EJB2.x compliant look up. Is that correct?

  • How can I disable synchronization of search input fields between different applications?

    Hi
    This feature, as I'm assuming it is, is really starting to rub me a very wrong way...
    Whenever I write anything in the search field of what seems to be any application in OS X, the input I write in the search field is being copied to any other application's search field. E.g., I'm searching in iTerm for text in log outputs, then I go to Sublime Text and write a regexp in the search field. The search field there now already contains what I wrote to iTerm's search field. The regexp I start writing likewise migrates to iTerm's search input whenever I return to it, destroying my search session there. I then go to Safari to search the Perl regexp documentation to help me with the expression I'm currently assembling in Sublime's find input. When I return to Sublime, my regexp is wiped with the input I made in Safari's search input, so that I have to start over completely creating my regular expression.
    It's incredibly frustrating, and I'm really hoping that this "feature" can be turned off, but I cannot figure out where, if at all?
    Does any one of you know?
    TIA,
    Daniel

    Hello,
    Here is the Oracle Forms forum, and your question has really nothing to do with this product.
    Please, send this kind of question in the database forum, you would increase your chances to get the appropriate answer.
    Francois

  • How to single sing on a user between different applications ?

    Hello,
    I have developped 7 applications within the same workspace. They use an authentification schema with an authentification functiuon "acl_custom_auth", I followed very much the examples in the APEX documentation. The user are stored in the table ACL_EMPLOYEES and their right on the table APEX_ACCESS_CONTROL. All this is working nicely.
    Each applications use a two-level tabs, the parent tabs are used to go from one to another application.
    For example one parent tab would contain this URL as target : f?p=110:1:&SESSION.:
    Another one this target : f?p=114:1:&SESSION.:
    And so on. With this user can go easily from one application to another.
    I would like that if a user is identified on an application, that it may be possible for him to go to another application and to remains identified. The password should not be passed as the URL because, it would be visible.
    Do you have any suggestion ?
    Thank you for your kind help !
    Christian

    Hi,
    You can use SSO to do itl. John Scott's book - Pro Oracle Application Express has some good info on SSO, and some examples of how to do what you are trying. I haven't tried it yet, but it's on my list of things to do.
    You could also use cookies. http://dba-oracle.com/t_easy_html_db_owa_cookie.htm
    The authentication method would check for the existance of a cookie and either pass security or prompt. To make it easier you could use one application purely for authentication and all of the others check for the existance of the cookie.
    Need to make sure you remove the cookie as well though!
    John
    Edited by: jlynch on 10-Feb-2010 08:27

  • Copy pages between different applications

    Hello,
    I'm trying to copy a page from one application to another with Apex 1.6.
    In the first application I exported the page I want to copy and I've tried to import
    it in my second application. But I got the message that my file was not in the correct format...
    Is there any easy way to do it?
    Thanks.
    Sofie

    Sofie,
    No, there is no easy way to do it. There is a difficult way that has been cited many times in this forum (search for copy page): Synonyms
    Scott

  • Difference between application context and servlet context

    HI,
    what are the differences between an application context and a servlet context?
    Also can any body elaborate on context path and servlet path. To quote servlet spec:
    Context path: The path prefix associated with the ServletContext that this
    servlet is a part of.
    Servlet Path: The path section that directly corresponds to the mapping
    which activated this request.Thanks in advance.

    Application context and Servlet Context are pretty much interchangeable terms IIRC.
    ContextPath == name of your web application
    ServletPath == path to the servlet
    Given http://localhost:8080/myWebApp/myServlet
    contextPath == myWebApp
    servletPath == myServlet
    A jsp to help you understand this:
    Working with server: <%= application.getServerInfo() %><br>
    Servlet Specification: <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %> <br>
    Sessionid : <%= session.getId() %><br>
    QueryString: <%= request.getQueryString() %><br>
    ContextPath: <%= request.getContextPath() %><br>
    ServletPath: <%= request.getServletPath() %><br>Cheers,
    evnafets

  • How can i have different applications windows side by side

    Hi,
    For some reason whenever i'm using an application, lets say Chrome, only the windows of chrome would show on the screen. If I want to move to some other app like terminal, the windows of chrome would dissappear and only the windows of terminal would shop up, so basicially I can't multi task between different applications windows...
    What's the deal?
    How can I fix this?
    using macbook pro late 2008, OSX Lion 10.7.3

    im surfing on chrome and have a word document open. Lets say i want to put the chrome windows next to the word window, I simply cant do that because it only shows me the windows of the app im on. Only chrome, only word etc.
    Furthermore If Im on chrome and trying to move to some other open apps using mission control, it would only show me that chrome is open!

  • How to pass the security context between different OC4J servers

    My problem is the following: it seems that there is no standard J2EE solution in a production environment with more than one J2EE application server products to pass the security context between different J2EE application servers.
    I have a distributed application on two different OC4J servers, let's say that we have the web layer (with servlets) deployed on a server instance Server1 and the EJBs deployed on a second OC4J server Server2. If an user is authenticated at the web tier (in Server1) it gets a Principal object. It seems that the same Principal object cannot be used for authorization in the second application server, Server2. This means that in the server Server2 the authentication should be done again. It means that it should be duplicated the mechanism for authentication on Server2 (together with the passwords, users, and so on), thing that is a clear disadvantage of this approach.
    Do you know if there is a specific OC4J solution for this approach?
    Thank you,
    Marinel

    I have a simmilar issue? Did you succeeded to find a solution?

  • How to prevent re-login when switching in the application between different module in 6.1.1.1.11?

    How to prevent re-login when switching in the application between different module in 6.1.1.1.11?
    Please help me to figure out this or resolve this issue?

    Be sure to check that your Remoting Container service is running. If it is not, restart the service, and if it goes down again, check the event logs.
    Make sure that the AuthenticationBridgeService is enabled in your EnvironmentSettings.config, and the remoting container user is configured using the SetupAssistant.
    <RemotingContainer>
             <ConfigInfo configChildKey="key">
                   <add key="UserID" value="@@VAR:Prodika.RemotingContainer.SysUser@@" />
             </ConfigInfo>      
            <!-- Set the following services isActive flag to 'true' or 'false' -->
             <RemoteServices configChildKey="name">
                 <Service
                     name="AuthenticationBridgeService"
                     port="@@VAR:Prodika.AuthenticationBridge.Port@@"
                     isActive="true" />
    If the Remoting Container Service fails, please contact Support with details from the event logs.

  • Context binding between different components using component interface cont

    Please tell me the procedure how to do context mapping between different components ......
    Please post the procedure ASAP.

    Hi Koti,
               Check this
    <a href="/people/bertram.ganz/blog/2007/01/19/new-web-dynpro-java-tutorial--component-interface-definitions-in-practice:///people/bertram.ganz/blog/2007/01/19/new-web-dynpro-java-tutorial--component-interface-definitions-in-practice
    <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/usecomponentsinbiggerWebDynproprojects%28componentization%29&">https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/usecomponentsinbiggerWebDynproprojects%28componentization%29&</a>
    regards
    Sumit

Maybe you are looking for