Login URL and External Applications

Are there any guidelines for finding the login URL's for External Applications? For example, if you want to set up E*Trade as an External Application, you go to https://www.etrade.com and look at the source. You find that form that submits the user id and password is thus:
<form name="myForm" action="/login.fcc" method="post" autocomplete="off" onsubmit="return populateTarget();">
However, setting the login URL to https://www.etrade.com/login.fcc fails.
Any suggestions on how to form this?

I went to https://www.etrade.com and looked at the source. I didn't get the same source that you got -- pI don't know why. I am in the United States, and perhaps you are notm and that makes the difference.
In the source I saw, the login <form> tag was:
<form name="myForm" onSubmit="doMagic()" method="post" autocomplete="off">
Looking at the javascript function "doMagic" I noticed that it sets two cookies before doing the submission. The "login.fcc" page may be failing the login request for lack of these cookies.
I also noticed that the script sets the action HREF with
document.myForm.action = "https://us.etrade.com/login.fcc";
(in the case where the locale is US).
Perhaps you need a specific country host for "login.fcc", not www.etrade.com.
-- Joshua

Similar Messages

  • Single Sign-On and External Applications Portlet

    I would like to know how complicated would be to call an External Application with SSO (like Hotmail), outside the External Applications Portlet.
    We have defined around 10 external applications with SSO,they worked fine.
    but due to look&feel issues, we would like to put them in a content area , like items that when the user clicks, takes them to the external application and performs the single sign-on.
    Any advice will be appreciated.
    tks!!

    Maria, I was experimenting with this last night, to answer your question, and I think a cool way of doing this would be the following:
    Create a custom attribute called "App ID" - make this a NUMBER type. This is where the external application id will be stored.
    Create a custom item type: "External Application"
    You have two options for the base type: either "URL" or "<None>". If you pick URL, then you can have the item contain the URL for fapp_process_login, but this is not advisable because it will require the administrator to type in this long URL every time a new application is added.
    If you select base type URL, you should use that URL to let the administrator provide a URL to the application's homepage, or a help page or something of that sort.
    Edit the newly created item to set the Attribute and Procedure properties.
    Add the "App ID" attribute - no default.
    On the Procedure tab, add the following procedures (called as HTTP), each with the App ID passed as "p_app_id":
    Login http://server.domain.com/pls/portal30_sso/portal30_sso.wwsso_app_admin.fapp_process_login
    Edit http://server.domain.com/pls/portal30_sso/portal30_sso.wwsso_app_admin.edit_fappuser
    That's it!
    Add the new custom item type to a folder, and all the administrator needs to do is set the title, and App ID for the new item.
    Excercise for the Reader
    You will notice that clicking on the Edit link will take you to the login server when you are done editing the credentials. To avoid this, pass another parameter to the edit procedure - p_done_url, and set a value for that to point to the page that you want to go to after editing credentials.

  • Single Sign-on and external applications

    Hi,
    Someone might be able to point me in the right direction about this.
    I have registered each of my applications as external applications within Oracle Portal in order to avail of single sign-on.
    This is fine to a point, but registering applications in this way still requires the user to enter a username and password once in order to login to the application the first time they use it, even though they have already logged into the Portal. As long as the user doesn't log out of the application they can close their browser and when they come back to the application they are still logged in.
    None of the applications I use are oracle partner applications.
    My problem is that I want to avoid the user having to log in to the application the first time they use it.
    Ideally they should login to Portal once and then any subsequent applications they access, they are automatically logged into them without having to enter a username and password.
    Is there a way to do this or will I have to write a custom login for each application to circumnavigate this first time using the application login issue ?
    Are there any docs that someone could point me at.
    Many thanks,

    Maria, I was experimenting with this last night, to answer your question, and I think a cool way of doing this would be the following:
    Create a custom attribute called "App ID" - make this a NUMBER type. This is where the external application id will be stored.
    Create a custom item type: "External Application"
    You have two options for the base type: either "URL" or "<None>". If you pick URL, then you can have the item contain the URL for fapp_process_login, but this is not advisable because it will require the administrator to type in this long URL every time a new application is added.
    If you select base type URL, you should use that URL to let the administrator provide a URL to the application's homepage, or a help page or something of that sort.
    Edit the newly created item to set the Attribute and Procedure properties.
    Add the "App ID" attribute - no default.
    On the Procedure tab, add the following procedures (called as HTTP), each with the App ID passed as "p_app_id":
    Login http://server.domain.com/pls/portal30_sso/portal30_sso.wwsso_app_admin.fapp_process_login
    Edit http://server.domain.com/pls/portal30_sso/portal30_sso.wwsso_app_admin.edit_fappuser
    That's it!
    Add the new custom item type to a folder, and all the administrator needs to do is set the title, and App ID for the new item.
    Excercise for the Reader
    You will notice that clicking on the Edit link will take you to the login server when you are done editing the credentials. To avoid this, pass another parameter to the edit procedure - p_done_url, and set a value for that to point to the page that you want to go to after editing credentials.

  • SSO and external applications

    Hello folks,
    Due to my inexperience with PS6, I'm looking for some high-level outline that will help me look in the right places and understand things better here.
    I have an external application that requires authentication via a web form (or by attaching the username and password on the URL as parameters).
    What I want to do is have a channel of this application and utilize information from the SSO mechanism to redirect the request to that remote app and provide the credentials for a transparent login.
    From what I understand this can be done by having a servlet in that channel to retrieve the credentials of the user for that remote application from the SSO and then redirect to the external application, attaching the credentials to the URL.
    Is the above correct? I would appreciate any pointers or considerations since my experience with PS is minimal.
    Thanks in advance,
    Manos

    I don't see a way to that servlet to retrieve a password for the user - it's not stored in the session.
    There are following options:
    1. OpenText LiveLink way: You have some "hidden" password for every user (based on user's ID and a shared key) known only to your server and this servlet. Servlet will supply this password.
    2. Normal way - web server: Implement login module to this application, which will trust REMOTE_USER variable provided by the agent on the web server.
    3. Normal way - standalone app: Implement login module to this application which will validate DSAME session cookie on the DSAME server. You can use example code in the SUNWam/samples/ of your server.

  • Problem with Web Clipping and External Application

    When I use Web clipping with INLINE rendering on usual sites I can move under links, not leaving a portal.
    But if I try to make it via the self-made provider with External Application then links do not work.
    I press them and it appear in the same place!
    Authorization via External Application passes successfully, that is the page is displayed correctly.
    But links do not work.
    In what there can be a problem?
    Oracle Application Server 10g Release 2 (10.1.2)

    In order to prevent some urls and internal websites from being cached use url bypassing. This way these urls will not be cached and the users can directly use them without being asked to log in.
    To enable transparent error handling and dynamic authentication bypass, and to configure static bypass lists, use the bypass global configuration command. To disable the bypass feature, use the no form of the command.

  • Internal and External application tier File move

    Hi all,
    I am new oracle apps R12 with 3 tier instance.
    We are created the oracle apps R12 instance with 3 tier. Two tier is Application tier and one tier is Database tier.
    The data base tier is common for both application tier. The issue is, we are moved the all customized Development works into only one application tier (i.e. Internal tier). So we are not moved the all customized Development work into second application tier (i.e. External tier).
    My question is, we are not moving all customized work into both application tier means , is there any issue will occur ?
    How can we handle my customized works both application tiers( i.e. Internal and external tiers) ?
    Please help,
    Thanks,
    Prab.

    Hi;
    They are questioning me why we have to do that.Answer is easy, You can mention for ebs stability all nodes should be on same level :) If they push you more please show metalink notes which is already sharing by Hussein Sawwan. If they still persist say them you will go wiht SR and confirm wiht support ;)
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • How to customize SSO Login URL and EBS AppsLocalLogin URL

    EBS version is 12.1.3 with SSO enabled (version 10.1.4.3)
    Original URL as follows:
    1) SSO Login : http://cmcsifsdev01.cmc.gov.my:8006
    2) EBS Local Login : http://cmcsifsdev01.cmc.gov.my:8006/OA_HTML/AppsLocalLogin.jsp
    There was a requirement from user to change the HTTP port from 8006 to 80 and use custom url. Using metalink note : How To Configure Apache In R12 (10.1.3) To Listen on a Restricted Port Such as 80 or 443 [ID 578001.1], i managed to change it as follows:
    Current URL
    1) SSO Login : http://sifsstg.skmm.gov.my
    2) EBS Local Login : http://sifsstg.skmm.gov.my/OA_HTML/AppsLocalLogin.jsp
    But there is new requirement to the current URL as follows:
    New requirement:
    1) SSO Login : http://sifsstgsso.skmm.gov.my (change from 'http://sifsstg.skmm.gov.my' to 'http://sifsstgsso.skmm.gov.my')
    2) EBS Local Login : http://sifsstg.skmm.gov.my (change from 'http://sifsstg.skmm.gov.my/OA_HTML/AppsLocalLogin.jsp' to 'http://sifsstg.skmm.gov.my')
    Is it possible to implement this new requirement? If possible, please advice me further.
    Appreciate any comments. Thank you in advance.

    How many web tiers do u have?
    For,
    1) SSO Login : http://sifsstgsso.skmm.gov.my (change from 'http://sifsstg.skmm.gov.my' to 'http://sifsstgsso.skmm.gov.my')
    You can define change the EBS HTTP server to use a Virtual Host/Reverse Proxy in front (e.g. WebCache/Apache Standalone). Do re-register this mid tier with SSO Server.
    You can follow:- Installing and Configuring Web Cache 10g and Oracle E-Business Suite 12 [ID 380486.1]
    However that same web server is servicing for AppsLocalLogin.jsp also. So i am not really sure whether u can really define another virtual host on RP side to access it with a different URL.
    (2) EBS Local Login : http://sifsstg.skmm.gov.my (change from 'http://sifsstg.skmm.gov.my/OA_HTML/AppsLocalLogin.jsp' to 'http://sifsstg.skmm.gov.my'))

  • Choosing between external and partner application and problem with login

    We have an application on Oracle App Server 10.1.3.3 and we have an OID server.
    I had taken this for granted that I should define the application as 'Partner Application' and not external application for single sign on.
    Now that we need the 'PASSWORD' retrieved by application, we are considering defining it as an external application.
    There are at least two problems I have encountered defining the application as external:
    1. 'pageConfig:serverDate' is among the login form's inputs in the login page, but I can't set it in orasso 'Edit External Applications' page
    2. After login using SSO as external application and when I click on the application's new link, the login page is shown with the username and password field filled, but I have to click on login button anyway (no automatic and invisible login).
    I will be very grateful if someone gives a general view on the differences between external and partner, whether in this case external has to be used or partner and finally give some comment on my specific problem with login button and manual login.
    Thank you

    Just some information :
    - The problem with LOGIN page exists. I don't have that problem with for example GMAIL when defined as external application, but with my applications in Oracle Application Server.
    - There is also another thing I don't understand. The link to external application is something like:
    javascript:open_jwindow('../ealogin?ID=76D4766','76');
    and couldn't be executed outside pls/orasso
    in other words we can't give that to our users, can we? They should login to orassso and see that?
    We don't want to involve them in Identity Management...
    Any help is appreciated....
    Regards

  • What are the requried fields to be mentioned for external application login

    Hi all,
    I want to integrate a authenticated external application with my portal. My problem is that in the source code of the page, which contains login and paasword box, the action url is given as ../servlet/searchdirectory?Path=http://mybeat.techmahindra.com/ispace/home!section>cafetaria. When I give this URL in URL field for external application, it gives error as it is not a valid URL format. In fact, this site is redirecting the information for authentication. How can I get that URL????????
    Another problem is that, when I am giving the URL as http://mybeat.techmahindra.com/service/page/UserLoginForm?
    Path=http://mybeat.techmahindra.com/ispace/home!section>cafetaria after clicking apply button, it automatically removes the > sign and take it as http://mybeat.techmahindra.com/service/page/UserLoginForm?Path=http://mybeat.techmahindra.com/ispace/home!sectioncafetaria Is there any limitations for URL patterns which can be mentioned here????????
    Sid

    Hi Prasad,
    note 1080927 contains the most up-to-date a list of required SCs for BPM. Ensure that you have imported the corresponding SCAs because the Studio checks the availability of certain required DCs that all BPM DCs must reference.
    You can check which DCs are missing in the Component Properties view of the 7.11 NWDS: select the SC where you want to develop in Component Browser, switch to the "DC Types" tab in Component Properties and open the node for the DC type in question. DCs marked in red are missing.
    Regards
    Michael

  • Auto Login to External Applications

    Under Portal Administer tab -> Login Server Administration -> Administer
    External Application -> Added External Application, I followed the example to
    add an external application with "Apllication Name", "Login URL", "User Nmae/ID
    Field Name", "Password Field Name" and selected "Authentication Method".
    Although I have let Portal to remember my username and password on the first
    time accessing the external apps, I still have to re-type my username and
    password again for that web external apps. It seems that the username and
    password are not passed by Portal to the external apps, although it works with Yahoo. Should it work with every external apps?
    http://diary1.liv.ac.uk/cgi-bin/nscal/calendar.cgi
    The source is as follows:
    =======================================================
    <HTML>
    <HEAD>
    <TITLE>Calendar Express Login</TITLE>
    </HEAD>
    <BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" ALINK="#0000ff"
    BGCOLOR="#ffffff">
    <form action="/cgi-bin/nscal/login.cgi" method="post">
    <INPUT type="hidden" name="img_path" value="/nscal/images/">
    <INPUT type="hidden" name="cgi_path" value="/cgi-bin/nscal/">
    <INPUT type="hidden" name="date" value="2002/3/25">
    <CENTER>
    <P>
    <TABLE BORDER="1" BORDERCOLOR="#000000" BGCOLOR="#ffffff">
    <TR>
    <TD>
    <TABLE CELLPADDING="3" CELLSPACING="0" BORDER="0">
    <TR>
    <TD COLSPAN="2">
    <TABLE BORDER="0" WIDTH="100%">
    <TR VALIGN="center">
    <TD>
    <IMG src="/nscal/images/english/splash_name.gif">
    </TD>
    <TD ALIGN="right">
    <TD ALIGN="right">
    <IMG
    SRC="/nscal/images/english/logo_small.gif" BORDER="0" ALT="About Netscape.
    Calendar Express 3.5"></TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="center" VALIGN="center">
    <TABLE BORDER="0">
    <TR>
    <TD COLSPAN="2">
    </TD>
    </TR>
    <TR ALIGN="left">
    <TD ALIGN="right">
    </TD>
    <TD>
    <INPUT TYPE="hidden" NAME="server" VALUE="diary1.liv.ac.uk,10000">
    </TD>
    </TR>
    <TR ALIGN="left">
    <TD ALIGN="right">
    </TD>
    <TD>
    <INPUT TYPE="hidden" NAME="language" VALUE="english">
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <FONT SIZE="-1" FACE="geneva, arial, lucida sans, helvetica">Name</FONT>
    </TD>
    <TD>
    <INPUT TYPE="text" NAME="srch_query" SIZE="20" MAXLENGTH="128" VALUE="">
    </TD>
    </TR>
    <TR ALIGN="left">
    <TD ALIGN="right">
    <FONT SIZE="-1" FACE="geneva, arial, lucida sans, helvetica">Password
    </FONT></TD>
    <TD>
    <INPUT TYPE="password" NAME="password" MAXLENGTH="15" SIZE="20">
    </TD>
    </TR>
    </TABLE>
    <TR>
    <TD COLSPAN="2" BGCOLOR="#e0e0e0">
    <CENTER>
    <INPUT type="submit" NAME="ok" value="Login">
    <INPUT type="submit" NAME="help" value="Help">
    </CENTER>
    </TD>
    </TR>
    </TABLE>
    </TR>
    </TD>
    </TABLE>
    </CENTER>
    </form>
    </BODY>
    </HTML>
    =============================================================================
    The followings are the fields and values I used for the config:
    User Name/ID Field Name: srch_query
    Password Field Name: password
    Authentication Method: post
    Additional field:
    img_path /nscal/images/
    cgi_path /cgi-bin/nscal/
    server diary1.liv.ac.uk,10000
    language english
    date none
    Please help. I created a Tar in Metalink, but couldn't get enough help.
    Thank you
    Zhuang

    Under additional fields you also need to specify ok=Login. (This parameter is passed when the user clicks the the login button.) Peter
    Thank you for the reply. After putting one more additional field ok=Login, the result is still the same. Any more suggestion I could try out?
    Thank you
    Zhuang

  • URL based portlet from external application

    Hello,
    I'm trying to integrate a forms 6i patch 10 application into SSO.
    First, I created an external application, passing it the correct parameters.
    Everything went ok, and I can successfully call it by entering
    "Administer Enternal Application" link on Oracle Portal.
    Now I want to make a portlet from this external application. For that I'm
    using PDK URL Services. So I reused the urlexternalauth provider which is
    included in the latest PDK. The provider.xml is included below. I successfully
    registered the provider, by following the wizard "Register Portlet Provider" on
    Oracle Portal. But when I call the portlet, the html startup file for the form
    is base.htm. When I call the external application through the "Administer Enternal Application" link,
    I get the right html startup file, which is basejini.htm.
    So I need basejini.htm called from the portlet, and not base.htm.
    Thanks,
    Andri.
    provider.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
         <providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
         <session>true</session>
         <authentication class="oracle.portal.provider.v2.security.Authentication">
              <authType>ExternalApp</authType>
              <userFieldName>username</userFieldName>
              <userPwdName>password</userPwdName>
              <errorPageMessages>Error Message!</errorPageMessages>
         </authentication>
         <proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
              <httpProxyHost>proxy.br.odebrecht.com</httpProxyHost>
              <httpProxyPort>8080</httpProxyPort>
         </proxyInfo>
    <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
    <id>1</id>
    <name>iCorporate</name>
    <title>iCorporate</title>
    <description>iCorporate - aplicacao Forms6i</description>
    <timeout>100</timeout>
    <timeoutMessage>iCorporate time out</timeoutMessage>
    <acceptContentType>text/html</acceptContentType>
    <showEdit>false</showEdit>
    <showEditToPublic>false</showEditToPublic>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <passAllUrlParams>true</passAllUrlParams>
    <inputParameter class="oracle.portal.provider.v2.URLPortletParameter">
    <name>config</name>
    <displayName>config</displayName>
    <value>icorp</value>
    <isMandatory>true</isMandatory>
    </inputParameter>
    <inputParameter class="oracle.portal.provider.v2.URLPortletParameter">
    <name>database</name>
    <displayName>database</displayName>
    <value>server1</value>
    <isMandatory>true</isMandatory>
    </inputParameter>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
    <contentType>text/html</contentType>
    <pageUrl>http://server1.rjo.br.odebrecht.com:7780/servlet/f60servlet</pageUrl>
    </showPage>
    </renderer>
    <securityManager class="oracle.portal.provider.v2.security.URLSecurityManager">
    <authorizType>public</authorizType>
    </securityManager>
    </portlet>
    </provider>

    Andrea,
    Could you tell me if FORMS 6i authentication process is based on cookies? The reason being, URL based portlets SSO feature is primarily driven by External Application's cookies, which act as authentication tokens. Once a valid user information is submitted to the External Application, cookies (if any) are received and stored so that they can be re-used in further connections. A typical flow of events can be summarized as follows :
    At provider level :
    1. Connect to External Application.
    2. Submit user information to url specified by External Application's login URL.
    3. Fetch cookies
    4. Store them for future use.
    At portlet level :
    1. Read cookies fetched through provider, pertaining to this portlet.
    2. Open connection to url specified by <pageUrl> tag in provider.xml
    3. Read content and display in the portlet.
    From the provider.xml, I can see that we are trying to show content given by http://venezuela.rjo.br.odebrecht.com:7780/servlet/f60servlet servlet, which has two parameters called {config and database}. This makes the resulting URL as http://venezuela.rjo.br.odebrecht.com:7780/servlet/f60servlet?config=icorp&database=venezula. I guess when this URL is accessed directly, FORMS servlet will redirect the user to base.htm file. Important point to note here is that when URL based portlet makes connection to the above URL, user information is not directly sent along with the request. Instead, cookies fetched from External Application, if any, are sent. But when the same application is viewed through portal's External Application, user information is directly submitted to the login URL. So, before deciding on something, it is important to know how different is the loginURL specified through portal's External Application details, from <pageUrl> of URL based portlets?
    -aMJAD.

  • Portal Login id and Credatinal pass to dot net application

    Hi Experts,
    I want to know is it possible to pass the portal login id and other details like Name and organization to an dotnet application.
    If it is then how can we do it.
    Please do the needfull. Important
    Regards,
    Swapnil

    Hi Sarbjeet,
    I first thought of creating URL Iview and passing the user id and other required details as parameter to that URL Iview.
    Then reading your mail i thought of creating a web dynpro java application and then pass all the required values to the url in the application only but i am confussed how i will call the dot net application.
    If you have a better suggestion please let me know how to do it.
    Regards
    Swapnil

  • How to prevent a first time login prompt for an external application.

    Hi,
    I'm doing a Portal iFS integration project. We managed to login to our iFS application via an external application definition in the Login Server. We created a JSP screen to create iFS users. In the back-end java-code uses the Portal API to create a Portal user. When this new user uses the external application link for the first time he gets a Portal screen to supply the external username/password combination. Can someone answer the following questions:
    1. How can I customize the layout of this first time external application login screen just like the you can customize the standard portal "login/change password" screens ?
    2. Is there an API to specifiy the external username/password combination for a specific portal user and specific external application in advance in order to prevent the firsttime login screen ?
    Any help/answers would be great. We need to implement this in a few weeks.
    regards,
    Willem-Pieter van der Lugt

    There is an API -- WWSSO_PSTORE_EX which is in $IAS_HOME/portal30/admin/plsql/sso/ssopsex.pks which includes APIs
    for accessing the password store. Please see the package specification here, which is not wrapped. This API is generally private to the SSO schema, but it is granted for EXECUTE to the
    PORTAL30_PS schema - which is the schema provided for access to the password store.
    To add a users credentials to the store, you would use the pstore_add_user_info procedure...
    PROCEDURE pstore_add_userinfo
        p_app_id     IN VARCHAR2
      , p_ssouser    IN VARCHAR2
      , p_app_user   IN VARCHAR2
      , p_app_pwd    IN VARCHAR2
      , p_fname1     IN VARCHAR2 DEFAULT NULL
      , p_fval1      IN VARCHAR2 DEFAULT NULL
      , p_fname2     IN VARCHAR2 DEFAULT NULL
      , p_fval2      IN VARCHAR2 DEFAULT NULL
      , p_fname3     IN VARCHAR2 DEFAULT NULL
      , p_fval3      IN VARCHAR2 DEFAULT NULL
      , p_fname4     IN VARCHAR2 DEFAULT NULL
      , p_fval4      IN VARCHAR2 DEFAULT NULL
      , p_fname5     IN VARCHAR2 DEFAULT NULL
      , p_fval5      IN VARCHAR2 DEFAULT NULL
      , p_fname6     IN VARCHAR2 DEFAULT NULL
      , p_fval6      IN VARCHAR2 DEFAULT NULL
      , p_fname7     IN VARCHAR2 DEFAULT NULL
      , p_fval7      IN VARCHAR2 DEFAULT NULL
      , p_fname8     IN VARCHAR2 DEFAULT NULL
      , p_fval8      IN VARCHAR2 DEFAULT NULL
      , p_fname9     IN VARCHAR2 DEFAULT NULL
      , p_fval9      IN VARCHAR2 DEFAULT NULL
      , p_user_prefs IN VARCHAR2
    );Note that you should provide p_app_pwd as cleartext, and the API encrypts it before storing.

  • How do you harness URL external application in a JSP?

    I have successfully deployed the Yahoo Finance sample URL External Application. However, I do not understand how to utilize the URL classes (in the pdkjava.jar) to harness the external application information once a user has authenticated. I am building a JSP portlet that displays and applet, however the applet requires a username and password. I need to get the Username and Password from external application, which it gets from the user via External Application. How do I get these values in my JSP (that is defined in my provider.xml)? I keep seeing documentation regarding the ExternalPrincipal object however I don't understand how to utilize this object in my JSP. I beleive the ExternalPrincipal object is what I need in my JSP, seeing that it has the methods for getting the user and password. Unless is there a better way of achieving this, can anyone shed some light on getting the ExternalPrincipal object for an External Application session?
    Thanks,
    Laith E.H.

    Thanks for the example. I have a better understanding now, however I'm still having trying to comprehend the flow of executing in this portal model.
    I have a problem with:
    PortletRenderRequest pr = (PortletRenderRequest) request.getAttribute("oracle.portal.PortletRenderRequest");
    ProviderUser prUser = pr.getUser();
    ProviderSession pSession = prUser.getSession(true);
    I get a NullPointerException on the second line when trying to getUser(). I'm not sure where the problem could be. In the provider.xml, my ExternalProviderInstance, or the JSP itself? I have another JSP portlet on the same page that calls the same method with success.
    Thanks,
    Laith E.H.
    provider.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
         <providerInstanceClass>com.cox.portal.provider.ExternalProviderInstance</providerInstanceClass>
         <session>true</session>
         <authentication class="oracle.portal.provider.v2.security.Authentication">
              <authType>ExternalApp</authType>
              <userFieldName>Username</userFieldName>
              <userPwdName>Password</userPwdName>
              <errorPageMessages>Invalid ID,Invalid Password</errorPageMessages>
         </authentication>
         <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
         <id>1</id>
         <name>ExternalAnalyzer</name>
         <title>Main Analyzer</title>
         <description>This portlet logs into analyzer</description>
         <timeout>100</timeout>
         <timeoutMessage>analyzer timed out</timeoutMessage>
              <showEdit>false</showEdit>
              <showEditDefault>false</showEditDefault>
              <showPreview>false</showPreview>
              <showDetails>false</showDetails>
              <hasHelp>false</hasHelp>
              <hasAbout>false</hasAbout>
              <acceptContentType>text/html</acceptContentType>
              <registrationPortlet>false</registrationPortlet>
              <accessControl>registered</accessControl>
              <renderer class="oracle.portal.provider.v2.render.RenderManager">
                   <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
                        <pageUrl>http://catl0dv31.corp.cox.com/bic/analyzerIFrame.jsp?ap_doc=analyzer&amp;ap_id=105</pageUrl>
                        <contentType>text/html</contentType>
                   </showPage>
              </renderer>
              <securityManager class="oracle.portal.provider.v2.security.URLSecurityManager">
                   <authorizType>registered</authorizType>
              </securityManager>
         </portlet>
    </provider>
    ExternalProviderInstance:
    package com.cox.portal.provider;
    import oracle.portal.provider.v2.*;
    import oracle.portal.provider.v2.http.*;
    import oracle.portal.provider.v2.externalApp.*;
    public class ExternalProviderInstance extends URLProviderInstance
    public static final String EXTERNAL_APP = "externalapp.object.key";
    ProviderSession pSession = null;
    public Object[] initSession(ProviderUser user, ExternalPrincipal externalApp)
    throws ProviderException {
    //UrlServicesUtils.logMessage("BasicURLProvider : Entering initSession.", getDebugLevel());
    //Create/Retrieve provider user session.
    if (mProviderDefinition.getHasSession()) {
    // Create the session if it doesn't already exist.
    pSession = user.getSession(true);
    // Store external app in provider session so that other modules
    // can extract it later.
    if (pSession != null) {
    pSession.setAttribute(EXTERNAL_APP, externalApp);
    // Get javax.servlet.http.Cookie[] from user
    javax.servlet.http.Cookie[] cookies = ((ServletProviderUser)user).getCookies();
    if(cookies != null)
    return cookies;
    else
    return null;

  • Load username and password for external application?

    How to load username and password for external application?
    For each user, we should take its Portal username and password for one specific external application. How to do that ?
    Regards.

    ABSOLUTLY YES !!!!
    We already know the external application login information for each user and we want to by pass this user task. (Specially because the user itself doesn't know its username/password for the external appli). In fact we are trying to integrate IStore product to Portal by using this mechanism.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Kamalendu Biswas ([email protected]):
    If you define an external application then SSO users can populate user information by themselves.
    Are you syaing that you want to populate user information automatically (bulk lodad)?<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Where is the option "Store only headlines" in Mail.app on Mavericks?

    Where is the option "Store only headlines" in Mail.app on Mavericks? I used to store all messages on gmail servers. Mail.app on Mountain Lion has feature to load only headlines of e-mails from Gmail. Now It's gone and with new OS Mavericks, I've got

  • Tried to edit backup bookmarks html document in Notepad. Saved as html but now lost formatting & links - help!

    We've had malware problems so I backed up my hard drive's bookmarks onto our server but now the bookmarks are out of date. I just wanted to update them and save them back as the full web page that I originally had as the backup, so I can import them

  • How to set video display parameters for the guest OS?

    I don't see display adapter options in the hardware list for a VM.  How does the guest OS know what are the display resolutions available? I have installed Ubuntu 14 on two different PCs, one in Windows 8 Hyper-V and another in VirtualBox.  In Virtua

  • Continuing a path in CS6

    I'm using the pen in Illustrator to create a path, but after clicking something else I can't seem to continue the same path.  The new anchors are all creating new paths, which I absolutely do not want.  I have clicked the pen icon and clicked the end

  • Language in 'help'

    Hello, I downloaded the English-Arabic enabled trial of CS6 because I occasionally work with Arabic text. However, my main language is English, but when I click on 'help' the page appears only in Arabic. There are also some other instances where Arab