703 views
0

Which of the following should you do in development, but not in production code, when working with security contexts?

 
Get the context with AccessController.getContext
Null check any obtained context
Use AccessController.doPrivileged with a PrivilegedAction and context
Print a stack trace in the exception handler
Shubham Haldkar Changed status to publish 18, October ,2022
0

Print a stack trace in the exception handler

Shubham Haldkar Changed status to publish 18, October ,2022
Shopping Basket