mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-02-25 06:34:59 +00:00
This commit makes so that fromOidcConfiguration throws the same exception caused by chain as other configuration methods. Specifically, if parsing throws a RuntimeException, this method will now wrap it in an IllegalArgumentException as other configuration methods do. This makes specific sense here since the RuntimeException is almost certainly caused by a malformed configuration set handed in as a method parameter. Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>