Creating a Partner Application through code

We have an Apex 3.1 application which is using SSO as its Authentication scheme (we have set it up as a partner application using the instructions contained in metalink article 353023.1).
I am now trying to create an install script so that our application can be installed with minimal user interaction.
The only step in the metalink article I mention above that I can't see how to automate through script is Step B, "REGISTER APEX AS PARTNER APP IN SSO" i.e. where you create the Partner Application from the UI found at http://<server>:7777/pls/orasso/
My question is: Is there any way that anyone can think of that I would be able to do this part through script / code? It would seem that it should just be a case of submitting the Name, Home URL, Success URL & Logout URL parameters to some procedure and getting, as output parameters, the Token and Encryption key...
Any and all comments/suggestions much appreciated,
Andy

Hi,
Did you find any workaround of the above issue?
I am also struggling with it.
Regards,
Deepak Suri

Similar Messages

  • Access a partner application through an iframe without reauthenticating

    I have an application (written using apex) that is an sso partner app. I want to be able to embed the application within a portlet (probably a dynamic page portlet generating an iframe) in my portal. When a user access the portal page that contains the iframe they are initially forced to reauthenticate within the iframe.
    The problem lies in the sso session. I think when you access an application through an iframe it treats everything in the iframe as if it were in a separate browser session. This means that when you try to access the application in the iframe it still redirects you to the sso server even though you are already authenticated via portal.
    So this is the problem, has anyone got any ideas on what the solution might be?

    Hi,
    Did you find any workaround of the above issue?
    I am also struggling with it.
    Regards,
    Deepak Suri

  • Register the partner application through SSO Administer Partner Application

    When should I use the "Administer Partner Applications" link on the SSO Server Administration page to register the application among the following cases?
    1. sign-on SDK integrated application
    2. mod_osso integrated application

    Were you able to resolve the issue???
    Can you pls try Rerunning ssodatan/x with the correct data. The ssodatan script is located in the directory ORACLE_HOME/portal30/admin/plsql/ssodatan.
    Refer following link for more info on SSODATAN , SSODATAX and DIAGNOSTICS scripts in Portal 3.0.x:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=136138.1

  • How to create a Xfdf doc. in Acrobat Pro 10 through code?

    Hi All..!!!
    I wanted to know whether there is a way to create an XPdf document in Acrobat Pro 10. I know that we can create a pdf document through code using the SDK.. I wanted to know whether the same can be done for XPdf documents..
    Thanks!! 

    Writing an XFDF is not that difficult; all you need is a tool allowing you to assemble text strings.
    The preferred way to get a sample on how the XFDF should look like is to export one from the form concerned, and to repeat it using your code. In this case, the document knows best how the XFDF should look like.
    Hope this can help.
    Max Wyss.

  • How to create a XPdf doc. in Acrobat Pro 10 through code?

    Hi All..!!!
    I wanted to know whether there is a way to create an XPdf document in Acrobat Pro 10. I know that we can create a pdf document through code using the SDK.. I wanted to know whether the same can be done for XPdf documents..
    Thanks!! 

    You're better off asking in the SDK forum:
    http://forums.adobe.com/community/acrobat/acrobat_sdk

  • Partner Application and Login Server

    I have created a partner application using the samples provided in the ssosdk. In the SSOSignServlet I am checking a table to determine if the user returned from the login server has access to the partner application. If the user has access, I set the cookie and the user is redirected to the application. If the user does not have access, am not sure how to handle it. I can use response.sendRedirect(response.encodeUrl(m_cancelUrl), yet would rather display a message indicating that dont have access and are being redirected. If I try to output a message in the SSOSignOnServlet, I get into a loop. ANy ideas?

    I finally got it working by VERY CAREFULLY reading the instructions in the install.txt document in the SSO SDK package. You have to set up the partner application with a new schema in the login server database, and run the regapp.sql script AFTER editing it to insert data from the Login Server Partner Application admin screen. After you register the partner app in Portal, it gives you some info (site token, listener token, encryption key, etc). You have to MANUALLY copy these and paste them into the regapp.sql script, then run the script in the partner app schema. Make sure you don't confuse capital I with numeral 1 (like I did, since Oracle so nicely uses a non-serif font where you can not tell the difference).
    Also make sure you copy the exact values for these parameters into your code when you use the SSOEnabler class. The listener token was very confusing since different documents appear to disagree on whether it should include the partner app name or not. It does require the partner app name:
    app-name:hostname:port
    hostname and port are for the web server that is handling http requests for the login server (usually your main portal web server).
    John H.

  • Java SSO Partner application

    Hello,
    I configured and deployed a Java Partner Application as specified in the demo (ssosdk902.zip). I created an OC4J container and deployed all beans and jsp pages. When I try to access papp.jsp page, it presents me with sso login page but when i try to access other jsp pages under the same container like (index.jsp), it does not ask present with a sso login page. I want to protect all JSP pages under that container. Should I change home url for the SSO Partner application?
    Any help is appreciated.
    Thanks.

    creating a partner application does not automatically secure the entire directory/application. it just sets a cookie for the Login Server and the Partner Application, indicating this user is authenticated.
    if you want to secure the entire directory, you need to:
    1. lock the directory down with MOD_OSSO in partnership with the Login Server
    2. put the session checking code from papp.jsp into every page you want to secure, ensuring you have a valid and current user
    3. create an application-specific security layer for the rest of your application that defers to the Oracle Security for user authentication.
    what i'm currently doing is number 3. i have my ssoHome, that ensures i have a valid Login Server user. then i create an application session around the SSO user and use that to secure the rest of my site. if that session info ever times out, i delegate back to my ssoHome to see if they're still valid according to Oracle, and if they're not, they get sent back to the Login Server.
    this model works very well for me, and is easy to manage.
    hope that helps,
    .rich

  • Dump Error while creating Business Partner in FPP1

    Dear Experts,
    I am using the EHP5 IS-U component. I am getting the below dump error, when I am trying to create Business partner in T.Code: FPP1.
    **Error in the ABAP Application Program**
    **The current ABAP program "ISU_BUPA_EVENT_DINP1==========FT" had to be  terminated because it has come across a statement that unfortunately cannot be executed.**
    **The following syntax error occurred in program "SAPLES02 " in include "LES02U14  " in line 30:**
    **"The data object "BUS0DIINIT" does not have a component called "MUSTER_KUN".**
    I have searched SAP notes, but I am unable to find any suitable notes to resolve this issue.
    Could anyone help me to resolve this issue.
    Thanks in Advance,
    Regards,
    Aswin

    Hi,
    Please don't go adding fields. Aren't we talking about SAP-standard structures here?
    Have you actually checked (in transaction SE11) that the structure ISU_EKUNINIT is included in the BUS0DIINIT?
    If it is, and the field MUSTER_KUN is missing, then you should raise an OSS note.
    If the structure is not included, you should also talk to OSS. Your ISU installation might be incomplete?
    cheers
    Paul Bakker

  • Partner Application Registration

    When using the Administer Partner Applications page, it appears the application is not being registered completely. The information does not appear in the WWSEC_ENABLER_CONFIG_INFO$ table, as has been suggested in prior posts (everything is fine in WWSSO_PAPP_CONFIGURATION_INFO$).
    I am attempting to deploy the SSO SDK demo PL/SQL application, which works fine when logged into Portal. However, when not logged into Portal, I receive the following errors:
    "Error in application: missing application registration information
    Please register this application as described in installation guide"
    This error is driven by the PL/SQL exception:
    "wwsec_sso_enabler_private.enabler_config_not_found"
    What am I missing? I have created several Partner applications, and none of them appear in the WWSEC_ENABLER_CONFIG_INFO$ table. I have sucessfully loaded the SSOHash into my partner schemas.
    Environment:
    Win2000
    Portal 3.0.7
    Thanks in advance...
    Dean

    Paul,
    Thanks for the info; however, I'm still unable to get the SSO SDK sample, or any partner app, to work.
    I have read the docs, what little there is, and followed the steps closely. Everything executes ok.
    I have several questions:
    1. When executing the REGAPP.SQL script that comes with the SDK, it indicates to login as the partner schema. I have noticed when running this script, the entry is stored in the partner schema table WWSEC_ENABLER_CONFIG_INFO$, not the one owned by Portal. Is this correct?
    2. My partner app is really a PL/SQL Server Page (PSP) application which uses the same server as Portal. When entering the Listener Token name, I have been using the same server name as Portal. Is this a problem? What is this token used for? Must it be unique for each partner application?
    3. In your response you mentioned changes to the REGAPP script. I found no mention of any changes in the docs with SSO SDK. Am I missing something?
    Finally, is there any better documentation for the SDK and/or partner application configuration. The readme and install files do not, in my opinion, pass as documentation.
    Thanks...
    Dean

  • How to Submit Partner Application Form to Partner Application

    When creating a partner application as a portlet, when we submit the form it gets submitted to the Portal server instead of the Partner Application server and as that page does not exist on the Portal Server. We get 404 error, Page not Found.
    We wanted to use this application as a portlet without making any changes to the application, but looking at some examples it seems we will have to make some changes to the application to make it work as portlets. The changes I am talking about are following which we don't want to make as applications already exist.
    <form method=post
    action="<%=HttpPortletRendererUtil.htmlFormActionLink(request, HttpPortletRendererUtil.PAGE_LINK)%>" name='mainform' onsubmit='return validateallfields(this)'>
    <%=HttpPortletRendererUtil.htmlFormHiddenFields(request,
    HttpPortletRendererUtil.PAGE_LINK)%>
    <%=UrlUtils.emitHiddenField(HttpPortletRendererUtil.portletParameter request ,
    "next_page"),"/htdocs/sosportlet/createticket.jsp")%>
    Also one more thing is I am not able to use the URL renderer, as with URLRenderer I am not able to get the information about the Single Sign On User.
    So currently I am using the
    <showPage class="oracle.portal.provider.v2.render.http.ResourceRenderer"> in the provider.xml file.

    The servlet or JSP page you are sumbitting to is specified by the action="..." parameter of the form tag...
    In that servlet/page you do a few things:
    1) validate the input:
    String s = request.getParameter("name of formelement here");
    if (s == null) {
    //handle null-string here...
    2) put it in database
    ... create driver
    ... open connection
    ... produce ResultSet

  • Registering a partner application with SSO SDK

    Good day
    Since 2 days, I am struggling for the issue of registering a Servlet application as a partner
    application using the SSO Login Server.
    As per the suggested note id 182701.1 in metalink , I implement the following steps :
    - Step A : Create the partner Application Schemas (Succesful & the name of the shemas is : ssopartner)
    - Step B : Load Packages for the partner application (Successful)
    - Step C : Obtain the registration information (Successful)
    - Step D : Run the regapp.sql (successful but they forgot to mention that I should load the
    SSOHash.class )
    - Step E : Compile and Run
    I deploy the application under 9iAS in order to test it.
    I add the ssosdk307.jar the the jserv.properties file.
    I invoke the SSOPartnerServlet java program by entering :
    http://name of the webserver/servlet/SSOPartnerServlet
    I got the message "redirecting to the login server" and I got the
    login page of the SSO Server.
    Once I submit the user/password , I got HTTP 400: Page cannot be
    displayed.
    I check the mod_jserv.log file and find out the following message :
    [08/04/2002 13:54:16:949] (ERROR) ajp12: Servlet Error: POST is not
    supported by this URL
    Could you please advise
    Your prompt feedback is highly appreciated
    regards

    I believe that this is not possible as the mod_osso realizes that the URL is below an URL that you want to protect.
    The only way I see that you can do this is the following modification in the mod_osso.conf:
    <Location /myApp/secure_partA>
    AuthType basic
    Require valid-user
    </Location>
    <Location /myApp/secure_partB>
    AuthType basic
    Require valid-user
    </Location>
    <Location /myApp/secure_partX>
    AuthType basic
    Require valid-user
    </Location>
    So your application /myApp/subApp will not be effected and people can just access this part. However you will have more administration in your mod_osso.conf
    cu
    Andreas

  • Web clipping a partner application in 10.1.2

    Hi,
    if i clip a partner application protected by mod_osso the portlet shows the sso-server's login page and asks the user to authenticate again.
    The documentation says: "When you integrate with partner applications (through the use of mod_osso), you cannot clip directly through those partner applications in an authenticated manner. However, you can use the partner applications through the external application framework."
    I tried out several things with external applications but was not able to achieve authentication with my partner application. I appreciate any help.
    Regards,
    Thomas

    Thanks everyone for your help :)
    The problem turned out to be that Oracle application server 10.1.2 is unlike the others servers, it uses 2 ports:
    - port (19100) is dedicated for the console.
    - port (7779) is to view your applications.
    So the URL needed turned out to be "http://acteos-109.beirut.acteos:7779/beanTest" instead of "http://acteos-109.beirut.acteos:18100/beanTest"
    Hope this info is useful
    Lana

  • Error running ssodatax script for partner applications

    I am running the ssodatax script after creating a partner
    application using the user interface in the portal. I get the following
    error after the script starts running:
    SP2-0310: unable to open file "sso/ssoseedp.sql"
    Any thoughts will be appreciated.
    Thanks,
    Suzanne

    It appears that ssodatax in your environment is unable to find the script ssoseedp.sql. This script should be available in plsql/sso directory under the ORACLE_HOME. Please find the script ssodatax and look for the sso subdirectory within the directory that contains ssodatax. If you find ssoseedp.sql in sso, then you can try running ssodatax from the directory that contains it.

  • How to create Search Service Application in SharePoint 2013

    When I am Creating Search Service Application through SharePoint Central Administration I am getting the error:
    Path of how I created It:
    Central Administration->Application Management->Manage Service Applications
    Here Click on New and Select Search Service Application
    How Should I create new search service application?
    As I want to create crawled Property and manage property for Search Center in SharePoint On Premises.

    Hi darsh,
    For creating a new search service application, you can refer to the blog:
    http://technet.microsoft.com/en-us/library/gg502597.aspx
    http://blogs.technet.com/b/praveenh/archive/2013/02/07/create-a-new-search-service-application-in-sharepoint-2013-using-powershell.aspx
    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=378  
    For your issue , please refer to the article:
    http://praveensharepointknowledgebase.wordpress.com/2012/05/29/error-while-creating-search-service-application/ 
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Create business partner

    Hello Experts,
    In my ECC 6.0 system, transaction code CFM2 "Activate or Deactivate Integration Model";
    The option of Create Business partner isn't there. How to activate Create Business partner in t.code CFM2?
    Regards,
    Aravind

    Hi Chirag/ Senthil,
    Thanks for the reply.
    In CFM2 screen, of Activate or Deactivate Integration MOdel.
    The following are the options:
    Selection Criteria
    Special CIF settings
    Parallelized Transfer
    PP/DS and SNP Planner order
    Transfer Business Partner
    In the current client there is no option of "Transfer Business Partners".  How to get this option back?
    I hope the query is clear now.
    Regards,
    Aravind

Maybe you are looking for