Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2014
    Posts
    1
    Rep Power
    0

    Default enable MD2 algorithm only for a particular place & not for the whole JVM

    Is it possible to enable & disable "jdk.certpath.disabledAlgorithms" property programmatically. I want to remove all disabled Algorithms for some time and later I will enable it.

    Or is it possible to enable only for a particular place & not in a JVM level. I want that Algorithm need to be enabled for a piece of code, but I don't want it to the remaining part of the application.

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,105
    Rep Power
    6

    Default Re: enable MD2 algorithm only for a particular place & not for the whole JVM

    That property disables it JVM-wide, so no.

    If you want a particular part of your application to work under different JVM configuration rules, then you should isolate that part of your application away from the main application and run it in its own private JVM thus creating two separate components to your application stack. The application becomes slightly more complicated that way, but at least you have the amount of control you need to have.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. How to enable Excel Images?
    By Repe Sorsa in forum Apache POI
    Replies: 0
    Last Post: 03-22-2013, 09:49 AM
  2. how to enable JButton?
    By sandeep43 in forum AWT / Swing
    Replies: 4
    Last Post: 05-30-2011, 07:50 AM
  3. How to enable Multibyte in netbeans
    By madhav1351 in forum Advanced Java
    Replies: 2
    Last Post: 10-01-2010, 04:59 PM
  4. Enable next-gen plug-in
    By james.wendell in forum New To Java
    Replies: 0
    Last Post: 10-09-2009, 02:34 PM
  5. How to enable tasklist-view?
    By fredand44 in forum Eclipse
    Replies: 1
    Last Post: 12-18-2008, 10:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •