Applications using Java API 11 g MRI are precarious?

Hello

I was reading "Developers Guide for Oracle 11g IRM server" and I found this:

Cryptography keys: an application that uses the Java API of MRI has the ability to get sealed content Cryptography keys. The MRI Java API stores these keys in memory of the calling process, so that they are used. The MRI Java API debugging, or do a memory dump could compromise the key material. Do not use MRI Java API if the environment in which the application runs is loose or not reliable (for example, a laptop).

HotFolders and IRM Wrapper using MRI Java API, aren't they? Does this mean that these applications are not secure? I install these applications in a real environment. However, provide advice to guide doubt me.

Thanks in advance.

The documentation is currently fairly conservative.

Re: Hot issues. If HF is configured to use the Java API, then it is true that the keys will be temporarily stored in its memory and Java is more susceptible to reverse engineering, say, C++. But the hot issues in use of production will generally be an application on the server side and not work on laptops to the end user. So the access to this application of HF running (and its own encrypted cache) can be fixed by using normal operating system access controls. If you are always worried about it, then do not use the API, use default web services. In this case no key material is always sent to the HF and all the sealing is made by the IRM server.

Re: Wrapper. It does not use the Java API if never receives or hiding of key material.

HTH,

Martin

Tags: Fusion Middleware

Similar Questions

  • Creation of posts of Siebel using JAVA API in IOM

    Hi Experts,

    I need to create positions of Siebel using JAVA API.

    I try to incorporate OIM 11 g-Siebel connector, but this connector is not able to create new positions of siebel.

    Please tell me where to find the info/examples of use of the api or how to best integrate?

    Thanks in advance

    Kiran

    This is useful.

    I was able to create a post of siebel using the model given here,

    Creating New position in Siebel using Siebel DataBean

  • Search for users using java API IOM 11 with the value of null field

    Hello

    I find user using java api findUsers (HashMap hash), but I need get all users where a custom field is equal to null

    Example:

    HashMap userHash = new HashMap();
    userHash.put ("USR_UDF_CUSTOM", "NULL");
    userData tcResultSet = userOps.findUsers (userHash);

    Someone help me?

    Do not use this search functionality. The user that:

    UserManager usermgr = Platform.getService (UserManager.class);
    Criteria of SearchCriteria = new SearchCriteria ("Custom Label", null, SearchCriteria.Operator.EQUAL); Suppose USR_UDF_CUSTOM label is personalized
    List of users of = usermgr.search (null, null, criteria);
    for (user: user) {}
    perform the action here
    }

    -Kevin

  • I have a new PC with Windows 10 Pro and I leave iTunes every time I gt the flollowing message. "One or more applications use scriping of iTunes interface. Are you sure you want to exit? "All help to stop this would be appreciated.

    I have a new PC running Windows Pro 10 and everytime I close iTunes I get the following message.

    "One or more applications use iTunes script interface. Are you sure you to quit smoking? -If you have nothing will close the application using the script interface and a 20 20 second timer starts. "

    I was wondering if someone can help me with a solution to this?

    What third-party software is running on your computer? Last.FM is one that comes to mind.

    TT2

  • Application using Java SDK 5.0 compatible with the lower SDK version?

    Hello

    I wanted to know if I'm developing an application using the Blackberry Java SDK 5.0, it would work on slot version 4.3 or 4.2.1? If the current application has features not available on the previous version of course.

    I mean, if I develop an application of basic as a HelloWorld with SDK 5.0, this app works on a phone with SDK 4.2.1?

    Thank you

    Damien.

    The only time where I tried it, I received an error of compatilbility so I would say not in my experience.

    My suggestion is to build with backward compatibility in mind and remember that what you build for 4.2 will work in 5.0 and so on.

  • Numbers that come out to "1n7" instead of "1.7" when you use Java APIs

    I have an RTF template, and on the text in Word form field Options dialog box, I Format rule number field on "#, # 0.00000. When this model will be run in a concurrent program, or from the plug-ins office, numbers to format correctly in the form "1.7". But, when I run with a model with the Java API or the viewer of documents common region in the OPS, the numbers are formatted in the form "1n7". I get a "n" instead of a ".".

    Any ideas on what could be the cause?

    My calling code is below.

    Thanks in advance,
    Kurz
    OADBTransactionImpl oadbTrx = ( OADBTransactionImpl ) pageContext.getApplicationModule( webBean ).getOADBTransaction();
    DataTemplate dt = new DataTemplate( oadbTrx.getAppsContext(), "XXCUS", "XX_CNQCBSR" );
    ByteArrayOutputStream bos = new ByteArrayOutputStream();
    Hashtable htp = new Hashtable();
    htp.put(
         "P_AUCTION_HEADER_ID",
         this.auctionId
         );
    dt.setParameters( htp );
    dt.setOutput( bos );
    dt.processData();
    
    DocumentHelper.exportDocument(
              pageContext,
              "XX",
              "XX_CNQCBSR_MAIN",
              "en",
              "US",
              new ByteArrayInputStream( bos.toByteArray() ),
              "PDF",
              null
              );

    Maybe check the value of the profile option "ICX: numeric characters?

  • PartialTriggers application using java code?

    We can perform a partial Trigger on a component using java code?

    For example,.
    I have a textBox element and an attribute of partialTriggers link commandButton.If in the text box for the commandButton control, he gets the renderer every time I click the commandButton control.

    Can I get the same thing by writing some piece of java code inside the listener of the CommandButton action?

    Kind regards
    Lokesh.

    If you bind the element to an attribute of bean (i.e. attrXYZ), you can use

    RequestContext.getCurrentInstance().addPartialTarget(attrXYZ);
    

    in the listener to update it.

    Timo

  • WebService application using java for beginner?

    Hi all.

    I am beginner in java and netbeans.
    before, im using php in the programming code...

    My question is how to configure the database for netbeans, how to run an application in the browser...
    example of application is as web Commerce.

    hope everyone of you can help me solve this problem. tQ

    Buy yourself a book. This isn't something you can learn on a forum. And Web services and web apps are not for beginners. Took me about 6 years of Java before that I've never done a web service and more than 10 before I did a web - app, but that was certainly more to be overtaken by other possibilities. However, it is definitely a lot to learn: HTML to start, then the Servlet specification, then selection of a stack of technology, for example, JSF, GWT, JSP, Struts,...

    Your questions don't make sense. NetBeans and databases have virtually nothing to do with the other. The applications do not run in web browsers, unless you count applets and ActiveX, that are not part of most web applications. You must also decide if you're talking about web apps, which have a large component of oriented browser or Web services, which provide an API based on SOAP to other applications.

  • Open built in the workspace Addons in LabVIEW application using the API

    I do Veristand project who uses a lot o custom code for additional features (database Custom logging, several preconfigured stimulus profile running on action of the user, custom logging datafile, customized SCADA-like display of the State of the system (pipes, valves, pumps, etc.)). On any other user of hand interface for the control of the program must be simple, because operators use (the only options, no change in operation) and similar to the previous system solution (which was HMI, touch screen with multiple monitors).

    I plan to do LabVIEW custom application for GUI which communicates with the gateway Veristand and target using API functions.

    However, I want to implement some already existing in the workspace tools in LabVIEW code, such as monitor of the alarm. There are "Open workspace tool" API functions in the labVIEW Veristand API function list. This function requires the toolpath to workspace as an argument. How can I set path for those built in the workspace tools? I'm not managing to find with the simple search.

    You may want to consider this topic

    http://forums.NI.com/T5/NI-VeriStand/open-workspace-tool/m-p/2253154

    Concerning

    -Eric

  • Limit my bandwidth downloading the applications using the API to control traffic and QoS

    I used QoS and Traffic Control API as TcAddFlow and TcAddFilter to control my bandwidth usage download applications.

    We manipulate TC_GEN_FLOW, to send and receive FLOWSPEC parameters.

    Now, I want to set the exact limit to 5 Mbps, what are the value that I need to set for TokenBucketSize and TokenRate to limit bandwidth to 5 Mbps FLOWSPEC structure?

    Code snippet:

    newFlow-> ReceivingFlowspec.DelayVariation = QOS_NOT_SPECIFIED;
    newFlow-> ReceivingFlowspec.Latency = QOS_NOT_SPECIFIED;
    newFlow-> ReceivingFlowspec.MaxSduSize = QOS_NOT_SPECIFIED;
    newFlow-> ReceivingFlowspec.MinimumPolicedSize = QOS_NOT_SPECIFIED;
    newFlow-> ReceivingFlowspec.PeakBandwidth = POSITIVE_INFINITY_RATE;
    newFlow-> ReceivingFlowspec.ServiceType = SERVICETYPE_NETWORK_CONTROL;
    newFlow-> ReceivingFlowspec.TokenBucketSize = ?;
    newFlow-> ReceivingFlowspec.TokenRate =?;

    newFlow-> SendingFlowspec.DelayVariation = QOS_NOT_SPECIFIED;
    newFlow-> SendingFlowspec.Latency = QOS_NOT_SPECIFIED;
    newFlow-> SendingFlowspec.MaxSduSize = QOS_NOT_SPECIFIED;
    newFlow-> SendingFlowspec.MinimumPolicedSize = QOS_NOT_SPECIFIED;
    newFlow-> SendingFlowspec.PeakBandwidth = POSITIVE_INFINITY_RATE;
    newFlow-> SendingFlowspec.ServiceType = SERVICETYPE_NETWORK_CONTROL;
    newFlow-> SendingFlowspec.TokenBucketSize =?;
    newFlow-> SendingFlowspec.TokenRate =?;

    Thank you & best regards

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • Create the new virtual machine using Java API vCloud

    Hi guys,.

    I am trying to create the new virtual machine in TIME, but I've stuck here. The API I'm using is vcloud-java-sdk - 1.0.jar.

    Could you please show me a code snippet how to do this?

    For now I do it like this:

    RecomposeVAppParamsType recomposeVAppParamsType = new RecomposeVAppParamsType();

    List the items < CompositionItemParamType > = recomposeVAppParamsType.getItem ();
    ReferenceType vappTemplateVMRef = new ReferenceType();

    // ??? seems that new reference to the new virtual machine should be here. But how to create this VM
    CompositionItemParamType compositionItemParamType = new CompositionItemParamType();
    compositionItemParamType.setSource (vappTemplateVMRef);

    Items.Add (compositionItemParamType);
    ReferenceType vAppRef is Vdc.getVdcByReference (vcloudClient, vdcRef) .getVappRefByName ("vApp_Websrv");.

    Vapp.getVappByReference (vcloudClient, vAppRef) .recomposeVapp (recomposeVAppParamsType);

    One day before I played with Web Services SDK, which is much easier to understand. I was able to create the vApp and VMs in vSphere. Is it possible to import machines virtual vSphere to vCloud? Should what API I use for this?

    Thank you

    Hello

    You cannot add a new empty virtual machine in a paralytic.

    Instead, you can add a virtual machine from an existing vapp, vapptemplate.

    To import a vsphere vm to vcloud.

    Import vsphere vm as VAPP in vcloud. VMWVimserver-> importVmAsVApp()

    The importation of vsphere vm, as vAppTemplate, in vcloud. VMWVimserver-> importVmAsVAppTemplate()

    See also the example of ImportVmAsvAppTemplate.java, which is part of the vcloudjavasdk group.

    Kind regards

    Rajesh Kamal.

  • Form 10G - Saving Blob on server applications using Java.

    Hello

    Forms 10g using, I'm looking for a solution to retrieve the Blob from my database (10 gr 2) and save it to the application server on the "Oraclehome\Apache\Apache\htdocs" directory so that users can download/view it via the browser.
    first of all, I used WebUtil to download files on the client and it worked perfectly.
    However, for some reason, my client does not want to download the file on his client.

    So here I am, I've created a java class called "saveBlobToFile" that receives a string as a parameter to write it to a file.
    I imported this class in forms where I used the following code.
    Everything works fine, but I need to convert my RAW in HEX to move to Java string and converted again to a Byte [].
    I order to speed up the process, I would avoid these 2 conversions.
    Don't you think that it is possible to move the RAW format (which is just a stream of bytes) to java? Either by converting it to ORA_JAVA. JACOB byte? Either passing as an object and cast in java to a byte array?

    Thanks in advance,
    Tim.

    PS: I based my development on this article
    https://support.Oracle.com/CSP/main/article?cmd=show & type = not & ID = 70110.1


    /***************
    FORMS
    ***************/
    DECLARE
    BLOB MY_BLOB;
    RAW BUFFER (32767).
    DIRECTORY OF THE AMT: = 10000; -32767;
    INTEGER POS: = 1;
    MYBLOBFILE ORA_JAVA. JOBJECT;
    BEGIN
    SELECT DOCUMENT
    IN MY_BLOB
    OF WRK_LOB_STORE
    WHERE ID = 1;

    LOOP
    DBMS_LOB. READ (MY_BLOB, AMT, POS, BUFFER);

    IF POS = 1 THEN
    MYBLOBFILE: = SAVEBLOBTOFILE. NEW ();
    SAVEBLOBTOFILE. WRITETOFILE (MYBLOBFILE, "C:\test.txt", RAWTOHEX (BUFFER));
    ON THE OTHER
    SAVEBLOBTOFILE. APPENDTOFILE (MYBLOBFILE, "C:\test.txt", RAWTOHEX (BUFFER));
    END IF;

    WHEN the AMT RELEASE < 10000;
    POS: = POS + AMT;
    END LOOP;
    END;

    /***************
    JAVA
    ****************/

    package saveblobtofile;

    to import java.io.FileNotFoundException;
    to import java.io.FileOutputStream;
    import java.io.IOException;

    public class saveBlobToFile {}

    private FileOutputStream fio;

    public saveBlobToFile() {}
    }

    ' public void writeToFile (String fileName, String, stringBuffer) survey FileNotFoundException.
    IOException {}

    FIO = new FileOutputStream (fileName);
    FIO. Write (hexStringToByteArray (stringBuffer));
    FIO. Close();

    }

    ' Public Sub appendToFile (String fileName, String, stringBuffer) throws FileNotFoundException,.
    IOException {}

    FIO = new FileOutputStream (fileName, true);
    FIO. Write (hexStringToByteArray (stringBuffer));
    FIO. Close();

    }

    public static ubyte [] hexStringToByteArray (String s) {}
    int len = s.length ();
    Byte [] = new ubyte data [len / 2];
    for (int i = 0; i < len; I += 2) {}
    data [I / 2] = (byte) ((Character.digit (s.charAt (i), 16) < < 4))
    + Character.digit (s.charAt(i+1), 16));
    }
    return data;
    }


    Public Shared Sub main (String [] args) {}
    saveBlobToFile saveBlobToFile = new saveBlobToFile();
    }
    }

    A very simple solution is to 'adjust' the WEBUTIL_FILETRANSFER package and create a new procedure DB_TO_AS by combining the existing DB_TO_CLIENT and procedure CLIENT_TO_AS (withou the intermediate step to save the file on the client)

  • Error with TaskSearchFilter using Java API by calling custom

    I created a Java component customized for use in LC process Mgr.

    On invoke the process containing the component, the component will fail with the following message:

    2011-02-28 16:28:31, 260 ERROR [com.adobe.workflow.AWS] cannot force the object: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter@cf7e441 type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter of the class

    Code is pretty basic:

    ServiceClientFactory myFactory = ServiceClientFactory.createInstance ();

    TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager (myFactory);

    TaskSearchFilter filter = new TaskSearchFilter();
    filter.addCondition (TaskSearchingConstants.pSTATUS, Operator.EQUALS, "3");

    The list of result < TaskRow > = queryManager.taskSearch (filter);

    Error seems to happen with the creation of the list. This code works fine when run as a standalone file in Eclipse or Netbeans, but not in the component.

    All required jars are included and are listed in the component.xml class path.

    Someone at - it ideas?

    Thank you

    David

    Looks like a problem of ClassLoader.  Usually this is caused by the presence of a class (TaskSearchFilte) in your component on the server.   In other words, there are two copies of the class of TaskSearchFilte - yours and already in LiveCycle - and they are in conflict.

    If this is the case, the solution is simple:

    • remove the jar files containing the TaskSearchFilte (and LiveCycle customers) jar of your device file.  You may need in the way of construction, so your code can compile - but you don't need them in the jar of the final element.
    • remove references to these jars of the class-path of the component.xml file entry
    • Add a section import-package to your component.xml file.  This will not reference the jar files, but the package names.  For example:

    com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter

  • Set the member formula using java api

    Hello

    I'm trying to define the formula by member using the java code and here is the code snippet I use. But some how, the formula is somewhere in cache, but not updated in the server of the ESS. I have appropriate privileges to update the data in Essbase. Any thoughts would be helpful. Thank you.

    try {}

    IEssCube = formulaCube

    olapSvr.getApplication (appName) .getCube (cube);

    IEssCubeOutline outline = formulaCube.openOutline (false, false, true);

    If (contour! = null) {}

    IEssMember requiredMember = outline.findMember (member);

    If (requiredMember! = null) {}

    System.out.println ("formula:" + requiredMember.getFormula ());

    requiredMember.setFormula ("[RL. LTV. CSE] + [RL. LTV. OPEX.0071]");

    System.out.println ("value according to formula:" + requiredMember.getFormula ());

    requiredMember.refreshPropertyValues ();

    requiredMember.updatePropertyValues ();

    System.out.println ("after updatevalues:" + requiredMember.getFormula ());

    }

    Outline.Save ();

    Outline.Verify ();

    outline.updatePropertyValues ();

    }

    It works if you restructure prior to closing.

    Outline.Save ();

    outline.restructureCube (IEssCube.EEssRestructureOption.KEEP_ALL_DATA);

    Outline.Close ();

    In theory, it should only do a restructuring outline only.

    See you soon

    John

  • Problem streaming of videos on Bold 9700 using java API but works on browser

    Hi all. I'm new to the BlackBerry development and having some problems streaming videos on the BlackBerry Bold 9700 by using RTSP.

    BlackBerry JDE: 5.0.0.14

    BlackBerry smartphone: BlackBerry Bold 9700 v5.0.0.296 (Platform 5.1.0.83)

    Streaming server: Darwin Streaming Server

    Connection: WiFi business

    File format: H264/3GPP/400 Kbits / s / 30 fps

    When I load the app in the BlackBerry device, it seems that nothing happens. But when I type the URL in the blackberry browser, he immediately start blackberry player and play the video.

    Here is a code snippet that I use:

    try {
          String videoFile="rtsp://172.24.7.115:554/dmc/3GPP_H264_400kbps_30fps.3gp";
          player = Manager.createPlayer(videoFile);
          player.start();
    } catch(MediaException me) {
    } catch (IOException io) {
    }
    

    I appreciate your help.

    Thank you.

    Your code does not work at least, because you tell the operating system to use the cell interface for access to the server that has a non-public IP address. You must add '; interface wifi ="at the end of the URL. This will tell the OS to connect via WiFi.

Maybe you are looking for