About 129,000 results
Open links in new tab
  1. java.security.acl.Group does not exist in java17. How to use the ...

    Jun 15, 2023 · The Javadoc for Java 1.8 says 'The classes and interfaces in this package have been superseded by classes in the java.security package. See that package and, for example, …

  2. why `java.lang.SecurityException: Prohibited package name: java` is ...

    So a class loaded by the application classloader in the package java.lang, would not have access to the core java.lang package-private stuff. To illustrate this, try to create a class called javax.swing.JButton …

  3. Adding gradle dependencies - Stack Overflow

    Nov 6, 2021 · I have a simple gradle 7.2 project, with a simple kotlin file, running java 11, on ubuntu 20.04 in vs code For my project, I need to add some simple dependencies to java.security such that …

  4. Unable to export a package from java.base module

    Nicolai's answer is correct regarding the techniques necessary to export an otherwise unexported package from the java.base module or from any other module. But if the goal is to use Unsafe, the …

  5. How can I generate an MD5 hash in Java? - Stack Overflow

    5 You can generate MD5 hash for a given text by making use of the methods in the MessageDigest class in the java.security package. Below is the complete code snippet,

  6. java - Setting the security policy file in Eclipse - Stack Overflow

    Jul 23, 2012 · 2 From what I understand from searching around on the internet, if I want to run a java program with a security policy, I would have to type in something like java …

  7. java - IntelliJ says the package does not exist, But I can access the ...

    Nov 6, 2016 · @rc thanks, great link, i kind of knew that, compiler issues warnings, if i use these imports, But why do I get the does not exist error?

  8. how to extract CN from X509Certificate in Java - Stack Overflow

    Mar 18, 2014 · I want to preferably use only what is bundled with java security package. From this answer, I tried: static void parseCert(String filename) throws FileNotFoundException, …

  9. How to add Multiple signatures in XML using JAVA

    Nov 2, 2020 · I have the following method that uses the JDom library, the Apache XML Security library, the org.w3c.dom package and the java.security package to sign a single XML file using data from a …

  10. java - How can I resolve "sun.security.x509" is not visible when ...

    May 19, 2020 · We can't tell you how to address the first problem since you haven't shown us the code where you are using classes in the sun.security.x509 package. A possible workaround might be to …