2 ms·
Hmmm, but Login and Subject and related classes stick around, right?
by cryptonector 1y ago
Hmmm, but Login and Subject and related classes stick around, right?
- pjmlp 1y 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 1y 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.