About 50 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. Unable to export a package from java.base module

    26 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 …

  3. Access `sun.security.x509` in JDK 11 without modules?

    The question is somewhat related to How to generate a self-signed certificate using only JDK supported classes? tl,dr; is there a way to compile library using sun.security.x509 package under JDK 11 …

  4. security - why `java.lang.SecurityException: Prohibited package name ...

    I created a class "String" and placed that in package "java" [ actually i wanted to create java.lang to see which class is loaded by classLoader as Once a class is loaded into a JVM, the same ...

  5. Exception in thread "main" java.lang.SecurityException: Prohibited ...

    Sep 16, 2014 · You can't place new content into the java.lang package. It's reserved by the language because that's where the core Java content already resides. In fact, everything within the java.lang …

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

    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,

  7. Java 11 internal ssl security provider compilation failure

    May 12, 2020 · I'm migrating an old Java (Maven) project to Java 11. I've changed the pom.xml to support Java 11 (maven compiler plugin with <release>11<release>) and executed mvn clean …

  8. java - package org.springframework.security.crypto.bcrypt does not ...

    Jun 14, 2022 · I rarely compile directly, but I do recall that (at least in older versions of Java) one would specify the path to the .jar like javac -cp '.:/spring-security-crypto-5.5.1.jar' BCrypt.java. I doubt its …

  9. java - The import org.springframework.security cannot be resolved ...

    Dec 14, 2019 · The import org.springframework.security cannot be resolved Asked 6 years, 1 month ago Modified 6 years, 1 month ago Viewed 20k times

  10. Difference between java.util.Random and java.security.SecureRandom

    Jun 15, 2012 · However, the way the code is currently using java.util.Random is this - It instantiates the java.security.SecureRandom class and then uses the SecureRandom.nextLong() method to obtain …