JDK-8276807 : Provide Subject.callAs(Supplier,Callable) method
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.security
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-11-08
  • Updated: 2022-05-18
Related Reports
Relates :  
Description
The Subject used in JAAS may be dynamic and only determined by the Subject::current() is called. A new method will make this easy.
Comments
See https://github.com/openjdk/jdk/pull/5024#issuecomment-954067160 on a use case.
08-11-2021