JDK 18 |
---|
18Resolved |
New methods `javax.security.auth.Subject::current` and `javax.security.auth.Subject::callAs` have been created as replacements for existing methods `javax.security.auth.Subject::getSubject` and `javax.security.auth.Subject::doAs`. The `javax.security.auth.Subject::getSubject` and `javax.security.auth.Subject::doAs` methods are deprecated for removal because they depend on Security Manager APIs deprecated in JEP 411.