mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-31 06:33:29 +00:00
Previously a ClassCastException was thrown if the type was invalid. Now a flag exists on AuthenticationPrincipal which indicates if a ClassCastException should be thrown or not with the default being no error.