Rob Winch (Migrated from SEC-1536) said:
It would be nice for Spring Security to be able to run as a JAAS Subject. This is particularly useful when using the JaasAuthenticationProvider since it is likely some legacy code has security requirements that depend on the Subject being populated. I have attached a patch that implements, tests, and updates documentation to provide this functionality. Feedback on the patch is welcome.