JDK-8329796 : Update JAAS reference guide with Subject::callAs and Subject::current examples
  • Type: Sub-task
  • Component: docs
  • Sub-Component: guides
  • Priority: P3
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2024-04-05
  • Updated: 2024-08-29
  • Resolved: 2024-08-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23Resolved
Description
These replacement APIs were added in JDK 18, but AFAICT we have not documented them in the JAAS Guides. We should show how to use the new APIs with Structured Concurrency.

The doAs and getSubject APIs are deprecated for removal, so we should add warnings about them to the guides.

Text TBD, this is mostly a placeholder for now.
Comments
The JGSS guide might also mention calling JAAS APIs to execute a JGSS API. Remember to include it as well.
05-04-2024