2 ms·
JAAS is on the death row and will be gone. https://openjdk.org/jeps/411 https://openjdk.org/jeps/411 https://openjdk.org/jeps/486 https://openjdk.org/jeps/486
by pjmlp 2y ago
JAAS is on the death row and will be gone.
https://openjdk.org/jeps/411 https://openjdk.org/jeps/411
https://openjdk.org/jeps/486 https://openjdk.org/jeps/486
- cryptonector 2y agoHmmm, but Login and Subject and related classes stick around, right?
- pjmlp 2y agoI wouldn't count on that, since Java 9 there has been a more agressive approach towards deprecated code, hence why @deprecated(forRemoval=true) is now possible. https://docs.oracle.com/en/java/javase/24/docs/api/java.base/javax/security/auth/Subject.html https://docs.oracle.com/en/java/javase/24/docs/api/java.base... => "The following methods in this class for user-based authorization that are dependent on Security Manager APIs are deprecated for removal: "
- cryptonector 2y agoApache code uses Login extensively. It uses it as a convenience kinit. Deprecating that will take time. The page you linked shows some methods of Subject are deprecated, but the things Apache code relies on are not going away.