SEC-889: Can't set a SecurityContextHolderStrategy instance for SecurityContextHolder directly #1144
Labels
in: core
An issue in spring-security-core
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
type: jira
An issue that was migrated from JIRA
Milestone
Jürgen Heil(Migrated from SEC-889) said:
Currently i can put a custom strategy to hold the SecurityContext via SecurityContextHolder.setStrategyName(String). By SecurityContextHolder.initialize() the class try to load the custom strategy. When the custom class isn’t in the classpath i get a ClassNotFoundException. I found no way to set the instance directly.
The text was updated successfully, but these errors were encountered: