JNI classes to access the Security Filter features of the C API

Looking for help with managing security filters using the JAPI. Has anyone developed JNI classes to access the Security Filter features of the C API? If so, would you be willing to share your experience and/or code? Time is of the ssence. Thanks in advance for any help.-- Posted for Martin [email protected]@pacbell.net

Are you talking about the Requirements Gateway?  It is a separate product from NI that will do what you are looking for.  I haven't used it so I am not sure of the API chain to make it work.  Take a look and see if that is what you were thinking of.
Hope that this helps,
Bob Young
Sorry, I just re-read your original post and see that you are looking to also use the Requirements Gateway, so you obviously know about it.  I don't know what the API changes were that made it work so I am not going to be much help.
Sorry about posting before getting the correct information from the original.
Bob Young
Message Edited by Bob Y. on 08-24-2006 04:54 PM
Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
DISTek Integration, Inc. - NI Alliance Member
mailto:[email protected]

Similar Messages

  • ERROR : Application not authorized to access the restricted API

    hello every body
    I m doin an application related to mmapi and i have written a programm for capturing a live audio , but when i run this programm i get an error
    "Application not authorized to access the restricted API"
    i m fed up of debuggin it , i m not able to find ne solution , n i m stuck up . If ne one of u have got the smae proble m and have got ne solution pls tell me and pls help me
    thanks

    This could come when the midlet is not signed and gets installed as untrusted application.
    Try signing the midlet using verising java object signing class 3 RSA certificate. Do not use DSA cert as it is not supported by wtk.
    Regards,
    Raja Nagendra Kumar,
    C.T.O,
    Offshore Excellence - J2ME
    www.tejasoft.com

  • Accessing the photoshop api from flash.. within a photoshop window?

    I should maybe ask this in scripting.. but it's some ways related to the SDK. I dont want to crosspost.. if the feature exist, it's very likely that SDK developpers are aware of this (ps: i havent downloaded the sdk since the beta)
    I had the opportunity to show a bit our project to Mike Downey from Adobe at FITC/Toronto as it's related in some way to Apollo. We use realbasic for this application (flash/html/css/javascript) and we also use Realbasic, even with all the imperfections the software has, to create visual tools to call some Applescript.
    That's how i implemented the fake palette i mentionned here or in scripting forum. To me, there was a huge benefit compared to implementing a dialog with the SDK (wich doesnt support developping a palette anyway).
    What i would be really happy to see is an integration like it has been done with jsfl in flash (extensibility). Kind of a way for us to really have a common language for intranet, production tools and final release (web or cd). (leverage the skills like Adobe say to sell Apollo)
    So in extensibility in case some of you are not aware of the feature, you can create a window that has a flash content in it and there is a mecanism to call the javascript api of flash (authoring environnement). By exemple, you can have a window in flash authoring environnement that behave like other windows (ie. dockable and all)... that has a flash interface and communicated with a database.. so you can have a script that connect to a database and then create shapes in the authoring environnement... It's a very great tool for integrated production environnement..
    So, Mike Downey mentionned to me that i was present in CS3!? (when i told him that i would have been great to have Apollo/Flash being able to access the Photoshop Api) Is it true? Where is it documented? I remember seing it mentioned in the SDK survey... Or maybe it's just possible to do it via external command..so it's not integrated in a window of photoshop)?
    Sorry if it's not clear... but i would be really happy to hear more about that... It would be great to have this even if it's not Applescript compatible (i could use xml tools in the api of flash)...

    Well.. i finally have found the feature in the sample folder of javascript scripting of cs3. You really can have a flash interface to call you scripts.
    That will be a HUGE improvement for javascript scripter and i would not be surprised that it will encourage people to develop more tools.
    The big minus for me, unless it's something i havent found yet, it looks like the dialog is only available from calling the script.. so the dialog is modal... really not as cool as Flash extensibility integration, but that's a start. :(
    I repost this on Scripting forum as i now know it's related to scripting...
    I still have hope for something more advanced... the "KnowHow" thing (wich i havent tried yet) http://labs.adobe.com/technologies/knowhow/) is really a good exemple of palette/feature integration that i wish was possible in photoshop...

  • Conditional Mapping with script using BlOCKPROC to access the HFM API

    Hello,
    following problem. During the mapping/validation I need to map certain custom1 members to None if the Top Member is None and let it be if not None. This allocation depends on the account. Reading through the documentation I stumbled across conditional mapping.
    So in the Custom1 map type Like I defined following:
    Rule Name: C1_Script
    Rule Definition: CXXX*
    TargetCustom1: #Script
    In the script I try to achieve to get the Custom1 Top member for the account! The HFM API offers this function(fGetCustomTopMember) and with varValue(14) I get my TargetAccount. So everything I need seems to be there.
    Only problem is I need to use the BlOCKPROC to access the HFM API provided through the adapter, but either way won't work.
    Trying "Set API.IntBlockMgr.IntegrationMgr.PobjIntegrate = BlOCKPROC.ActConnect("LookUP")" throws an object required error.
    Trying
    Dim BLOCKPROC
    Set BLOCKPROC = CreateObject("upsWBlockProcessorDM.clsBlockProcessor")
    BLOCKPROC.Initialize API, SCRIPTENG
    throws me a type mismatch for "BLOCKPROC.Initialize".
    I am kinda at my wits end. Any help/clue is much appreciated.
    Ahh, yes the different writing BlOCKPROC and BLOCKPROC is correct!
    Thanks!

    Hello Tony,
    Many thanks for your answer. Just one last question. The event AftProcMap(strLoc, strDim) gives me the Dimension? Just how do I get the account?
    Can you point me to the right direction and I'll figure out the rest!
    Thanks a lot!

  • Fuba or Class to access the variants of a test data container in ABAP

    Hi there,
    I think, that I might remember, that there was once a piece of code (Function call or static class method) that allowed one to access the variants in a testdata container within ABAP.
    Anybody ever heard of this before?
    Thank you & cheers,
    Gregor

    You can use class "cl_apl_ecatt_tdc_api" for reading test data.

  • Accessing the Admin API via Linux (and hopefully Python)

    I have been looking through the available documentation and past forum
    entries but I see nothing really on point.
    It is possible to have a complete GW system on Linux, from server to
    client. So if it is possible to administer a GW system from Linux using
    Console One, it should be possible to access the API from Linux.
    Can anyone point me towards the appropriate documentaion? Thanks
    Bob

    Bob Brandt wrote:
    > Michael Bell wrote:
    >> Yes, but there is no admin API exposed for Linux. Period.
    >>
    >> SOAP can do message store or address book related stuff. And some client
    >> option stuff. It cannot create/delete/rename users, or do most things
    >> Admin API (Win32 only) can do.
    >
    > That is very disappointing. So even though I can have a completely
    > non-M$ system, pride myself on not sending a cent to Redmond; Novell is
    > forcing me to use their competitor's (M$) inferior OS. Even the GW API
    > Gateway is not really supported anymore!
    >
    > Thats seems stupid and udderly backwards, in other words typically Novell!
    >
    > Bob
    All a matter of resources, Bob. They've had an admin api under
    development for years, just didn't have time to make it ready for Bonsai.
    You are correct, however you must have a win32 box (or try wine, but I
    doubt that's worth it). One friend of mine then wrappered the whole
    thing in a SOAP service, so he could mostly avoid thinking about windows.

  • Accessing the Windows API

    All,
    We're trying to wrap the windows API PostMessageA method using a Forte
    C Project library.
    I would like to have some detailed discussions with anybody who has done
    this or wrapped other
    windows API calls.
    We've worked around this by creating a C DLL which provides an
    interface to PostMessageA,
    but the better solution is to call the API directly.
    Thank you for your help,
    Keith Kroeger

    Yes, we tried this, $top=10&$skip=0 works for the following url
    https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$top=10&$skip=0
    It is only when we add $expand=VirtualNetworkAdapters,
    the server returns the mentioned error response - 
    URL for which the server returns the 500 error -
    https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters&$top=10&$skip=0
    Can
    you point to the error logs for Windows Azure Pack and SPF ?

  • How do I use multiple classes to access the same object?

    This should be staightforward. I have and object and I have multiple GUIs which operate on the same object. Do all the classes creating the GUIs need to be inner classes of the data class? I hope this question makes sense.
    Thanks,
    Mike

    public final class SingletonClass {
    private static SingletonClass instance;
    private int lastIndex = 10;
    public final static SingletonClass getInstance()
    if (instance == null) instance = new SingletoClass();
    return instance;
    public int getLastIndex() {
    return lastIndex;
    }1) This won't work since one could create a new SingletonClass. You need to add a private constructor. Also, because the constructor is private the class doesn't have to be final.
    2) Your design isn't thread-safe. You need to synchronize the access to the shared variable instance.
    public class SingletonClass {
        private static SingletonClass instance;
        private static Object mutex = new Object( );
        private int lastIndex = 10;
        private SingletonClass() { }
        public static SingletonClass getInstance() {
            synchronized (mutex) {
                if (instance == null) {
                    instance = new SingletonClass();
            return instance;
        public int getLastIndex() {
            return lastIndex;
    }if you are going to create an instance of SingletonClass anyway then I suggest you do it when the class is loaded. This way you don't need synchronization.
    public class SingletonClass {
        private static SingletonClass instance=new SingletonClass();
        private int lastIndex = 10;
        private SingletonClass() { }
        public static SingletonClass getInstance() {
            return instance;
        public int getLastIndex() {
            return lastIndex;
    }If you don't really need an object, then you could just make getLastIndex() and lastIndex static and not use the singleton pattern at all.
    public class SingletonClass {
        private static int lastIndex = 10;
        private SingletonClass() { }
        public static int getLastIndex() {
            return lastIndex;
    }- Marcus

  • Java class that accesses the operating systems shell?

    i have been told by my boss to find a class that will allow him to send and recieve information to the operating systems shell, as in dos, if i do not find the solution i am to be fired, please help me....im jp...but for real help me out

    i have been told by my boss to find a class that will
    allow him to send and recieve information to the
    operating systems shell, as in dos, if i do not find
    the solution i am to be fired, please help me....im
    jp...but for real help me outIt doesn't seem that you have put yourself in a very good situation if you are about to be fired.
    At any rate I think you want to use the Process class. Look at the API documentations for java.lang.Runtime and java.lang.Process. Using Process you can launch other programs (like system ones that run in the console) and you can read and write to the process using the input and ooutput streams of the process.
    If you have more questions pleas be sure to post your formatted code so that we can be of more assistance.
    Good luck to you and have a happy day.

  • JNI FindClass Error: Using the Invocation API  from visual C++

    I am using JNI invocation api in microsoft visual c++ to invoke java. When I use the FindClass method, I get a return value of 0. I have verified that the class "a" exists and believe have set the java class path appropriately. A valid jvm and jenv are created. The program fails at the FindClass call and returns 0.
    std::string classPath = "c:\\work\\java;C:\\j2sdk1.4.2_08;C:\\j2sdk1.4.2_08\\bin;C:\\j2sdk1.4.2_08\\lib";
         vmArgs.classpath = classpath;
         jint res = JNI_CreateJavaVM(&jvm, (void**)(&jenv), &vmArgs);
         if (res < 0)
              cout << "Error!! Cannot create jvm" << endl;
    jclass jFixEngineClass1 = jenv->FindClass("a");
         if (jFixEngineClass1 == 0)
              cout << "Error could not find a class" << endl;
         else
              cout << "a class found" << endl;
    thanks in advance,
    hcg

    Jschell,
    Thanks for your help.
    I found the error. I was using JDK1_1InitArgs for my vm_args. Since, I am using JDK 1.4, the classpath I was setting was not getting picked up. I changed the vm_args type as in the code below and it worked.
    JavaVMInitArgs vmArgs;
         JavaVMOption options[1];
         char classPathDef[1024];classPathDef[0] = '\0';
         sprintf(classPathDef, "%s", "-Djava.class.path=");
         sprintf(classpath, "%s%s", classPathDef, NYSE_FIX::userClassPath.c_str());
         options[0].optionString = classpath;
         cout << "Option string is:" << options[0].optionString << endl;
    vmArgs.version = 0x00010004;
    vmArgs.options = options;
    vmArgs.nOptions = 1;
    vmArgs.ignoreUnrecognized = JNI_TRUE;
         jint ret = JNI_GetDefaultJavaVMInitArgs(&vmArgs);

  • Getting generated class files using the compiler api??

    I am writing a compiler/IDE for java, and i use the new JavaCompiler API
    (javax.tools.JavaCompiler)
    i want to ask, is it possible to get the generated class file(compiled file) names??
    can anyone help me with this, read at the documentation and i have no idea which one is used to do such thing..
    Or is it impossible??
    Thanks, please guide me on this..

    E.D.-inc wrote:
    I am writing a compiler/IDE for java, and i use the new JavaCompiler API
    don't.
    i want to ask, is it possible to get the generated class file(compiled file) names??
    yes, probably (after all, other tools can do it). Don't ask me how though, I've never had a need to.
    can anyone help me with this, read at the documentation and i have no idea which one is used to do such thing..
    no. Someone else reading the documentation for you won't help you any. Read it yourself, you might learn something.

  • How can we access the java API from the BO report

    Post Author: kusammurali
    CA Forum: JAVA
    Hi,
    Pls clarify my doubt
       Busines Objects Developer suit comes with either JAVA SDK or .NET SDK  COM/VISUAL BASIC SDK . am i right?
       By Using visual basic we can customize the report  (Tools--->Macros  and create VB macro)
        What is the process of accessing  .NET or JAVA SDK ? is there any separate editor for java and .net ?
    Thanks
    Murali.

    Using object tags is the correct way and only way to download the plugin and let the client decide whether he can download it r not. There is no way to install automatically
    I dont think there is a way to install automatically without a user intervention coz, it can open the floodgates for potential hackers.
    Can u cite an example about which programs can be installed automatically and why do u want the plugin to be installed automatically?
    ciao

  • How to access the parent class variable or object in java

    Hi Gurus,
    I encounter an issue when try to refer to parent class variable or object instance in java.
    The issue is when the child class reside in different location from the parent class as shown below.
    - ClassA and ClassB are reside in xxx.oracle.apps.inv.mo.server;
    - Derived is reside in xxx.oracle.apps.inv.mo.server.test;
    Let say ClassA and ClassB are the base / seeded class and can not be modified. How can i refer to the variable or object instance of ClassA and ClassB inside Derived class.
    package xxx.oracle.apps.inv.mo.server;
    public class ClassA {
        public int i=10;
    package xxx.oracle.apps.inv.mo.server;
    public class ClassB extends ClassA{
        int i=20;   
    package xxx.oracle.apps.inv.mo.server.test;
    import xxx.oracle.apps.inv.mo.server.ClassA;
    import xxx.oracle.apps.inv.mo.server.ClassB;
    public class Derived extends ClassB {
        int i=30;
        public Derived() {
           System.out.println(this.i);                  // this will print 30
           System.out.println(((ClassB)this).i);  // error, but this will print 20 if Derived class located in the same location as ClassB
           System.out.println(((ClassA)this).i);  // error, but this will print 20 if Derived class located in the same location as ClassA
        public static void main(String[] args) { 
            Derived d = new Derived(); 
    Many thanks in advance,
    Fendy

    Hi ,
    You cannot  access the controller attribute instead create an instance of the controller class and access the attribute in the set method
    OR create a static method X in the controller class and store the value in that method. and you can access the attribute by 
    Call method class=>X
    OR if the attribute is static you can access by classname=>attribute.
    Regards,
    Gangadhar.S
    Edited by: gangadhar rao on Mar 10, 2011 6:56 AM

  • Reg accessing the webi reports from visual C#

    Hi,
        I m using visual studio 2005 c#.Can some one throw lights on how to access the webi reports using this environment....
    Thanks & Regards
    Rakul Alagu.

    Thank you for you reply! So there is no way to access a Crystal Reports Server from an arbitrary application using URLs out of the box? I would have to implement this "automated access" feature inside the server by myself. Is this correct?
    If this is the case, I think I will do the whole report generation without a dedicated Crystal Reports Server. I have compared different alternatives for replacing the old RDC component of the C++ application described above. I think the best way would be to replace it via the JRC API of CR4E 2.0. In this case, I would have to access the Java API via JNI or by calling an external Java program, which generates and exports the reports.
    In both cases (CR Server vs. JRC API) I would have to implement new application logic. But a dedicated Crystal Reports Server needs to be maintained and administered... And I think the Crystal Reports Server would be a bit oversized for my purposes (generating and exporting reports)...
    If somebody has got other suggestions for replacing the RDC component (CR XI R2) inside a C++ application in order to use this application under Linux, I would be thankful .

  • How do I access the EC Embedded Controller firmware level with wmi win32?

    Hi
    I have used the Win32 classes to access the Bios level, model, serial and asset number
    The only data I cannot find is the EC firmware level
    I cannot find it in any of the WIN32 classes
    WIN32_BIOS
    WIN32_BASEBOARD etc
    Does anyone know if this accessible through the WIN32 classes?

    Maybe this is what you mean. I just copied the code out of WMI Code Creator. Although I downloaded an MS Word document from this link
    SMBIOS Support in Windows which has information that you may want to read. The first image below is a table from the document. 2nd image and 3rd image are WMI Code Creator launched Console which is displaying info you may want. I don't know what EC firmware
    level is.
    Imports System
    Imports System.Management
    Imports System.Windows.Forms
    Namespace WMISample
    Public Class MyWMIQuery
    Public Overloads Shared Function Main() As Integer
    Try
    Dim searcher As New ManagementObjectSearcher( _
    "root\WMI", _
    "SELECT * FROM MS_SystemInformation")
    For Each queryObj As ManagementObject in searcher.Get()
    Console.WriteLine("-----------------------------------")
    Console.WriteLine("MS_SystemInformation instance")
    Console.WriteLine("-----------------------------------")
    Console.WriteLine("Active: {0}", queryObj("Active"))
    Console.WriteLine("BaseBoardManufacturer: {0}", queryObj("BaseBoardManufacturer"))
    Console.WriteLine("BaseBoardProduct: {0}", queryObj("BaseBoardProduct"))
    Console.WriteLine("BaseBoardVersion: {0}", queryObj("BaseBoardVersion"))
    Console.WriteLine("BiosMajorRelease: {0}", queryObj("BiosMajorRelease"))
    Console.WriteLine("BiosMinorRelease: {0}", queryObj("BiosMinorRelease"))
    Console.WriteLine("BIOSReleaseDate: {0}", queryObj("BIOSReleaseDate"))
    Console.WriteLine("BIOSVendor: {0}", queryObj("BIOSVendor"))
    Console.WriteLine("BIOSVersion: {0}", queryObj("BIOSVersion"))
    Console.WriteLine("ECFirmwareMajorRelease: {0}", queryObj("ECFirmwareMajorRelease"))
    Console.WriteLine("ECFirmwareMinorRelease: {0}", queryObj("ECFirmwareMinorRelease"))
    Console.WriteLine("InstanceName: {0}", queryObj("InstanceName"))
    Console.WriteLine("SystemFamily: {0}", queryObj("SystemFamily"))
    Console.WriteLine("SystemManufacturer: {0}", queryObj("SystemManufacturer"))
    Console.WriteLine("SystemProductName: {0}", queryObj("SystemProductName"))
    Console.WriteLine("SystemSKU: {0}", queryObj("SystemSKU"))
    Console.WriteLine("SystemVersion: {0}", queryObj("SystemVersion"))
    Next
    Catch err As ManagementException
    MessageBox.Show("An error occurred while querying for WMI data: " & err.Message)
    End Try
    End Function
    End Class
    End Namespace
    La vida loca

Maybe you are looking for

  • Can't uninstall iTunes program due to missing itunes.msi file.

    I am having trouble updating my iTunes on my netbook PC. This is the error message I get when trying to unistall iTunes - the feature you are trying to use is on a network resource that is unavailable. Click ok or try again or enter an alternate path

  • How can i write the floats value in Unitronics vision230 plc using modbus Ethernet

           How can i write the Float value in unitronics Vision230 PLC usinsg modbus ethernet (MB Ethernet Master Query.vi) I  read and write  the 32 bit register,  for e.g i want to write the 23.45 value on 2nd add. of MF. And MF register is 32 bit regi

  • Purchase Order Download ALE Config for automation

    We need to automate the current PO idoc creation message download whenever a PO is created , changed or deleted. We have set up an output type Z005 for it and manual creation of idocs from the Purchase Order works fine. We need to automate it though.

  • Converting EssCmd to mxl - INCBUILDDIM

    Hi, We've started to look into converting our esscmd process to mxl using cmd2mxl. The first issue we've run into is that the IncBuildDim command lines failed to be converted. Below is a copy of one of our dim update processes in esscmd: Login "local

  • 3.6.15 is a disaster, I can't browse websites after entering HELP?

    Since downloading 3.6.15 I have nothing but trouble. I can enter websites, but then everything locks up. This includes your support program, so I am now on IE. Vernon Jorgensen