I feel I’ve possibly stumbled on an FP pattern. I wish to understand what its name and field of applicability… Read more An FP pattern. What is it? Is it a Thrush?
Code snippet to retrieve user credentials anywhere in the code: SecurityContextHolder .setStrategyName(SecurityContextHolder .MODE_INHERITABLETHREADLOCAL); Object principal = SecurityContextHolder .getContext().getAuthentication() .getPrincipal(); principal… Read more H2 retrieve Spring Security user credentials anywhere in the code