Still Viable? Simplified ADF 11g request information of identification & Migration Policy

Hello

I use a standalone WLS 10.3.6 that's been patched with the latest installer of Oracle Application Developer to get libraries installed JRF. My config of ADF security in my application is dead simple: just the user as authenticated. JPs-config uses the default identity XML storage and the policy store. It's quite good for WLS to use the DefaultAuthenticator.

When I deploy with JDev, the app is secure and I can connect with the weblogic user. Mission accomplished.

When I manually deploy the EAR, I note the following:

1. the enforcement strategies ARE in the config/fmwconfig/system-jazn-data.xml
2. the config/fmwconfig/jps-config.xml is intact
3. the request is not assured: I can hit the pages of anonymously.

So, I'm trying to follow "simplified ADF 11 g request for credentials and the policy Migration to stand-alone WebLogic Server":
http://www.Oracle.com/technetwork/developer-tools/jdev/index-089066.html

... but the download links for the build.xml and jps-config. The XML that is created for the article no longer works.

Is it always the best way to accomplish is ADF security enabled without using JDeveloper to deploy?
If so, what someone has those files at hand?

Thank you

Mark

Try to deploy using the command of Fusion Middleware Enterprise manager. There you have the possibility to add or ignore the security policy that is shipped with your app EAR. Make sure you only set your security parameters in weblogic custom roles, so you can view and modify the policy of security through EM.
I hope this helps.

Tags: Java

Similar Questions

  • Hello where can I request information for purchasing a license of the company/team?

    Hello where can I request information for purchasing a license of the company/team?

    This page should help Creative Cloud for businesses | Adobe Creative Cloud for business

  • Download Document of Intranet Portal with adf 11g connection credentials

    Hello


    JDev Version: 11.1.2.2.0

    I am trying to download a document of intranet portal that uses my IDs of NT.

    When I try to download the link from the browser, it works, but try even when download of java code with ADF Backing Bean his fault download saying 401: unauthorized Exception.

    Question here is how to move the Windows NT credentials to my grain of document download or is there a way to say "use my login credentials of the system"?


    I copy the source code here for your reference.

    /**
    * Download the file stored in the database in the URL format
    @param facesContext
    @param outputStream
    */
    ' Public Sub downloadDocument (FacesContext facesContext, OutputStream, outputStream)
    {
    OperationBinding op = (OperationBinding) findOperation ("getDocumentLocation");
    Map opParamsMap = op.getParamsMap ();
    opParamsMap.put ("docRowKey", docValueID.getValue ());
    String result = (String) op.execute ();.
    System.out.println ("location of the document" + result);
    FileOperations.getInstance (f:System.NET.WebRequestMethods.FTP.DownloadFile (result));
    }


    synchronized Public Shared Sub downloadFile (String strURL)
    {
    DocumentURL URL;
    UConn URLConnection = null;

    try {}
    documentURL = new URL (strURL);
    uConn = documentURL.openConnection ();


    Authenticator.setDefault (new Authenticator() {}
    protected PasswordAuthentication getPasswordAuthentication() {}
    return new PasswordAuthentication ("xxxx", "xxxxx".toCharArray ());
    // }
    // });

    int byteRead;
    int byteWritten = - 1;

    InputStream is = uConn.getInputStream ();
    OutputStream outStream = null;
    Byte [] buf = new byte [153600];
    While ((byteRead = is.read (buf))! = - 1) {}
    outStream.write (buf, 0, byteRead);
    byteWritten += byteRead;
    }
    System.out.println ("uploaded successfully.");
    }
    catch (FileNotFoundException fnfe)
    {
    System.out.println ("Exception occurred while downloading file:" + fnfe.getMessage ());
    }
    catch (MalformedURLException e)
    {
    e.printStackTrace ();
    }
    catch (IOException e)
    {
    e.printStackTrace ();
    }
    Finally
    {

    }
    }


    Please note that I am the download document based on a URL (intranet portal).

    Happy to provide any other information.

    Appreciate the quick response

    Thank you inadvance

    Network and application user id user ID but can match... the password is not... Since you say that the URL itself works very well when you give him on browser, try opening the URL using goLink.
    Guess it would work if the user of the network has access to the portal.

    Check out the link below to open the URL using goLink.

    Open a dynamic URL to link to the Table column

    Good luck!

    Edited by: 119413 January 10, 2013 14:35

  • OIM 11G: request more info attribute game

    Hello

    The requirentment is looking for groups of applicant on request of data group in OIM11G.
    We have a group of query with a field called right. We must show payments to the applicant only on basis of its groups of IOM. IOM 10 g, we had "Applicant Information.User Login", by which we can get ID applicant on the shape of the object but it comes in OIM 11 g Null.

    Is there another attribute, by which we can get the applicant groups/ID on the Dataset query?

    Thank you and best regards,
    Preeti

    You can use search-query attribute of 'Law', where you can integrate query SQL and information of the applicant to obtain the role of the applicant.


         
    display field = "DISPLAY_NAME".
    Economy-field = "NAME" / >

  • [SOLVED] ADF 11G: open PDF in new window

    Hello, I use JDev 11.1.1.2.
    I have a page in a workflow associated with a PivotTable and a 'print 'button'.
    I use Jasper report to create a PDF document.
    I would like this document to open in a new window when the user clicks the button.
    I have read several discussions/blogs to do this, but it does not work.

    Here's the code for my button:
    < af:commandButton text = 'print '.
    ID = "cb1" useWindow = "true".
    action = "#{viewScope.myBean.goReport} '"
    windowHeight = "400" windowWidth = "800."
    immediate = "true" / >

    where viewScope.myBean.goReport returns ' dialogue: goReport.

    Here is the code that I use to create my PDF file:
    Create a PDF exporter
    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    JasperExportManager.exportReportToPdfStream (printing, byteArrayOutputStream);
    FacesContext context = FacesContext.getCurrentInstance ();
    ExternalContext ectx = context.getExternalContext ();
    HttpServletResponse response = (HttpServletResponse) ectx.getResponse ();
    ServletOutputStream out = response.getOutputStream ();
    response.setHeader ("Cache-Control" "max - age = 0");
    response.setHeader ("Content-Disposition", "inline; filename = Report.pdf");
    response.setContentType("application/pdf");
    response.setContentLength ((New Long (userInfoBean.getReportStream () .length)) .intValue ());
    out. Write (byteArrayOutputStream.toByteArray ());
    out. Flush();
    out. Close();
    context.responseComplete ();


    In my workflow encompassing that contains the page I have:
    < id = 'report' view >
    /report/report.jspx < page > < / print this page >
    < / view >

    < of-activity-id > * < /-activity-id >
    < control-flow-case id = "__1" >
    < result id = "__2" > dialogue: goReport < / de-results >
    <-activity-id id = "__3" > report < / to-activity-id >
    < / control-flow-case >

    My report.jspx file I have just a white page attached to a bean to support:
    <? XML version = "1.0" encoding = "windows-1252'?" " >
    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >
    < jsp:directive.page contentType = text/html"; charset = windows-1252 "/ >
    < f: view >
    < af:document id = binding = "#{"d1"backingBeanScope.backing_report_bean.d1}" >
    < af:form id = binding = "#{backingBeanScope.backing_report_bean.f1"f1"}" > < / af:form >
    < / af:document >
    < / f: view >
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_report_bean-->
    < / jsp:root >

    I can't get the PDF document to open it in a new window

    If I put only "dialogue: goReport" in the action attribute of button, I managed to have a blank page open.
    I have I have a link 'viewScope.myBean.goReport' method which returns the "dialogue: goReport" and contains the code for PDF creation to action button that I have the PDF document that appear, but in the active window.
    I tried to put my PDF creation in an actionListener to launchListener code, returnListener, but I still have my PDF document in the window being opened.

    I don't know that I do something wrong because it appears that others have found a way to do it, but I'm lost right now.
    Can someone help me on this pls.

    Jack

    Hello

    should work with the flow as well. Does the work continuously when it hits in a URL to the browser?

    Frank

  • Scam Phishing Apple - requesting information and credit card data

    OK - I'm wrong I'm 'bit' of investigation of Apple fake and I gave them my SSAN, DOB, mother maiden name and credit card.  After having done that, I immediately cancelled the credit card and changed a lot of passwords.  What should I do?  It seems that now they only my SSAN, DOB and not much of use.   According is other knowledge of these scams, there anything else I should do to protect myself?

    A couple of years old, but still reasonable

    http://money.CNN.com/2013/12/19/technology/security/target-credit-card/

    Edit-or-debit-card-data-was-hacked/ http://www.consumerfinance.gov/blog/four-Steps-you-can-take-If-You-Think-Your-CR

  • Hi to the community and I have a very happy to be here with you... It always opens a dialog box requesting information such as my iTunes ID and password.  Keep in mind, this is a feature of iCloud. I use the usernames and passwords for both. How can-

    After signing in I often get windows that open regarding my information iCloud as user name a password.  I use both iTunes and iCloud with identical data. Important how to sign in this and what is this?  If I cn live without it I would like to remove it from my computer.  No matter that the body can help with this?

    The best thing to do would be to sign in iCloud and iTunes, even if you don't use them. You synchronize anything with iCloud?

  • [JDev12.1.2, ADF] My request of ADF will not work on Microsoft Internet Explorer 11

    Hallo,

    Today, I discovered that when I call him my ADF Essentials application (deployed on GlassFish 3.1.2) from a browser IE11 a message telling me that the browser is not supported.

    I read that there is a patch that should apply to the IDE. Could you kindly give me the link where I can download it?

    It seems that the applications developed in JDev 12.1.3 do not have this problem. The fast lane for me might migrate my application to JDev 12.1.3?

    Thank you

    Federico

    You can not. You must purchase a support contract to obtain the fix.

    Only way to make your application work with IE11 would be to use Jdev 12.1.3 which has the "patch" already included.

    Timo

  • Service request information

    Hello

    Can someone help me how to use oracle support service request when I create SR.


    Thank you
    Asaad

    Hello

    http://docs.Oracle.com/CD/E25290_01/doc.60/e25224/srhome.htm#BABBHEID

    Creating Service requests
    How do I create an SR?

    Concerning

  • 11G request history

    We created approval processes in 11 g for approval of resources and permissions work very well. We use several stages of series in the human task so that the approval goes from one group to the other. We are able to achieve flow, but the history of request IOM does not display the correct data. Although approvals go out as planned for the first group, then for the second group and so on, but history shows that the current approver group.
    We use IOM 11.1.1.5, anyone know what we might be missing?

    Thanks in advance.

    Take a look at the bug: 13087153; Looks like you hit the same.

    -Marie

  • Security of ADF 11g to deploy to weblogic

    Hello

    I put in place in Jdev which works well since jdev ADF security.
    Now, I need to deploy in weblogic.
    What is the deployment process and other configurations in Weblogic?
    I created many users and roles in jdev and did the def permission with these roles page.
    It is automatically created in weblogic when I deploy?

    Kind regards
    Sam

    Sam,

    Fortunately, [url http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/adding_security.htm#CDDGFDFH] documentation has the answers.

    John

  • Change the level of Logger ADF 11g

    Gurus,

    Is it possible to change the level of ADF Logger in one place in the application so that the newspaper above the threshold values are recorded, similar to the way that we do in Log4j.

    thnks
    11.1.1.5 Jdev

    You use the logging.xml for this file. In the "Application Server Navigator" open the integrated WLS, right-click on it and select "Configure Oracle Diagnostig slaughter". Small opens the correct logging.xml file that you changed through the built-in user interface.

    Timo

  • Why still not appear in the request manager to download?

    I have access to other programs, but still isn't available for download... What is the dealeo?  The App Manager update itself so I am running the latest version.

    I am running Windows 7 64 bit.

    Thank you

    Chris

    Still installs with Premiere Pro.

    http://forums.Adobe.com/message/4397326

  • Questions of JUnit in ADF 11g

    Hello!

    Working in the mangement of the oracle ADF 11 g version in software development and can someone please answer me the following questions, which I'm supposed to work on:

    Had noticed the ADF Essentials and worked on the model of Junit and test of the user interface, applications currently of my concern are:

    1. in the current project that I'm working on not interacts with the database directly since we use the TUXEDO and in this scenario to model how ADF test can be done via Junit?

    2 as a general rule how Junit is useful in the ADF Model Unit Testing, since apart from the data validation test cases and view audits instance object under the module of the Application! can anyone suggest me the approach to manage validations of business logic?

    3. postings as the accession Date must be greater than Date of birth and the amount of withdrawal should be less that the amount of balance etc can be managed in the control of the operation? In this scenario, what is the fundamental difference between the fucntional tests and unit tests?

    4. Finally, what can we do in Junit tests and what can be done in the Junit tests?

    5. What is the coverage of the Code? procedure for making the code coverage in the ADF?

    Please suggest the answers to the following questions, as I am desperately lookin for the solution!

    Concerning
    Fabien

    Fabien,

    I will try...

    (1) I don't know - never used ADF with front Tuxedo.

    (2) I think you can try to test every bit of the code (XML is code, too) that you write. For the validation rules, it is a little more complicated, since in some cases, validation rules are enforced by the database. I gave an example of how you can test a validation with JUnit [url http://www.oracle.com/technology/pub/articles/adf-development-essentials/part5.html] rule in this article.

    (3) I would probably validate these rules in both places (unit tests and functional tests). I have never too concerned about 'this is a unit test or is it a functional test. As long as everything is tested at least once, I'm happy.

    (4) all and nothing, nothing and everything. Question is too broad.

    (5) the code coverage is generally trying to ensure that each line of code is covered by a test. For example, if your code has an if/else block, you want to make sure you had tests that covered both FIS and other sections of the code. There is no direct installation in the ADF for the measurement of code coverage, but Google would point you to some options.

    [Url http://groups.google.com/group/adf-methodology] company ADF methodology group has [url http://groups.google.com/group/adf-methodology/browse_thread/thread/ded6931ab44fe135/c8c75a53ab103766] discussed in the past as well.

    Hope this covers at least the basics for you.

    John

  • Upload Image in ADF 11g

    Hello

    I need help with sending pictures to Oracle DB using ADF 11 g.

    I have gone through the previous posts on the forum but could not get the best of them. :|

    In fact in my application, I need to download the image without using VO. There are some procedures I need to reuse to download the image to DB.
    The scenario is, in our application end-user will be able to upload a picture to our database with some settings reqest suite application.

    On the research forum, it was found that we are not able to extract the path specified to the end users. cannot use the code, as we do in JSP.

    Please provide assistance on the question

    Thanks and greetings
    Maryline Roussel

    Hello...
    Yes...
    Add this two java classes

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;

    import java.sql.SQLException;

    Import javax.faces.context.ExternalContext;
    Import javax.faces.context.FacesContext;

    to import javax.servlet.http.HttpServletResponse;

    Import org.apache.myfaces.trinidad.model.UploadedFile;

    Import oracle.jbo.domain.BlobDomain;

    Import org.apache.myfaces.trinidad.model.UploadedFile;

    public class {FileOperations

    Public synchronized Shared BlobDomain writeToBlobDomain (UploadedFile leader)
    throws SQLException, IOException {}

    InputStream in = file.getInputStream ();
    BlobDomain blobDomain = new BlobDomain();
    OutputStream out = blobDomain.getBinaryOutputStream ();

    ubyte [] buffer = new byte [8192];
    int bytesRead = 0;
    While ((bytesRead = in.read (buffer, 0, 8192))! = - 1) {}
    out. Write (buffer, 0, bytesRead);
    }
    in. Close();

    Return blobDomain;
    }
    synchronized Public Shared Sub downloadFile (String fileName, BlobDomain blobDomain)
    {

    FacesContext facesContext = FacesContext.getCurrentInstance ();
    ExternalContext extContext = facesContext.getExternalContext ();

    Length = blobDomain.getLength ();
    String fileType = MimeTypes.getMimeType (fileName);

    HttpServletResponse response = extContext.getResponse () (HttpServletResponse);
    response.setHeader ("Content-Disposition", "attachment; filename =------"" + fileName + "\" ");"
    response.setContentLength ((int) length.intValue ());
    System.out.println (filetype);
    response.setContentType (fileType);
    try {}
    InputStream in = blobDomain.getBinaryStream ();
    OutputStream out = response.getOutputStream ();

    Byte [] buf = new byte [1024];
    int count;
    While ((count = in.read (buf)) > = 0) {}
    out. Write (buf, 0, count);
    }

    in. Close();
    out. Flush();
    out. Close();
    facesContext.responseComplete ();

    } catch (IOException ex) {}
    System.out.println (ex.getMessage ());
    ex.printStackTrace ();
    }
    }
    }
    -----------------------------------------------------------------------------------------------------
    (2) public class {MimeTypes

    public static String getMimeType (String fileName) {}

    String mime = null;

    Dim ext = fileName.toLowerCase ();
    System.out.println ("in MimeTypes:" + ext);
    If (ext. EndsWith (".pdf")) {mime = ' application/pdf' ;}
    If (ext.endsWith (".doc")) Else {mime = "application/msword" ;}
    If (ext.endsWith (".ppt")) Else {mime = "application / vnd.ms - powerpoint" ;}}
    If (ext.endsWith (".rar")) Else {mime = ' application/octet-stream' ;}
    If (ext.endsWith (".zip")) Else {mime = ' application/zip' ;}
    If (ext.endsWith (".jpg")) Else {mime = ' image/jpeg' ;}
    return of mime;
    }
    }
    -----------------------------------------------------------------------------------------------------

    * & import first class in your java file *.

Maybe you are looking for

  • Email rec'd 'a device began synchronizing with devices connected to your Firefox account' Please explain

    What is happening with my account of Firefox? I received an email as follows: «a device started syncing with devices connected to your account in Firefox» If there is a security problem, Firefox's history on all my computers. Please explain what is h

  • Can I listen to music from Apple on an Apple TV 3

    Can I listen to music on my Apple TV 3 Apple I have a subscription of music Apple... can I listen to music on my Apple TV 3 Apple? With or on iTunes running on my iMac?

  • mouse control, LCD Brightness and sound volume

    Hi, I am designing a VI that allows people with disabilities (with no hands) to use the PC-control with the mouse, the brightness of the LCD screen and the sound volume through several sensors. I found how to do to control the mouse but still cannot

  • How do I? Windows 8 (how the Guide)

    Hey guys,. Knowing that Windows 8 comes out, I noticed several people have questions on how to navigate or use certain features of Windows 8. I'll provide you with a document HERE that should help guide you through the windows 8 and also hopefully an

  • unknown device in HP dm1 4160 ca

    Hello Updated my laptop Pavilion dm1 windows 7 to 8 and can't find a driver for other devices (unknown device) lack driver in Device Manager. Anyone have the same problem. Downloaded all the drivers from the HP site but still the same problem 8. Than