Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8361475

New java.security.Security.getProperties() method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • security-libs
    • None

      We know that the System class provides a getProperties() method to retrieve all system-level properties at runtime. However, the java.security.Security class does not seem to expose a similar getProperties() method for fetching all configured security properties.
      Is there a potential reason why this capability is not provided via the Security class? One possible reason could be preventing sensitive security information.
      The reason for this enhancement bug, in some environments, direct access to the custom java.security file may not be possible, and having a way to inspect/debug all active security properties at runtime would be very helpful.

            Unassigned Unassigned
            ksreenath Konanki Sreenath
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: