Java Post-Operation Plugin

We are running Sun One Directory Server 5.2.
I have the distinct honor of inheriting a number of Post-Operation plug-ins written by a person who just left the company. Unfortunately, this person was also the only person that knew how they worked.
These plug-ins were written with Java. The only documentation I have found thus far have been for c programs. Is there a manual available with how to build/deploy post-operation plug-ins written in Java?

Sun Directory Server 5 (and 6.0) only exports a C API for its plug-in interfaces.
I've never heard of any customer having written DS post-operation plug-ins in Java. I'm surprised and curious to hear that it actually happened.
Regards,
Ludovic.

Similar Messages

  • Uninstalled Java 6, installed Java 7, keep getting requests to install Java SE 6 plugin. Why?

    Because of the security issues with Java, I uninstalled Java 6 (using various terminal commands) and installed Java 7 from Oracle's website. Looking at /Library/Internet Plug-Ins, I can see that JavaAppletPlugin.plugin is there, and Get Info tells me that it is part of Java 7 Update 09.
    However, when I use Safari to try out a Java test page, or use one of the Java-based programs that I need to run for work, I get a message that says, "To open “PluginProcess,” you need a Java SE 6 runtime. Would you like to install one now?"  (PluginProcess is replaced by the program name if I am running a Java program.) If I click "Install", the Apple version of Java 6 gets installed.
    This doesn't make sense to me. Why would Java 7 need the Apple Java 6 environment? And why doesn't Safari or other Java based programs recognize that the Java 7 JavaAppletPlugin.plugin is on my computer already?
    Although I'm not really an IT person, I am pretty handy with the Terminal and command line operations, so if fixing this means using the command line, I'm good with that.
    Thanks!

    I think I've found a solution to the problem that Java Applications doesn't use Java 7. This seems to work for me. Try it and please confirm if it works for you.
    1.
    Install Java SE Development Kit 7u9 from Oracle
    http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576 .html
    2.
    Execute something that triggers the prompt to install Java SE 6. for example i web site using java applet. And follow through with the installation. (after this you will have three java versions: Java6 32-bit, Java6 64-bit, Java7 64-bit)
    3.
    Open a new terminal window and execute the following commands.
    $ cd /System/Library/Frameworks/JavaVM.framework/Versions
    $ sudo rm CurrentJDK
    Password: ********
    $ sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/ CurrentJDK
    $ sudo ln -s CurrentJDK 1.7
    $ sudo ln -s CurrentJDK 1.7.0
    Note: I don't know if the last two lines are necessary, but I just tried to follow the existing pattern.

  • How I can enable Java ssv helper plugin silently for win7 users with IE9

    here is what happens:
    when I deploy java 7.21 on win7 users, after deployment when users try to Open their IE they get a login screen and apparently it is related to Java ssv helper plugin. it is trying to enable it and needs admin account/password. I am trying to deploy this to about 3000 computers and I dont want all of them start calling helpdesk for this.
    your help is appreciated.

    The following article describes how to create a shared preference file. You can either create preferences that individual users can override, or create locked preferences that individual users cannot override.
    http://kb.mozillazine.org/Lock_Prefs
    (Note: I don't have any personal experience with these files, but another volunteer might post some additional tips and tricks.)

  • OAM Post Authentication plugin

    Hi All,
    Can anybody please suggest me how to develop and configure Post Authentication plugin.
    Thanks

    Hi Sagar,
    Thanks For the Reply.
    Once the user accesses the protected resource then I have to store that UserID in some DataBase.
    And one more thing, Can we write plugin's in Java. As i know we can write in c but not sure about the java compatability.
    Thanks

  • Post Auth Plugin classloader?

    Does anyone know which classloader is used to instantiate access manager PostAuthentication plugins.
    Is it:
    A) The same class loader that is used to load AMLoginModules?
    B) The class loader for the Access Manager Webserver Agent?
    C) Some other classloader?
    I cannot figure it out from the docs, however some debugging has proven interesting:
    I have written a simple post auth plugin and put it in a jar file (MyPostAuth.jar), I'm trying to deploy it like so:
    1) put that MyPostAuth.jar into <Access Manager>/web-src/WEB-INF/lib/
    2) redeploy the Access Manager
    3) restart my webserver
    I'm getting class not found when Access Manager tries to load the post authentication plugin.
    java.lang.ClassNotFoundException: com.SuggarGlider.TestPostAuthPlugin
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:169)
            at com.sun.identity.authentication.service.LoginState.getPostLoginProcessInstance(LoginState.java:3102)
              ....To me this looks like Access Manager is NOT using the thread context class loader to load these classes.
    Am I missing something?

    If you used the JES installer to install and configure AM then the J2EE containers classpath was modified and the AM server classes are loaded in the web app's parent classloader. This means they can't see your custom classes in the web-app classloader. You will need to jar up your classes and place them somewhere on the server and then modify the appserver classpath to point to your custom classes. Alternatively, you can deploy Access Manager 7.1 as a single war file. To do this you will need to download AM 7.1 directly from the Sun download site and follow the instructions in the AM 7.1 technical note on deploying AM as a single war file. This seems to be the direction opensso (I.E AM 8) is going and if you do this AM should be able to pickup your custom classes in the war file.

  • How can I get the Java 6 web plugin back?

    The latest update to Mountain Lion has broken the website I use to work from home remotely (a java web applet provided by the company I'm working for).  This is because the Oracle Java 7 web applet has severe performance issues when instantiating an RDP link that render it unusably slow.
    Currently, the advice being sent out to the 25,000 employees of the above organisation is to use a Windows desktop.
    I myself *need* to be able to work remotely from home, ideally on a Mac and from within OS X. 
    Is there any way I can restore the previous Java 6 web plugin to Safari?

    Excellent, thank you for that.  I had managed to replace the old web plugin by using Time Machine (and finding out that the plugin was previously a soft-link), but the link above gives a lot more detail and is really the "proper" solution.

  • I only see the Java Deployment Toolkit plugin listed in the Add-ons

    Hello everyone,
    I only have Java Deployment Toolkit plugin 7.0.110.21 listed and enabled, and not Java Platform SE.
    I tried the steps under: http://kb.mozillazine.org/Java#Enabling_Java, but nothing works.
    Help! :-)

    hello, in some instances firefox may not be able to detect that the java plugin is installed, because oracle made an error in registering the java plugin for mozilla-based browsers in version 7u10 & 7u11... this will apparently just be fixed with its 7u13 release.
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8005410
    for different workarounds & troubleshooting steps in the meantime see http://kb.mozillazine.org/Java#Windows_installation_issues

  • Get Page Count of PDF using Publication Post Processing Plugin

    Hi,
    I am using the publiching functionality of BOXI 3.1 to create a large volume of PDFs.  I have a report that I am publishing using a publication with a post processing plugin applied after distribution.  I need to get the total page count of the pdf and store this value in the database.  Becuase I am already using a post processing plugin after distribution, it would be ideal to extract it there...but I cannot figure out how to get the value at this point. 
    Currently we parse the actual binary pdf file, but I know that Crystal and BOXI know this total page count and some point in the processing cycle.  Does anyone know how to get at the total page count of each pdf/report instance?
    Thanks,
    Kristina

    I would post-process the PDF file as you're doing.
    The total page count isn't metadata - it's something computable from the report instance, that is lost after the PDF is generated.
    Trying to work with that would lead to a more complex workflow - i.e., schedule to report format, open the report instance using a reporting SDK, calculate the total page count, export using the reporting SDK to PDF, add the PDF to the publication artifact and remove the report instance, other steps I may have missed....
    Sincerely,
    Ted Ueda

  • Java or operator statement and expressions

    So I tried to simplify some code this morning using the java or operator and it doesn't seem to work. It went something like this:
    if ((time < 4) || (time > 10))}
    val = aVariable}
    else val=0;
    What I end up with is zero until 4 but after 10 the val does not return to 0.
    I hope this makes sense to somebody out there. I just went back to a stack of if else statements to solve the problem.
    Thanks

    I'm not sure what the problem is (except that your curly brackets are wrong), but this opacity expression works:
    if ((time < 4) || (time > 10)){
    0
    }else{
    100
    Dan

  • Help with post-operation Plug-in

    Hi,
    I am currently developing an post-operation plug-in for the Netscape Directory Directory. Does any body know whether I can determine the LDAP operation result in my post-operation plug-in? This information is needed because my plug-in should only perform its task when the LDAP operaton completed successfully.
    eRic

    Which exact version of the Directory Server are you using?
    -Bernhard

  • Oracle Forms "Post" operation equivalent

    Hello,
    In Forms, there is a "Post" operation which is like a Commit but doesn't commit datas. Is there an equivalent in ADF?
    I need to do a "false commit", to get database constraint errors but without doing commit.

    Thanks for answers. My use case is this :
    User delete a row but doesn't commit yet. My application must test if rows of an other table has no fk pointing to this data. I must prevent "ORA-02292: integrity constraint <constraint name> violated - child record found" error before the commit, on each row deletion.
    I could create a custom validator and create specific VOs to check integrity constraint in child tables, but I want to avoid it, has it is to heavy to develop this in each form we have to create (about 700 forms). Have you got suggestions for a more generic solution?
    Akash, what do you mean by "test plan feature"? I don't know it. Maybe a link to a documentation or blog post speaking about it could help me?

  • Post operation processing initiated

    Hi,
    We are implementing Oim 11.1.1.15.4
    We have created a request template for providing access to resource ABC
    I have attached default Beneficiary Manager Approval process with this template at operation level.
    There is no other approval associated with this.
    Request level and template level approval are Auto Approval.
    I haven't applied any validation yet.
    After the beneficiary manager has approved the request the request state is changed to "Post Operation Processing Initiated"
    The task is pending with "Internal User"
    Kindly suggest where it is getting stuck?
    How to resolve it?
    Thanks in advance.

    check if you have any post operation job dependent on it which is in pending state.
    Post Operation Processing Initiated(Below definition given in Oracle doc)
    After the actual requested operation is completed, if there exists any additional operation that needs to be executed as post-processing, the request engine moves the request to the Post Operation Processing Initiated stage, before initiating those operations. This happens after Operation Completed status.

  • Post Operation Processing Initiated status after completion of approvals

    Hi All,
    I have implemented an approval work flow that has two levels of approvals. The two levels of approvals are completed successfully, but the status of the request is not changing to "Request Completed". The status of the request is showing as "Post Operation Processing Initiated".
    Please let me know what needs to be done for the status of the request to be changed to "Request Completed".
    Thanks in advance for your help.

    Check for any manual provisioning task assigned to system admin or any other user according to the configuration you have provided and complete it. "Post Operation Processing Initiated" status comes after operation level approval gets completed and some provisioning task is pending. If everything is completed check for Task to object status mapping and change it to Provisioned as suggested by Rajiv.
    If you still could not find what is the reason then connect to OIM db and query OSI and ORC tables to check the task which is in pending status.
    Edited by: Durgaprasad on Jan 28, 2013 8:58 PM

  • Need help : how to send 3 parameters over http using Java POST

    I am trying to sending some data to agency company over http using Java POST
    They need 3 parameters and some contents like below
    1. Cmd : cmd=_RequestInsertNewLead
    2 Live : False
    3 XMLData : 3C%3Fxml+version%3D%........
    I already have XML done ,but I don't know how to send these guy over http
    is that like
    this.out = new DataOutputStream(os);
    out.writeBytes("Cmd");
    out.writeBytes(" cmd=_RequestInsertNewLead");
    out.writeBytes(" Live ");
    out.writeBytes("False");
    anyone could give help :)

    First of all, are you getting any exception?
    You didn't put much logging information in your code.
    You can also try this.Instead of doing sos.println(".....") try to build the output string using string buffer.
    Like:
    StringBuffer sb = new StringBuffer();
    sb.append("Some output");
    sb.append("More output");
    sos.print(sb.toString());
    sos.flush();Let me know if this works.

  • JCVM are the java card operating system?

    in some articles I read teh following:
    JCVM acts like an operating system. the implementation of JCVM =java card operating system?
    in some articles I read: the Java Card Operating system are JCVM, APIs,JCRE, native Methos, and another classes.
    help me please. thanks.

    The problem can be explained this way.OS and natvie function is the lowest level of the articture,which play the role of os like Windows,JCVM
    is higher,its function is platform indepent,JCRE,or javacard Framework,is the platform for the application,Industry Add-on Classes is the interface supplied by others,for instance,the javacard is used as SIM card,the class is the Sim interface,javacard applet is the applet user developed.
    Apis play the role of package,for example,Throwable � class,it is the parent class of all the exceptions.

Maybe you are looking for

  • I am unable to see my purchased books or preordered books in the iBookstore

    iBookstore. Can anyone help?  They have had me take my phone and iPad back to factory settings, delete iBooks, and sign in and out of my account and nothing has worked and still the purchase tab shows no purchased or preorders.  Any help appreciated

  • How set up alert Monitor with available to promise profile?!

    Gurus, I read a lot of notes about alert profile but I ´ve been in doubt. I set the monitor alert in /sapapo/amon1: - Selected alert type - Selected some products and my allocation - Assigned alert profile - defined the bucket Check instruction: - Ac

  • HDCP - Error on Playback

    I haven't used my Apple TV for many months and then just recently went to try it.  I am getting the error message I see everyone else talking about.  I bought the Apple TV and HDMI cable at the apple store in December of 2011.  Does Apple have a fix

  • Displaying sid &  serial# of current user

    Hi, I want to display sid and serial# of currently connected user but the sid & serial# should be displayed right after connection. I mean, once a user enters username/pass and press enter, before the SQL prompt, sid & serial# should be display. I tr

  • Access deneied 7-zip when installing LaserjetP1102w on Windows 7

    As title says, I get an "access denied" in a 7-Zip block  message when I am extracting the files in the printer. This printer worked fine on my old Dell computer, but now I have a newer version. still a 2011 model. I have adminster rights. I installe