ADF pages autentication with OID

How to authenticate ADF application against Oracle Internet DIrectory. We are using Oracle Application Server 10.1.2.0.2 and JDeveloper 10.1.2. Basically in a simple scenario, we will have a login page where the user will enter username and password. It needs to authenticate against Oracle Internet Directory and if successful, it needs to forward to the next ADF page.
Thanks

hi bala
Maybe you can use the example code in CustomAuthorizationInUIStuff-v0.02.zip that I have recently posted in Re: ADF Faces: on page refresh, property is null. Why?, to work with together with the documentation.
It has been created using JDeveloper 10.1.3.3.0, so I'm not sure how it translates back to JDeveloper 10.1.2 you refer to.
success
Jan Vervecken

Similar Messages

  • Making the Webcenter ADF pages compatible with Mobile browser

    Hi,
    I'm trying to make the already developed ADF pages compatible to Mobile Browser (like blackberry etc).
    I have tried with the way what oracle ADF specification says like have to create a Fusion proj then have to add a new project into that and develope the mobile browser pages. In this way, it is working absolutely fine. But the problem is, i have already developed an application which uses lot of web center stuff and we have created so many pages in the application. Making this pages compatible to Mobile browser will take hell of effort.
    Is there anyway that these pages can be made compatible to mobile browser (like blackberry etc).
    Suggestions and Help is highly appreciated.
    Thanks in advance.
    Mahipal
    Thanks,
    Mahipal

    Hi Wiebke,
    You need to change the property Supported User Agents for all objects you need to access with MS Mobile IE. The procedure is the same as enabling your portal to be indexed by Web Search Engines for external facing portals, which is described here: http://help.sap.com/saphelp_nw04s/helpdata/en/44/ccf6bf687f3b9ae10000000a1553f6/frameset.htm.
    This will technically allow all browsers to access the portal. Note that SAP does not support them, and especially in the case of mobile browsers, you may have issues regarding screen size and scripts (maybe fix this by creating a custom framework page+custom navigation iviews?).
    Regards,
    Johan

  • [Solved]ADF Page Scrolling with Javascript

    Hi All,
    In one of our application pages, when user closes a pop dialog it will create bunch of table lines at the bottom of the parent page, but after page refreshes it is going back to the top, so user having to scroll down to get to the lines.
    So onload of body tag, I wrote something like window.scrollTo(0, -200). I know this works in jsp page as we are using this in another application. but it doesn't in ADF.
    Can anyone please help me with this?. Thanks for your help in advance
    Thanks
    Praveen
    Message was edited by:
    bpraveen

    Hi All,
    I actually worked around the issue, which seems to be working fine for me.
    We need to scroll the page down to the line in the table that we just updated.
    Each of our table row has a sequence field. So before refreshing the page I'm putting the sequence of the line in the session in backing bean method. In the page I'm getting the value back from session and setting it to value of hidden field. just before the end of body tag. I wrote some javascript to focus the line with sequence that was saved in session (which is the value of hidden field on the page). So focusing the line sequence is scrolling the page up to the line.
    hope this helps.
    Thanks
    Praveen

  • Is this a bug for using DIV tag in adf page?

    I'm using the version 11.1.1.2.0. And when I write the adf page code with empty content in div tag like this :
    <div id="ex"></div>
    <othertags>123</othertags>Then the code in randered page :
    <div id="ex">
    <othertags>123</othertags>
    </div>Bug ?
    Edited by: Derek.Jaa on 2010-4-21 上午4:00

    Hi Simon
    Thanks for you help and I can't see the tag you suggested. Maybe you should make you code between tag, replace the [] with {} .                                                                                                                                                                                                                                                                                                   

  • Calling ADF page in E-biz 11.5.10

    Hi,
    I developed a simple ADF Fuson web page using JDeveloper 11g. I would like to call this thru Oracle E-Biz 11.5.10. I was told that in E-boz 12 there is a profile option FND_EXTERNAL_ADF_URL to be set. But in 11i they are not sure what is the equivalent profile option to set. Does anybody know how to call an ADF page in E-Biz or what is the profile option similar to the one in 12i (FND_EXTERNAL_ADF_URL)? Thanks.
    Edited by: user9935659 on Jan 19, 2011 7:05 PM

    Hi,
    I am sure the ADF will be running in a different server, and you might be having a standalone URL to access your ADF page.
    Have you tried register a function in Ebiz 11i, of type "SSWA jsp function" or "Unknown Type" function and give the full URL of your ADF page?
    With regards,
    Kali.
    OSSI.

  • How to apply html css code in ADF pages

    I have the css code for all html components like buttons , text box, tabs etcc.. I want same look and feel in adf, I want to apply same css in ADF pages without/with minimal changes,
    I need very urgently,
    plz do needful ASAP.
    Thanks & Regards,
    Ram.

    Hi..
    Also this will helpful
    http://technology.amis.nl/blog/5722/using-adf-faces-11g-skinning-for-setting-the-styles-of-specific-component-instances-or-groups-of-instances

  • Implementing Security For ADF Pages when integrated with Oracle APPS

    Hi,
    Can anyone please let me know the solution to the below problem ?
    I have an ADF application that is deployed on a weblogic server. An URL is generated to access the ADF Pages.
    I have created one more simple jsp (Launch.jsp) which redirects to this URL on page load.
    I am using Oracle APPS where:
    ->I registered a form function referring to Launch.jsp
    ->I am referring form function in a responsibility , attaching that to a menu
    ->When the valid oracle user logs in, I am sending all oracle apps environment variables (User id , Responsibility id, application id ) for that session
    What my issue is :
    ->The URL along with the parameters that I am sending from the Launch.jsp to the ADF Page is visible to the user. So, even if the Oracle APPS user has not logged in, anybody who knows the URL can access the ADF Pages.
    ->So, Is there any way to implement the security so as, even if anyone knows the URL of the ADF Page cannot access the ADF Pages without the valid user being logged-in through the Oracle APPS.
    I am using Jdeveloper 11g.
    Please let me know if you need anymore details.
    Thanks in advance,
    Kavitha

    Please help me out if anyone has a solution to this problem.
    Thanks,
    Kavitha

  • How to detect that ADF page has completely loaded with OpenScript

    In Selenium tests I use AdfPage.isSynchronizedWithServer to detect whether an ADF page has completely loaded. I attempted to do the same with OpenScript by doing something like:
    boolean loading = true;
    while (loading) {
    String[] result = web.document("/web:window[@title='*']/web:document[@index='0']").executeJsFunction("AdfPage.PAGE.isSynchronizedWithServer()", null);
    if (null != result && result.length > 0 && "true".equalsIgnoreCase(result[0])) {
    loading = false;
    } else {
    think(5.0);
    unfortunately this fails with
    ERROR [1] Error in section Run at line unknown. An unexpected exception occurred in the script. Script section: Run. Caused by: Exception occured.
    java.lang.Exception:
        at oracle.oats.scripting.modules.webdom.api.elements.DOMDocument.executeJsFunction(DOMDocument.java:1043)
    Anyone know how to call ADF JS from OpenScript or alternatively what is the recommended way to make sure that the ADF page has loaded completely ?

    Hi,
    when user logged in set a attribute in the session using
    sess.setAttribute("var","value");
    Now in ur JSP get this attribute if its null then ur session has expired an send the user to login page.
    sess = requset.getSession(false);
    String/Object  value = sess.getAttribute("var");
    if(value==null)
    //send it to Login page
    }

  • Integrating a Rich Text Editor Like CKEditor with ADF pages

    Dears
    I am looking for a way to use a rich text editor like TinyMCE, CKEditor, etc... within ADF pages
    Is there a simple way how to use such text editor in my ADF application?
    Looking forward for your reply
    Best regards
    Mohamed Chargui

    Mohamed Chargui wrote:
    Dears
    I am looking for a way to use a rich text editor like TinyMCE, CKEditor, etc... within ADF pages
    Is there a simple way how to use such text editor in my ADF application?
    Looking forward for your reply
    Best regards
    Mohamed CharguiThere is an ADF Rich Text Editor component - does that not meet your needs?

  • ADF page with optional login using mod_osso authentication

    Using JDeveloper 10.1.3.2.0
    I am converting a pure jsp page into an ADF page. This page is not restricted but allows a user additional funtionality if they log into Portal. The original jsp used mod_osso authentication to allow a user to log in. Once the user's name was known from the login then the screen could save information specific to a user and if the user had to return later all they had to do was login in once again to get their personal information back. However it was not a requirement for any user to use this functionality.
    In converting to ADF however I can't figure out how to code the mod_osso call successfully. I created a command button and behind the button but the following code:
    public String commandButton_action() throws IOException {
    // Add event code here...
    String userName = getUserSSO();
    userLoginName.setValue(userName);
    return null;
    private String getUserSSO() throws IOException {
    String message = "";
    FacesContext fc = FacesContext.getCurrentInstance();
    ((HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse()).setContentType("text/html");
    String userSignon = (String)((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest()).getAttribute("USER_NAME");
    if(userSignon == null || userSignon.length() <= 0)
    userSignon = ((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest()).getRemoteUser();
    if(userSignon == null || userSignon.length() <= 0)
    ((HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse()).setHeader("Osso-Paranoid", "false");
    ((HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse()).sendError(499, "Oracle SSO");
    } else
    message = "found user name " + userSignon;
    return message;
    Could please comment on whether I am even on the right track or point me to some documentation on mod_osso authentication and ADF such that the authentication is optional? Currenlty I get "No Response from Web Application Server" when I attempt the above.
    Thanks,
    Cathy

    I added a call to FacesContext.getCurrentInstance().responseComplete(); right before the setHeader and sendError but that did not resolve my issue. Any advice on how to further trace down the issue?
    Thanks,
    Cathy

  • Open file from ADF pages gives a problem

    Hi all,
    I have created with Jdev 11g an ADF page.
    In that page is shown a table with the files that are stored in the database.
    I use this code to show the file:
        public void showFile(BlobDomain  b,String filename){
            FacesContext fc = FacesContext.getCurrentInstance(); 
            HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
            response.setHeader("Content-Disposition","attachment; filename=\""+filename+"\"");
            response.setHeader("cache-control", "no-cache");
            try {
                InputStream in;
                in = b.getInputStream();
                ServletOutputStream out = response.getOutputStream();
                writeInputStreamToOutputStream(in, out);
                fc.responseComplete(); 
            } catch (IOException e) {
                e.printStackTrace();
            } catch (Throwable e) {
                e.printStackTrace();
        }This works for the first time a file is opened. But when the user then selects a different row nothing is happening anymore.
    What can that be?

    Hi Simon,
    This is the button:
                      <af:commandButton text="Open file"
                                        binding="#{backingBeanScope.backing_pages_Meldingen.cb5}"
                                        id="cb5"
                                        disabled="false"
                                        action="#{backingBeanScope.backing_pages_Meldingen.openFile}"/>this is openfile:
        public String openFile() {
            BindingContainer bindings = this.getBindings();
            DCIteratorBinding iter = (DCIteratorBinding)bindings.get("XxahelpBezoekRapDocView1Iterator");
            Row currentRw = iter.getCurrentRow();
            showFile((BlobDomain)currentRw.getAttribute("Bijlage"),currentRw.getAttribute("Filename").toString());
            return null;
        }And how can I download in a popup??

  • Propagation of Credentials from ADF Pages to BPEL

    It is easy and straightforward to call web services from ADF pages. But I am a bit confused about the security issues around use of BPEL and OWSM with ADF.
    Suppose that I have authenticated against an LDAP to access an ADF page and the page make calls to a BPEL process through a button. As far as I know I should implement security in the web services through OWSM and in this case I can attach an agent to the web service to authenticate against LDAP. (or verify a SAML token)
    Problem: I can't pass credentials to the process from the page. the web service does not receive any SAML token, user name or pass word to authenticate.
    Also please read this for another view of the same problem:
    Security of Web Services, Agents and Sequantial Calling of Web Services
    How can I pass the SAML tokens(propagate identity) along the business process. If I insert SAML token as part of the agent's response steps, the response is not actually passed to the next service but the BPEL. Will the next service receive the SAML token?
    I really appreciate any comments and hints.
    Best Regards,
    Farbod

    Can message handler framework in BPEL Security extension help for this? Does enabling domain and process level security do the trick?
    Regards
    Farbod

  • Is it possible to Forward to another adf page in ReturnListener method?

    There is button in the page. It is used to pop up a dialog. After the dialog is returned. The ReturnListener of the button is triggered. I want to forward to another adf page in the ReturnListener.
    I searched the forum and found the following page:
    Re: Forward to another adf page from inside onPageLoad event
    I tried all the methods mentioned above, but all of them failed.
    Is there any other solutions?
    Regards,
    Jason

    I had the same problem with a return listener on a commandmenuitem. The navigation doesn't work because there is no partial submit.
    The workaround is to construct a menu item from a commandlink and objectimage. It looks and works the same as the commandmenuitem but you can set partialsubmit=true.
    For example:
    <af:panelGroup layout="vertical">
    <af:panelHorizontal>
    <af:objectSpacer width="10" height="10"/>
    <af:commandLink id="linkButIcon" useWindow="true"
    action="dialog:GoLinkedMatters"
    windowHeight="#{backing_app_ea_LinkedMatters.windowHeight}"
    windowWidth="#{backing_app_ea_LinkedMatters.windowWidth}"
    returnListener="#{backing_app_summary_DPSummary.linkedMattersReturn}"
    partialSubmit="true">
    <af:objectImage source="/images/link.gif"/>
    </af:commandLink>
    </af:panelHorizontal>
    <af:commandLink id="linkButLink"
    useWindow="true"
    textAndAccessKey="#{res['esolve.toolbar.links']}"
    action="dialog:GoLinkedMatters"
    windowHeight="#{backing_app_ea_LinkedMatters.windowHeight}"
    windowWidth="#{backing_app_ea_LinkedMatters.windowWidth}"
    returnListener="#{backing_app_summary_DPSummary.linkedMattersReturn}"
    inlineStyle="font-size:8.0pt;"
    partialSubmit="true"/>
    </af:panelGroup>

  • ADF EBS Integration - How to open the ADF page in new tab or window

    Hi,
        We are building ADF custom applications and want to integrate them with EBS R12 (12.1.3) through Responsibilities and Menus.
    We have achieved session sharing and launching the Custom ADF app from EBS menu. The problem is, the Custom ADF page opens in the same page.
    Is there anyway to open the ADF application in new tab or window while launching from EBS Menu ? 
    Highly appreciate your help on this.
    Thanks,
    Ananthakumar

    Bhaskar,
    Refer old threads by searching for "new window" / "_blank"
    - Senthil

  • Creating a adf page based on webservice data control

    hello
    i am using latest version of jdev 11g from otn.
    i created a VO based on EO and define a view criteria as well. i added that to a AM and exposed it as web service and deployed to a wls server.
    now i wish to created a adf page based on it so i created a ws data control based on the wsdl.
    in the data control section now i see service as findSearchOrder. When i try to drop it on the page it created a adf form with two input boxes findControl and findCriteria.
    So, I am not able to understand how exactly these are going to map to the actual search parameters?
    Please advise

    If you want to retrieve all records, you can set them to null.
    But of course, it depends on what you want to archive (I suppose you want a search form?).
    Please give us your complete JDev version. (Help > About > About tab)

Maybe you are looking for

  • Java.lang.Error: java.util.zip.ZipException: The system cannot find the fil

    I got maven 221 installed i got jdk 1.6 and 1.5 installed (have tested both) I have a strange error. All my co-workers can build but I cant. The only thing I can find is that I dont have installed BEA Weblogic but I dont want to have that installed.

  • How to use DLL function in Oracle Forms 5.0?

    for instance, the FindWindowA function in "user32.dll" please advise, thanks

  • Filter BADI

    Hi all, I am some doubts regarding Filter BADIs, if anyone please clear off the doubts then it will good for me. - Suppose any standard BADI definition is not having 'Filter Dependent' option, then can we make it Filter dependent ? - Does a custom BA

  • Purpose of the following tables?

    Hi All, Does anyone knows the exact purpose of the following tables; 1. BSIK 2. BSAK 3. BSAS 4. BSIS I need a clear description. Thanks, Kishan

  • Giving "One to One" lessons as a gift. Is It Possible?

    Is it possible to give Apple "One to One" lessons as a gift? I may be able to obtain the Apple I.D. & password of that MAC user...or I may not. My aunt in New York City wants to give the "One to One" lessons as a gift to a friend, but the aunt rarely